Created attachment 916016 [details] build.log [...] >>> Compiling source in /var/tmp/portage/sys-libs/error-standalone-2.0/work/error-standalone-2.0 ... make -j1 liberror.so clang -O2 -march=znver2 -pipe -c -o error.o error.c clang -O2 -march=znver2 -pipe -shared -Wl,-soname=liberror.so -o liberror.so error.o -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'error_print_progname'; recompile with -fPIC >>> defined in error.o >>> referenced by error.c >>> error.o:(error) ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'error_message_count'; recompile with -fPIC >>> defined in error.o >>> referenced by error.c >>> error.o:(error) ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'error_one_per_line'; recompile with -fPIC >>> defined in error.o >>> referenced by error.c >>> error.o:(error_at_line) ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'error_print_progname'; recompile with -fPIC >>> defined in error.o >>> referenced by error.c >>> error.o:(error_at_line) ld.lld: error: relocation R_X86_64_PC32 cannot be used against symbol 'error_message_count'; recompile with -fPIC >>> defined in error.o >>> referenced by error.c >>> error.o:(error_at_line) clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:19: liberror.so] Error 1 * ERROR: sys-libs/error-standalone-2.0::gentoo failed (compile phase): * emake failed
Created attachment 916017 [details] emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f3a942123c4e34827481ddc5cf05cf0cf174a07 commit 8f3a942123c4e34827481ddc5cf05cf0cf174a07 Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> AuthorDate: 2025-01-06 22:36:31 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-01-07 02:22:46 +0000 sys-libs/error-standalone: append-flags -fPIC Closes: https://bugs.gentoo.org/947637 Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Closes: https://github.com/gentoo/gentoo/pull/40018 Signed-off-by: Sam James <sam@gentoo.org> .../{error-standalone-2.0.ebuild => error-standalone-2.0-r1.ebuild} | 4 ++++ 1 file changed, 4 insertions(+)