Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712028 - dev-lang/gprolog-1.4.5 : fails to build with -fno-common or gcc-10
Summary: dev-lang/gprolog-1.4.5 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prolog project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-03-10 07:53 UTC by Toralf Förster
Modified: 2020-05-28 13:14 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.67 KB, text/plain)
2020-03-10 07:53 UTC, Toralf Förster
Details
dev-lang:gprolog-1.4.5:20200310-023041.log (dev-lang:gprolog-1.4.5:20200310-023041.log,137.93 KB, text/plain)
2020-03-10 07:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,235.77 KB, text/plain)
2020-03-10 07:53 UTC, Toralf Förster
Details
environment (environment,90.35 KB, text/plain)
2020-03-10 07:53 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.29 KB, application/x-bzip)
2020-03-10 07:53 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.92 KB, application/x-bzip)
2020-03-10 07:53 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-03-10 07:53:35 UTC
gplc -c indexing.wam
gplc -c wam_emit.wam
[ ! -f  pl2wam ] || cp pl2wam pl2wam0
gplc -o pl2wam --no-fd-lib-warn --no-top-level pl2wam.o read_file.o syn_sugar.o internal.o code_gen.o reg_alloc.o inst_codif.o first_arg.o indexing.o wam_emit.o
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-lang/gprolog-1.4.5/work/gprolog-1.4.5/src/BipsPl/libbips_pl.a(read_c.o):(.bss+0xc): multiple definition of `pl_last_read_line'; /var/tmp/portage/dev-lang/gprolog-1.4.5/work/gprolog-1.4.5/src/BipsPl/libbips_pl.a(assert_c.o):(.bss+0xc): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-lang/gprolog-1.4.5/work/gprolog-1.4.5/src/BipsPl/libbips_pl.a(read_c.o):(.bss+0x8): multiple definition of `pl_last_read_col'; /var/tmp/portage/dev-lang/gprolog-1.4.5/work/gprolog-1.4.5/src/BipsPl/libbips_pl.a(assert_c.o):(.bss+0x8): first defined here

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20200304-213403

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
llvm:
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.41.1
  [2]   rust-1.41.1 *
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
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 10 Mar 2020 01:07:41 +0000

emerge -qpvO dev-lang/gprolog
[ebuild  N    ] dev-lang/gprolog-1.4.5  USE="-debug -doc -examples"
Comment 1 Toralf Förster gentoo-dev 2020-03-10 07:53:38 UTC
Created attachment 617830 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-10 07:53:42 UTC
Created attachment 617832 [details]
dev-lang:gprolog-1.4.5:20200310-023041.log
Comment 3 Toralf Förster gentoo-dev 2020-03-10 07:53:45 UTC
Created attachment 617834 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-10 07:53:47 UTC
Created attachment 617836 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-10 07:53:50 UTC
Created attachment 617838 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-10 07:53:53 UTC
Created attachment 617840 [details]
logs.tbz2
Comment 7 Keri Harris gentoo-dev 2020-05-28 13:14:35 UTC
A workaround has been committed to git. Once upstream implements a proper fix we can apply an appropriate patch. Thanks for reporting this.