Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707138 - sci-mathematics/gp2c-0.0.11.2-r1 : fails to build with -fno-common or gcc-10
Summary: sci-mathematics/gp2c-0.0.11.2-r1 : fails to build with -fno-common or gcc-10
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Orlitzky
URL: https://pari.math.u-bordeaux.fr/cgi-b...
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-29 17:39 UTC by Toralf Förster
Modified: 2020-01-30 14:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.13 KB, text/plain)
2020-01-29 17:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,210.37 KB, text/plain)
2020-01-29 17:39 UTC, Toralf Förster
Details
environment (environment,19.71 KB, text/plain)
2020-01-29 17:40 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.93 KB, application/x-bzip)
2020-01-29 17:40 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,18.03 KB, application/x-bzip)
2020-01-29 17:40 UTC, Toralf Förster
Details
sci-mathematics:gp2c-0.0.11.2-r1:20200128-230056.log (sci-mathematics:gp2c-0.0.11.2-r1:20200128-230056.log,199.77 KB, text/plain)
2020-01-29 17:40 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,12.10 KB, application/x-bzip)
2020-01-29 17:40 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-01-29 17:39:51 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2020-01-29 17:39:54 UTC
Created attachment 607444 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 17:39:57 UTC
Created attachment 607446 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 17:40:00 UTC
Created attachment 607448 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 17:40:03 UTC
Created attachment 607450 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 17:40:06 UTC
Created attachment 607452 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 17:40:09 UTC
Created attachment 607454 [details]
sci-mathematics:gp2c-0.0.11.2-r1:20200128-230056.log
Comment 7 Toralf Förster gentoo-dev 2020-01-29 17:40:12 UTC
Created attachment 607456 [details]
temp.tbz2
Comment 8 Michael Orlitzky gentoo-dev 2020-01-30 02:03:54 UTC
I reported it upstream but it hasn't shown up on the bug tracker yet. The fix isn't so trivial.
Comment 9 Michael Orlitzky gentoo-dev 2020-01-30 14:16:25 UTC
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.