Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 712308

Summary: dev-lang/swi-prolog-8.1.22 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Prolog project <prolog>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
dev-lang:swi-prolog-8.1.22:20200313-022008.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2

Description Toralf Förster gentoo-dev 2020-03-13 07:44:19 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/libswipl.dir/pl-wam.c.o:(.bss+0xd0): multiple definition of definition_chain; CMakeFiles/libswipl.dir/pl-atom.c.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/libswipl.dir/pl-arith.c.o:(.bss+0x0): multiple definition of definition_chain; CMakeFiles/libswipl.dir/pl-atom.c.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20200310-141548

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

  Please see the tracker bug for details.

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


llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *


ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 12 Mar 2020 23:38:53 +0000

emerge -qpvO dev-lang/swi-prolog
[ebuild  N    ] dev-lang/swi-prolog-8.1.22  USE="berkdb gmp libedit pcre readline ssl -X -archive -debug -doc -java -libressl -minimal -odbc -qt5 -test -uuid -yaml"
Comment 1 Toralf Förster gentoo-dev 2020-03-13 07:44:22 UTC
Created attachment 618176 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-13 07:44:25 UTC
Created attachment 618178 [details]
dev-lang:swi-prolog-8.1.22:20200313-022008.log
Comment 3 Toralf Förster gentoo-dev 2020-03-13 07:44:28 UTC
Created attachment 618180 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-13 07:44:31 UTC
Created attachment 618182 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-13 07:44:34 UTC
Created attachment 618184 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-13 07:44:37 UTC
Created attachment 618186 [details]
logs.tbz2
Comment 7 Keri Harris gentoo-dev 2020-03-26 10:39:34 UTC
This is now fixed in git. Thanks for reporting this.