Created attachment 751670 [details] build.log Hello! dhcpcd-9.4.1 dont build after upgrade glibc to sys-libs/glibc-2.34-r2
Created attachment 751674 [details] env
Created attachment 751678 [details] info
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/libasan.a(sanitizer_posix_libcdep.o): in function `__sanitizer::GetAltStackSize()': (.text+0xdc): undefined reference to `__cxa_guard_acquire' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: (.text+0x109): undefined reference to `__cxa_guard_release' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:73: dhcpcd] Error 1
Your emerge --info for dhcpcd has: ``` CFLAGS="-march=znver1 -O2 -pipe -fsanitize=address" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" LDFLAGS="-Wl,-O1 -Wl,--as-needed -fsanitize=address -static-libasan -lasan" ``` 1. This is an odd thing to do without mentioning it ;) 2. It's not glibc-related. 3. Foricng -static-libasan or -lasan in LDFLAGS is deprecated. You're supposed to only pass -fsanitize=address.
Sorry my fall. А couple of years ago Roy Marple asked me to put this up and I forgot to remove. Can be closed.
(In reply to Ivan Budiakov from comment #5) > Sorry my fall. > А couple of years ago Roy Marple asked me to put this up and I forgot to > remove. > > > Can be closed. No problem :)