x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DFUNCDSC_PATH=\"/usr/share/gp2c/func.dsc\" -O2 -pipe -march=native -fno-common -c -o util.o util.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DFUNCDSC_PATH=\"/usr/share/gp2c/func.dsc\" -O2 -pipe -march=native -fno-common -c -o varlist.o varlist.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DFUNCDSC_PATH=\"/usr/share/gp2c/func.dsc\" -O2 -pipe -march=native -fno-common -c -o stack.o stack.c x86_64-pc-linux-gnu-gcc -DFUNCDSC_PATH=\"/usr/share/gp2c/func.dsc\" -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o gp2c gp2c.o context.o funcdesc.o funcspec.o genblock.o gencast.o gencode.o genfunc.o gentype.o gerepile.o lang.o moveblock.o node.o parse.o printnode.o toplevel.o topfunc.o util.o varlist.o stack.o /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: context.o:(.bss+0x1d0): multiple definition of `tree'; gp2c.o:(.bss+0x230): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: context.o:(.bss+0x1c8): multiple definition of `value'; gp2c.o:(.bss+0x228): first defined here ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no-multilib-20200124-204141 ------------------------------------------------------------------- Please see the tracker bug for details. gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * clang: clang version 9.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/9/bin llvm: 9.0.1 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.40.0 * java-config: The following VMs are available for generation-2: *) AdoptOpenJDK 8.242_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Tue, 28 Jan 2020 21:46:57 +0000 emerge -qpvO sci-mathematics/gp2c [ebuild N ] sci-mathematics/gp2c-0.0.11.2-r1 USE="-test"
Created attachment 607444 [details] emerge-info.txt
Created attachment 607446 [details] emerge-history.txt
Created attachment 607448 [details] environment
Created attachment 607450 [details] etc.portage.tbz2
Created attachment 607452 [details] logs.tbz2
Created attachment 607454 [details] sci-mathematics:gp2c-0.0.11.2-r1:20200128-230056.log
Created attachment 607456 [details] temp.tbz2
I reported it upstream but it hasn't shown up on the bug tracker yet. The fix isn't so trivial.
This is fixed upstream already and will be a part of the next release. So long as that happens before gcc-10 comes to gentoo, I don't see a pressing need to backport the patch.