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

Bug 708530

Summary: sys-apps/sydbox-1.0.7 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: RESOLVED OBSOLETE    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/16117
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sys-apps:sydbox-1.0.7:20200206-081500.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-02-06 22:24:46 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -I. -O2 -pipe -march=native -fno-common -c -o syd_check-file-TEST.o `test -f 'file-TEST.c' || echo './'`file-TEST.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -I. -O2 -pipe -march=native -fno-common -c -o syd_check-proc-TEST.o `test -f 'proc-TEST.c' || echo './'`proc-TEST.c
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -I. -O2 -pipe -march=native -fno-common -lrt -lm ./libsyd_1.0.la -L./.libs -lsyd_1.0 -Wl,-O1 -Wl,--as-needed -o syd-check syd_check-seatest.o syd_check-check.o syd_check-file-TEST.o syd_check-proc-TEST.o  
libtool: link: x86_64-pc-linux-gnu-gcc -I. -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o .libs/syd-check syd_check-seatest.o syd_check-check.o syd_check-file-TEST.o syd_check-proc-TEST.o  -lrt -lm ./.libs/libsyd_1.0.so -L./.libs /var/tmp/portage/sys-apps/sydbox-1.0.7/work/sydbox-1.0.7/syd/.libs/libsyd_1.0.so
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: syd_check-check.o:(.bss+0x100): multiple definition of `seatest_simple_test_result'; syd_check-seatest.o:(.data.rel.local+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: syd_check-file-TEST.o:(.bss+0x0): multiple definition of `seatest_simple_test_result'; syd_check-seatest.o:(.data.rel.local+0x0): first defined here

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

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

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

  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.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)




ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 06 Feb 2020 07:48:50 +0000

emerge -qpvO sys-apps/sydbox
[ebuild  N    ] sys-apps/sydbox-1.0.7  USE="seccomp test -debug"
Comment 1 Toralf Förster gentoo-dev 2020-02-06 22:24:49 UTC
Created attachment 612258 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-06 22:24:52 UTC
Created attachment 612260 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-06 22:24:55 UTC
Created attachment 612262 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-06 22:24:58 UTC
Created attachment 612264 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-06 22:25:00 UTC
Created attachment 612266 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-06 22:25:03 UTC
Created attachment 612268 [details]
sys-apps:sydbox-1.0.7:20200206-081500.log
Comment 7 Toralf Förster gentoo-dev 2020-02-06 22:25:07 UTC
Created attachment 612270 [details]
temp.tbz2
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-12-16 23:05:12 UTC
Package removed.