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

Bug 723944

Summary: dev-lisp/gcl-2.6.12 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Common Lisp Bugs <common-lisp>
Status: RESOLVED FIXED    
Severity: normal CC: anton.stay.connected, sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://git.savannah.gnu.org/cgit/gcl.git/commit/?id=72a40a4a3c442ea528b062b23d65b82f16359e76
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
dev-lisp:gcl-2.6.12:20200518-225304.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-05-19 07:17:43 UTC
	-e "s#@LI-OPT-TWO@#\"-O\"#1" \
	-e "s#@LI-INIT-LSP@#\"init_pre_gcl.lsp\"#1" >init_pre_gcl.lsp
touch raw_pre_gcl_map
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-T ../unixport/gcl.script -o raw_pre_gcl  -L.  -Wl,-Map raw_pre_gcl_map  -lpre_gcl -lm -ldl  -lgmp -lreadline -lc -lgclp
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./libpre_gcl.a(typespec.o):(.bss+0x360): multiple definition of `sLcons'; ./libpre_gcl.a(main.o):(.bss+0x328628): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./libpre_gcl.a(typespec.o):(.bss+0x290): multiple definition of `sLfixnum'; ./libpre_gcl.a(main.o):(.bss+0x326630): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20200513-151505

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7 (fallback)
  [3]   python3.6 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.43.1 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.15.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon 18 May 2020 10:07:37 PM UTC

emerge -qpvO dev-lisp/gcl
[ebuild  N    ] dev-lisp/gcl-2.6.12  USE="X ansi readline -athena -emacs -tk"
Comment 1 Toralf Förster gentoo-dev 2020-05-19 07:17:46 UTC
Created attachment 640310 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-19 07:17:49 UTC
Created attachment 640312 [details]
dev-lisp:gcl-2.6.12:20200518-225304.log
Comment 3 Toralf Förster gentoo-dev 2020-05-19 07:17:53 UTC
Created attachment 640314 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-05-19 07:17:56 UTC
Created attachment 640316 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-05-19 07:17:59 UTC
Created attachment 640318 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-05-19 07:18:02 UTC
Created attachment 640320 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-05-19 07:18:06 UTC
Created attachment 640322 [details]
temp.tbz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-20 04:59:11 UTC
ping
Comment 9 inasprecali 2021-01-06 22:20:24 UTC
I can confirm this on an amd64 machine (with global ACCEPT_KEYBOARDS=~amd64)
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2021-03-06 12:23:37 UTC
@common-lisp: ping, this is blocking gcc-10 stabilization
Comment 11 Andreas K. Hüttel archtester gentoo-dev 2021-03-06 21:41:49 UTC
not waiting with gcc-10 anymore
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-22 23:56:21 UTC
Fixed versions stable.