Code: Select all
Portage 3.0.77 (python 3.13.11-final-0, default/linux/amd64/23.0, gcc-15, glibc-2.42-r5, 6.12.74-gentoo-x86_64 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.12.74-gentoo-x86_64-x86_64-11th_Gen_Intel-R-_Core-TM-_i7-1165G7_@_2.80GHz-with-glibc2.42
KiB Mem: 32608864 total, 14052904 free
KiB Swap: 33554428 total, 33554428 free
Timestamp of repository gentoo: Sun, 29 Mar 2026 15:46:02 +0000
Head commit of repository gentoo: 7fa3d4a77498d179c72218ae0b9dccc17b3c0a2d
Head commit of repository brave-overlay: 3a86dc94b4d869280db509576801f1434498a805
Timestamp of repository guru: Sat, 28 Mar 2026 18:02:08 +0000
Head commit of repository guru: 966b3375ebb50240701b6dff21c8ae49dbddf166
Head commit of repository pf4public: 7dc25150354ce593df3cfcdaac9b43c8730f71da
Head commit of repository xlibre: 2c4eb3a8577dd7efbc149ee01bb48a56c7b3b0f2
sh bash 5.3_p9
ld GNU ld (Gentoo 2.46.0 p1) 2.46.0
app-misc/pax-utils: 1.3.10::gentoo
app-shells/bash: 5.3_p9::gentoo
dev-build/autoconf: 2.72-r6::gentoo
dev-build/automake: 1.18.1::gentoo
dev-build/cmake: 4.1.4::gentoo
dev-build/libtool: 2.5.4::gentoo
dev-build/make: 4.4.1-r102::gentoo
dev-build/meson: 1.9.2::gentoo
dev-java/java-config: 2.3.4::gentoo
dev-lang/perl: 5.42.0-r1::gentoo
dev-lang/python: 3.13.11::gentoo, 3.14.2::gentoo
dev-lang/rust-bin: 1.92.0::gentoo
llvm-core/clang: 20.1.8::gentoo, 21.1.8::gentoo
llvm-core/lld: 20.1.8::gentoo
llvm-core/llvm: 20.1.8::gentoo, 21.1.8::gentoo
sys-apps/baselayout: 2.18::gentoo
sys-apps/openrc: 0.63-r1::gentoo
sys-apps/sandbox: 2.46::gentoo
sys-devel/binutils: 2.46.0::gentoo
sys-devel/binutils-config: 5.6::gentoo
sys-devel/gcc: 15.2.1_p20260214::gentoo
sys-devel/gcc-config: 2.12.2::gentoo
sys-kernel/linux-headers: 6.18::gentoo (virtual/os-headers)
sys-libs/glibc: 2.42-r5::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: git
sync-uri: https://github.com/gentoo-mirror/gentoo.git
priority: -1000
volatile: False
sync-git-verify-commit-signature: true
brave-overlay
location: /var/db/repos/brave-overlay
sync-type: git
sync-uri: https://gitlab.com/jason.oliveira/brave-overlay.git
masters: gentoo
volatile: False
guru
location: /var/db/repos/guru
sync-type: git
sync-uri: https://github.com/gentoo-mirror/guru.git
masters: gentoo
volatile: False
n8hth
location: /home/gjy5069/git-GJY/n8hth
masters: gentoo
volatile: True
pf4public
location: /var/db/repos/pf4public
sync-type: git
sync-uri: https://github.com/PF4Public/gentoo-overlay.git
masters: gentoo
volatile: False
xlibre
location: /var/db/repos/xlibre
sync-type: git
sync-uri: https://github.com/X11Libre/ports-gentoo.git
masters: gentoo
priority: 100
volatile: False
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live compress-index config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://gentoo.osuosl.org/ https://mirrors.rit.edu/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en"
MAKEOPTS="-j8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="bzip2"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X acl alsa amd64 bash-completion bluetooth branding bzip2 cet cleartype corefonts crypt cups dbus elogind ffmpeg gdbm gnome-keyring gui iconv ipv6 jpeg jpg libtirpc multilib ncurses nls nvidia ogg openmp pam pcre png pulseaudio readline seccomp ssl test-rust tk truetype type1 unicode vim-syntax vorbis vulkan xattr xvmc zlib" ABI_X86="64" ADA_TARGET="gcc_15" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl avx512vbmi f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oncore skytraq superstar2 tsip tripmate tnt" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-3" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" QEMU_SOFTMMU_TARGETS="arm x86_64 sparc" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby32 ruby33" SANE_BACKENDS="hp" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Code: Select all
[18/18] : && /usr/bin/x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,stack-size=0x10000000 -Wl,--dependency-file=CMakeFiles/zig2.dir/link.d CMakeFiles/zig2.dir/zig2.c.o CMakeFiles/zig2.dir/compiler_rt.c.o -o zig2 -L/usr/lib/llvm/20/lib64 -Wl,-rpath,/usr/lib/llvm/20/lib64 zigcpp/libzigcpp.a /usr/lib/llvm/20/lib64/libclang-cpp.so.20.1 /usr/lib/llvm/20/lib64/liblldMinGW.so /usr/lib/llvm/20/lib64/liblldELF.so /usr/lib/llvm/20/lib64/liblldCOFF.so /usr/lib/llvm/20/lib64/liblldWasm.so /usr/lib/llvm/20/lib64/liblldMachO.so /usr/lib/llvm/20/lib64/liblldCommon.so /usr/lib/llvm/20/lib64/libLLVM-20.so && :
* ZBS: compiling with: -j8 -Dtarget=native -Dcpu=native --release=safe --prefix /usr/ --prefix-exe-dir bin/ --prefix-lib-dir lib64/ --prefix-include-dir include/ --libc /var/tmp/portage/dev-lang/zig-0.15.1/temp/zig_libc.txt --summary all --verbose --build-file /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1/build.zig --zig-lib-dir /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1/lib/ --prefix //usr/lib64/zig/0.15.1/ --prefix-lib-dir lib/ -Dno-langref=true -Dstd-docs=false -Ddebug-extensions=false --release=fast -Denable-llvm=true -Dstatic-llvm=false -Dconfig_h=/var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build/config.h --prefix stage3/
/var/tmp/portage/dev-lang/zig-0.15.1/temp/environment: line 1803: 99 Segmentation fault "${ZIG_EXE}" "${@}"
* Failed to run command: ./zig2 build -j8 -Dtarget=native -Dcpu=native --release=safe --prefix /usr/ --prefix-exe-dir bin/ --prefix-lib-dir lib64/ --prefix-include-dir include/ --libc /var/tmp/portage/dev-lang/zig-0.15.1/temp/zig_libc.txt --summary all --verbose --build-file /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1/build.zig --zig-lib-dir /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1/lib/ --prefix //usr/lib64/zig/0.15.1/ --prefix-lib-dir lib/ -Dno-langref=true -Dstd-docs=false -Ddebug-extensions=false --release=fast -Denable-llvm=true -Dstatic-llvm=false -Dconfig_h=/var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build/config.h --prefix stage3/
* ERROR: dev-lang/zig-0.15.1::gentoo failed (compile phase):
* ZBS: compilation failed
*
* Call stack:
* ebuild.sh, line 143: Called src_compile
* environment, line 3367: Called zig_src_compile '--prefix' 'stage3/'
* environment, line 5223: Called die
* The specific snippet of code:
* DESTDIR="${BUILD_DIR}" nonfatal ezig build "${args[@]}" || die "ZBS: compilation failed";
*
* If you need support, post the output of `emerge --info '=dev-lang/zig-0.15.1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-lang/zig-0.15.1::gentoo'`.
* The complete build log is located at '/var/log/portage/dev-lang:zig-0.15.1:20260329-175415.log'.
* For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lang/zig-0.15.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/zig-0.15.1/temp/environment'.
* Working directory: '/var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build'
* S: '/var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1'
Code: Select all
* 39;49;00mPackage: dev-lang/zig-0.15.1:0.15
* 39;49;00mRepository: gentoo
* 39;49;00mMaintainer: bratishkaerik@landless-city.net proxy-maint@gentoo.org
* 39;49;00mUpstream: https://codeberg.org/ziglang/zig/issues
* 39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux llvm llvm_slot_20
* 39;49;00mFEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
* ZIG_EXE: "not-applicable"
* ZIG_VER: 0.15.1
* ZIG_TARGET: native
* ZIG_CPU: native
* Using /usr/lib/llvm/20 for CBUILD LLVM 20
* Checking for at least 4 GiB RAM ...
34;01m[ 32;01mok34;01m ]
>>> Unpacking source...
>>> Unpacking 'zig-0.15.1.tar.xz' to /var/tmp/portage/dev-lang/zig-0.15.1/work
>>> Source unpacked in /var/tmp/portage/dev-lang/zig-0.15.1/work
>>> Preparing source in /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1 ...
* Applying zig-0.15.1-reduce-command-new-writer.patch ...
34;01m[ 32;01mok34;01m ]
* Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1"
* Build directory (BUILD_DIR): "/var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build"
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1 ...
* ZBS: configured with:
* -j8 -Dtarget=native -Dcpu=native --release=safe --prefix /usr/ --prefix-exe-dir bin/ --prefix-lib-dir lib64/ --prefix-include-dir include/ --libc /var/tmp/portage/dev-lang/zig-0.15.1/temp/zig_libc.txt --summary all --verb
ose --build-file /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1/build.zig --zig-lib-dir /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1/lib/ --prefix //usr/lib64/zig/0.15.1/ --prefix-lib-dir lib/ -Dno-langref=true
-Dstd-docs=false -Ddebug-extensions=false --release=fast -Denable-llvm=true -Dstatic-llvm=false -Dconfig_h=/var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build/config.h
* Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1"
* Build directory (BUILD_DIR): "/var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build"
cmake -C /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DZIG_SHARED_LLVM=ON -DZIG_USE_LLVM_CONFIG=ON -DZIG_HOST_TARGET_TRIPLE=x86_64-linux-gnu -DCM
AKE_FIND_USE_PACKAGE_ROOT_PATH=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build/gentoo_toolchain.cmake /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15
.1
loading initial cache file /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 15.2.1
-- The CXX compiler identification is GNU 15.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring zig version 0.15.1
-- Found llvm: /usr/lib/llvm/20/lib64/libLLVM-20.so (Required is at least version "20")
-- Found clang: /usr/lib/llvm/20/lib64/libclang-cpp.so.20.1 (Required is at least version "20")
-- Found lld: /usr/lib/llvm/20/lib64/liblldMinGW.so;/usr/lib/llvm/20/lib64/liblldELF.so;/usr/lib/llvm/20/lib64/liblldCOFF.so;/usr/lib/llvm/20/lib64/liblldWasm.so;/usr/lib/llvm/20/lib64/liblldMachO.so;/usr/lib/llvm/20/lib64/l
iblldCommon.so (Required is at least version "20")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- <<< Gentoo configuration >>>
Build type RelWithDebInfo
Install path /usr
Compiler flags:
C -march=native -O2 -pipe
C++ -march=native -O2 -pipe
Linker flags:
Executable -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
Module -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
Shared -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
-- Configuring done (0.6s)
-- Generating done (0.0s)
-- Build files have been written to: /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1 ...
* Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1"
* Build directory (BUILD_DIR): "/var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build"
ninja -v -l0 -j8 zig2
[1/18] /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -std=c99 -O2 -MD -MT CMakeFiles/zig-wasm2c.dir/stage1/wasm2c.c.o -MF CMakeFiles/zig-wasm2c.dir/stage1/wasm2c.c.o.d -o CMakeFiles/zig-wasm2c.dir/stage1/wasm2c.c.o -c /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1/stage1/wasm2c.c
[2/18] : && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--dependency-file=CMakeFiles/zig-wasm2c.dir/link.d CMakeFiles/zig-wasm2c.dir/stage1/wasm2c.c.o -o zig-wasm2c -L/usr/lib/llvm/20/lib64 && :
[3/18] cd /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1 && /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build/zig-wasm2c /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1/stage1/zig1.wasm /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build/zig1.c
[4/18] /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -std=c99 -Os -MD -MT CMakeFiles/zig1.dir/stage1/wasi.c.o -MF CMakeFiles/zig1.dir/stage1/wasi.c.o.d -o CMakeFiles/zig1.dir/stage1/wasi.c.o -c /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1/stage1/wasi.c
[5/18] /usr/bin/x86_64-pc-linux-gnu-g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/usr/lib/llvm/20/include -march=native -O2 -pipe -fno-exceptions -fno-rtti -fno-stack-protector -fvisibility-inlines-hidden -Wno-type-limits -Wno-missing-braces -Wno-comment -MD -MT CMakeFiles/zigcpp.dir/src/zig_llvm-ar.cpp.o -MF CMakeFiles/zigcpp.dir/src/zig_llvm-ar.cpp.o.d -o CMakeFiles/zigcpp.dir/src/zig_llvm-ar.cpp.o -c /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1/src/zig_llvm-ar.cpp
[6/18] /usr/bin/x86_64-pc-linux-gnu-g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/usr/lib/llvm/20/include -march=native -O2 -pipe -fno-exceptions -fno-rtti -fno-stack-protector -fvisibility-inlines-hidden -Wno-type-limits -Wno-missing-braces -Wno-comment -MD -MT CMakeFiles/zigcpp.dir/src/zig_clang_cc1as_main.cpp.o -MF CMakeFiles/zigcpp.dir/src/zig_clang_cc1as_main.cpp.o.d -o CMakeFiles/zigcpp.dir/src/zig_clang_cc1as_main.cpp.o -c /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1/src/zig_clang_cc1as_main.cpp
[7/18] /usr/bin/x86_64-pc-linux-gnu-g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/usr/lib/llvm/20/include -march=native -O2 -pipe -fno-exceptions -fno-rtti -fno-stack-protector -fvisibility-inlines-hidden -Wno-type-limits -Wno-missing-braces -Wno-comment -MD -MT CMakeFiles/zigcpp.dir/src/zig_clang_driver.cpp.o -MF CMakeFiles/zigcpp.dir/src/zig_clang_driver.cpp.o.d -o CMakeFiles/zigcpp.dir/src/zig_clang_driver.cpp.o -c /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1/src/zig_clang_driver.cpp
[8/18] /usr/bin/x86_64-pc-linux-gnu-g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/usr/lib/llvm/20/include -march=native -O2 -pipe -fno-exceptions -fno-rtti -fno-stack-protector -fvisibility-inlines-hidden -Wno-type-limits -Wno-missing-braces -Wno-comment -MD -MT CMakeFiles/zigcpp.dir/src/zig_clang.cpp.o -MF CMakeFiles/zigcpp.dir/src/zig_clang.cpp.o.d -o CMakeFiles/zigcpp.dir/src/zig_clang.cpp.o -c /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1/src/zig_clang.cpp
[9/18] /usr/bin/x86_64-pc-linux-gnu-g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/usr/lib/llvm/20/include -march=native -O2 -pipe -fno-exceptions -fno-rtti -fno-stack-protector -fvisibility-inlines-hidden -Wno-type-limits -Wno-missing-braces -Wno-comment -MD -MT CMakeFiles/zigcpp.dir/src/zig_clang_cc1_main.cpp.o -MF CMakeFiles/zigcpp.dir/src/zig_clang_cc1_main.cpp.o.d -o CMakeFiles/zigcpp.dir/src/zig_clang_cc1_main.cpp.o -c /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1/src/zig_clang_cc1_main.cpp
[10/18] /usr/bin/x86_64-pc-linux-gnu-g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/usr/lib/llvm/20/include -march=native -O2 -pipe -fno-exceptions -fno-rtti -fno-stack-protector -fvisibility-inlines-hidden -Wno-type-limits -Wno-missing-braces -Wno-comment -MD -MT CMakeFiles/zigcpp.dir/src/zig_llvm.cpp.o -MF CMakeFiles/zigcpp.dir/src/zig_llvm.cpp.o.d -o CMakeFiles/zigcpp.dir/src/zig_llvm.cpp.o -c /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1/src/zig_llvm.cpp
[11/18] : && /usr/bin/cmake -E rm -f zigcpp/libzigcpp.a && /usr/bin/x86_64-pc-linux-gnu-ar qc zigcpp/libzigcpp.a CMakeFiles/zigcpp.dir/src/zig_llvm.cpp.o CMakeFiles/zigcpp.dir/src/zig_llvm-ar.cpp.o CMakeFiles/zigcpp.dir/src/zig_clang.cpp.o CMakeFiles/zigcpp.dir/src/zig_clang_driver.cpp.o CMakeFiles/zigcpp.dir/src/zig_clang_cc1_main.cpp.o CMakeFiles/zigcpp.dir/src/zig_clang_cc1as_main.cpp.o && /usr/bin/x86_64-pc-linux-gnu-ranlib zigcpp/libzigcpp.a && :
[12/18] /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -std=c99 -Os -MD -MT CMakeFiles/zig1.dir/zig1.c.o -MF CMakeFiles/zig1.dir/zig1.c.o.d -o CMakeFiles/zig1.dir/zig1.c.o -c /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build/zig1.c
[13/18] : && /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--dependency-file=CMakeFiles/zig1.dir/link.d CMakeFiles/zig1.dir/zig1.c.o CMakeFiles/zig1.dir/stage1/wasi.c.o -o zig1 -L/usr/lib/llvm/20/lib64 -Wl,-rpath,/usr/lib/llvm/20/lib64 -lm && :
[14/18] cd /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1 && /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build/zig1 /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1/lib build-obj -ofmt=c -OReleaseSmall --name compiler_rt -femit-bin="/var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build/compiler_rt.c" -target x86_64-linux-gnu -Mroot=lib/compiler_rt.zig
[15/18] cd /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1 && /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build/zig1 /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1/lib build-exe -ofmt=c -lc -OReleaseSmall --name zig2 -femit-bin="/var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build/zig2.c" -target x86_64-linux-gnu --dep build_options --dep aro -Mroot=src/main.zig -Mbuild_options=/var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build/config.zig -Maro=lib/compiler/aro/aro.zig
[16/18] /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1/stage1 -I/usr/lib/llvm/20/include -march=native -O2 -pipe -std=c99 -O0 -fno-sanitize=undefined -fno-stack-protector -MD -MT CMakeFiles/zig2.dir/compiler_rt.c.o -MF CMakeFiles/zig2.dir/compiler_rt.c.o.d -o CMakeFiles/zig2.dir/compiler_rt.c.o -c /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build/compiler_rt.c
[17/18] /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1/stage1 -I/usr/lib/llvm/20/include -march=native -O2 -pipe -std=c99 -O0 -fno-sanitize=undefined -fno-stack-protector -MD -MT CMakeFiles/zig2.dir/zig2.c.o -MF CMakeFiles/zig2.dir/zig2.c.o.d -o CMakeFiles/zig2.dir/zig2.c.o -c /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build/zig2.c
[18/18] : && /usr/bin/x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,stack-size=0x10000000 -Wl,--dependency-file=CMakeFiles/zig2.dir/link.d CMakeFiles/zig2.dir/zig2.c.o CMakeFiles/zig2.dir/compiler_rt.c.o -o zig2 -L/usr/lib/llvm/20/lib64 -Wl,-rpath,/usr/lib/llvm/20/lib64 zigcpp/libzigcpp.a /usr/lib/llvm/20/lib64/libclang-cpp.so.20.1 /usr/lib/llvm/20/lib64/liblldMinGW.so /usr/lib/llvm/20/lib64/liblldELF.so /usr/lib/llvm/20/lib64/liblldCOFF.so /usr/lib/llvm/20/lib64/liblldWasm.so /usr/lib/llvm/20/lib64/liblldMachO.so /usr/lib/llvm/20/lib64/liblldCommon.so /usr/lib/llvm/20/lib64/libLLVM-20.so && :
* ZBS: compiling with: -j8 -Dtarget=native -Dcpu=native --release=safe --prefix /usr/ --prefix-exe-dir bin/ --prefix-lib-dir lib64/ --prefix-include-dir include/ --libc /var/tmp/portage/dev-lang/zig-0.15.1/temp/zig_libc.txt --summary all --verbose --build-file /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1/build.zig --zig-lib-dir /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1/lib/ --prefix //usr/lib64/zig/0.15.1/ --prefix-lib-dir lib/ -Dno-langref=true -Dstd-docs=false -Ddebug-extensions=false --release=fast -Denable-llvm=true -Dstatic-llvm=false -Dconfig_h=/var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build/config.h --prefix stage3/
/var/tmp/portage/dev-lang/zig-0.15.1/temp/environment: line 1803: 99 Segmentation fault "${ZIG_EXE}" "${@}"
31;01m* Failed to run command: ./zig2 build -j8 -Dtarget=native -Dcpu=native --release=safe --prefix /usr/ --prefix-exe-dir bin/ --prefix-lib-dir lib64/ --prefix-include-dir include/ --libc /var/tmp/portage/dev-lang/zig-0.15.1/temp/zig_libc.txt --summary all --verbose --build-file /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1/build.zig --zig-lib-dir /var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1/lib/ --prefix //usr/lib64/zig/0.15.1/ --prefix-lib-dir lib/ -Dno-langref=true -Dstd-docs=false -Ddebug-extensions=false --release=fast -Denable-llvm=true -Dstatic-llvm=false -Dconfig_h=/var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build/config.h --prefix stage3/
31;01m* ERROR: dev-lang/zig-0.15.1::gentoo failed (compile phase):
31;01m* ZBS: compilation failed
31;01m*
31;01m* Call stack:
31;01m* ebuild.sh, line 143: Called src_compile
31;01m* environment, line 3367: Called zig_src_compile '--prefix' 'stage3/'
31;01m* environment, line 5223: Called die
31;01m* The specific snippet of code:
31;01m* DESTDIR="${BUILD_DIR}" nonfatal ezig build "${args[@]}" || die "ZBS: compilation failed";
31;01m*
31;01m* If you need support, post the output of `emerge --info '=dev-lang/zig-0.15.1::gentoo'`,
31;01m* the complete build log and the output of `emerge -pqv '=dev-lang/zig-0.15.1::gentoo'`.
31;01m* The complete build log is located at '/var/log/portage/dev-lang:zig-0.15.1:20260329-175415.log'.
31;01m* For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lang/zig-0.15.1/temp/build.log'.
31;01m* The ebuild environment file is located at '/var/tmp/portage/dev-lang/zig-0.15.1/temp/environment'.
31;01m* Working directory: '/var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1_build'
31;01m* S: '/var/tmp/portage/dev-lang/zig-0.15.1/work/zig-0.15.1'


