Surprise! We've been running on hardware provided by BuyVM for a few months and wanted to show them a little appreciation.
Running a paste site comes with unique challenges, ones that aren't always obvious and hard to control. As such, BuyVM offered us a home where we could worry less about the hosting side of things and focus on maintaining a clean and useful service! Go check them out and show them some love!
Description: sys-devel/x86_64-multilib-toolchain build problem
Submitted on September 2, 2024 at 01:01 PM
Expires on October 2, 2024 at 01:01 PM (1 week from now)

make.conf (Text)

ACCEPT_KEYWORDS="~arm64"

CC=clang
CXX=clang++
AR=llvm-ar
#NM=llvm-nm
RANLIB=llvm-ranlib
OBJCOPY=llvm-objcopy

COMMON_FLAGS="-mcpu=apple-m2 -O3 -pipe -mbranch-protection=standard -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-default-version=4 -gdwarf-4 -Werror=odr -Werror=strict-aliasing -frecord-gcc-switches" # -gline-tables-only" # -Werror=lto-type-mismatch
CFLAGS="${COMMON_FLAGS} -flto=thin"
CXXFLAGS="${COMMON_FLAGS} -flto=thin"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
LDFLAGS="${LDFLAGS} -Wl,-zpack-relative-relocs -flto=thin -Wl,--defsym=__gentoo_check_ldflags__=0"
FEATURES="splitdebug compressdebug installsources qa-unresolved-soname-deps"

RUSTFLAGS="-C linker-plugin-lto -C opt-level=3 -C target-cpu=apple-m2 -C link-arg=-Wl,-z,pack-relative-relocs"

MAKEOPTS="-j26"
PORTAGE_NICENESS=15

LC_MESSAGES=C.utf8
GENTOO_MIRRORS="https://mirror.netcologne.de/gentoo/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://ftp.halifax.rwth-aachen.de/gentoo/"

PORTAGE_TMPDIR="/tmp"
DISTDIR="/home/distfiles"
PORTAGE_ELOG_CLASSES="${PORTAGE_ELOG_CLASSES} qa"
LINGUAS="en et et_EE pl de"
L10N="en et"
UNINSTALL_IGNORE="${UNINSTALL_IGNORE} /usr/lib/debug /usr/src/debug"
COMMON_FLAGS="-march=native -mcpu=native -O3 -pipe -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ggdb"
#COMMON_FLAGS="-march=native -mcpu=native -O3 -pipe -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ggdb -fno-strict-aliasing"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
# Remove ThinLTO and -z pack-relative-relocs ignored, latter of which isn't supported on arm64 yet for binutils at 2023-10-01
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0"
1
sys-devel/x86_64-multilib-toolchain gcc force-gcc
CC=gcc
CXX=g++
AR=ar
#NM=nm
RANLIB=ranlib
OBJCOPY=objcopy