too long lines were shrinked: make[3]: Entering directory '/var/tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1/bc' x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -pipe -march=native -fno-diagnostics-color -O2 -Wall -funsigned-char -pipe -march=native -fno-diagnostics-color -O2 -Wall -funsigned-char -c -o global.o global.c make[3]: Leaving directory '/var/tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1/bc' x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wall -funsigned-char -pipe -march=native -fno-diagnostics-color -O2 -Wall -funsigned-char -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libmath.h -o fbc main.o bc.o scan.o execute.o load.o storage.o ut /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: bc.o:(.bss+0x20): multiple definition of `histev'; main.o:(.bss+0x10): first defined here /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: bc.o:(.bss+0x30): multiple definition of `hist'; main.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: bc.o:(.bss+0x38): multiple definition of `edit'; main.o:(.bss+0x28): first defined here ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl_hardened-j4-20211227-095715 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-11.2.0 * Python 3.9.9 php cli: HEAD of ::gentoo commit 7da8804145297276710c70f0af844797ebd0f362 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Dec 27 08:51:50 2021 +0000 2021-12-27 08:51:48 UTC emerge -qpvO sys-devel/bc [ebuild N ] sys-devel/bc-1.07.1-r3 USE="libedit -readline -static"
Created attachment 760569 [details] emerge-info.txt
Created attachment 760570 [details] emerge-history.txt
Created attachment 760571 [details] environment
Created attachment 760572 [details] etc.portage.tar.bz2
Created attachment 760573 [details] logs.tar.bz2
Created attachment 760574 [details] sys-devel:bc-1.07.1-r3:20211227-092455.log
Created attachment 760575 [details] temp.tar.bz2
This seems to happen when setting the libedit USE flag. I'm on a glibc system using the Clang/LLVM toolchain and this error happens for me, too. bc with USE="-libedit" works fine though. Attaching build logs.
Created attachment 765791 [details] bc-libedit.log glibc system with USE="libedit" enabled for bc build log
Created attachment 765792 [details] bc-no-libedit.log
happened at 17.1_desktop-j4-20220809-180005 too