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

Bug 706690

Summary: app-benchmarks/i7z-93_p20131012-r2 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Pacho Ramos <pacho>
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
app-benchmarks:i7z-93_p20131012-r2:20200127-073200.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-27 17:33:10 UTC
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -fno-schedule-insns2  -fno-schedule-insns -fno-inline-small-functions -fno-caller-saves -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wimplicit-function-declaration -Dx64_BIT   -c -o i7z_Single_Socket.o i7z_Single_Socket.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -fno-schedule-insns2  -fno-schedule-insns -fno-inline-small-functions -fno-caller-saves -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wimplicit-function-declaration -Dx64_BIT   -c -o i7z_Dual_Socket.o i7z_Dual_Socket.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -fno-schedule-insns2  -fno-schedule-insns -fno-inline-small-functions -fno-caller-saves -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wimplicit-function-declaration -Dx64_BIT -Wl,-O1 -Wl,--as-needed -o i7z i7z.o helper_functions.o i7z_Single_Socket.o i7z_Dual_Socket.o `x86_64-pc-linux-gnu-pkg-config --libs ncurses` -lpthread -lrt -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: i7z_Dual_Socket.o:(.bss+0x0): multiple definition of `global_ts'; i7z_Single_Socket.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_hardened-libressl_test-20200126-104546

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

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





repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 27 Jan 2020 06:46:16 +0000

emerge -qpvO app-benchmarks/i7z
[ebuild  N    ] app-benchmarks/i7z-93_p20131012-r2  USE="-qt5"
Comment 1 Toralf Förster gentoo-dev 2020-01-27 17:33:13 UTC
Created attachment 605368 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-27 17:33:16 UTC
Created attachment 605370 [details]
app-benchmarks:i7z-93_p20131012-r2:20200127-073200.log
Comment 3 Toralf Förster gentoo-dev 2020-01-27 17:33:19 UTC
Created attachment 605372 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-27 17:33:22 UTC
Created attachment 605374 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-27 17:33:24 UTC
Created attachment 605376 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-27 17:33:27 UTC
Created attachment 605378 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-03-11 18:44:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4f6086e8624fe7c06c8ebc32b73c487235d39e5

commit d4f6086e8624fe7c06c8ebc32b73c487235d39e5
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2020-03-11 18:33:01 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2020-03-11 18:44:10 +0000

    app-benchmarks/i7z: Enforce -fcommon
    
    Closes: https://bugs.gentoo.org/706690
    Package-Manager: Portage-2.3.93, Repoman-2.3.20
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 app-benchmarks/i7z/i7z-93_p20131012-r2.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)