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

Bug 706314

Summary: dev-lisp/sbcl-2.0.0 : 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 OBSOLETE    
Severity: normal CC: sammypfeiffer
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-lisp:sbcl-2.0.0:20200125-104457.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-25 15:43:42 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -g -Wall -Wundef -Wsign-compare -Wpointer-arith -O3 -O2 -pipe -march=native -fno-common -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wunused-parameter -fno-omit-frame-pointer -momit-leaf-frame-pointer -fno-pie -I. -DSBCL_PREFIX=\"'/usr'\"  -c -o elf.o elf.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -g -Wall -Wundef -Wsign-compare -Wpointer-arith -O3 -O2 -pipe -march=native -fno-common -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wunused-parameter -fno-omit-frame-pointer -momit-leaf-frame-pointer -fno-pie -I. -DSBCL_PREFIX=\"'/usr'\"  -c -o x86-64-assem.o x86-64-assem.S
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -g -Wall -Wundef -Wsign-compare -Wpointer-arith -O3 -O2 -pipe -march=native -fno-common -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wunused-parameter -fno-omit-frame-pointer -momit-leaf-frame-pointer -fno-pie -I. -DSBCL_PREFIX=\"'/usr'\"  -c -o ldso-stubs.o ldso-stubs.S
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--export-dynamic -no-pie -o sbcl alloc.o backtrace.o breakpoint.o coalesce.o coreparse.o dynbind.o funcall.o gc-common.o globals.o hopscotch.o interr.o interrupt.o largefile.o main.o monitor.o murmur_hash.o os-common.o parse.o print.o purify.o pthread-futex.o regnames.o run-program.o runtime.o safepoint.o save.o sc-offset.o search.o thread.o time.o validate.o var-io.o vars.o wrap.o x86-64-arch.o linux-os.o linux-mman.o x86-64-linux-os.o fullcgc.o gencgc.o traceroot.o immobile-space.o elf.o x86-64-assem.o ldso-stubs.o -ldl -lz -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: x86-64-linux-os.o:(.bss+0x0): multiple definition of `os_vm_page_size'; linux-os.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status

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

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

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

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.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *



repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 25 Jan 2020 09:06:10 +0000

emerge -qpvO dev-lisp/sbcl
[ebuild  N    ] dev-lisp/sbcl-2.0.0  USE="unicode zlib -debug -doc -pax_kernel -source -threads"
Comment 1 Toralf Förster gentoo-dev 2020-01-25 15:44:31 UTC
Created attachment 604270 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-25 15:45:16 UTC
Created attachment 604272 [details]
dev-lisp:sbcl-2.0.0:20200125-104457.log
Comment 3 Toralf Förster gentoo-dev 2020-01-25 15:46:08 UTC
Created attachment 604274 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-25 15:47:01 UTC
Created attachment 604276 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-25 15:47:48 UTC
Created attachment 604278 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-25 15:48:03 UTC
Created attachment 604280 [details]
temp.tbz2
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2020-05-02 12:26:54 UTC
Fixed as https://github.com/sbcl/sbcl/commit/1131662acacdb0fb5073940957f20a74c19ac391 for all targets. In 2.0.3 and later.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-20 12:10:23 UTC
*** Bug 726724 has been marked as a duplicate of this bug. ***