Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713772 - app-emulation/pcem-15-r1 : fails to build with -fno-common or gcc-10
Summary: app-emulation/pcem-15-r1 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-03-21 11:14 UTC by Toralf Förster
Modified: 2020-03-21 17:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,19.03 KB, text/plain)
2020-03-21 11:14 UTC, Toralf Förster
Details
app-emulation:pcem-15-r1:20200321-084225.log.bz2 (app-emulation:pcem-15-r1:20200321-084225.log.bz2,34.04 KB, application/x-bzip)
2020-03-21 11:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,398.61 KB, text/plain)
2020-03-21 11:14 UTC, Toralf Förster
Details
environment (environment,94.23 KB, text/plain)
2020-03-21 11:14 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,50.70 KB, application/x-bzip)
2020-03-21 11:14 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.62 KB, application/x-bzip)
2020-03-21 11:14 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-03-21 11:14:04 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: pcem-386_common.o:(.bss+0x780): multiple definition of cpu_state; pcem-386.o:(.bss+0x6a0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: pcem-386_common.o:(.bss+0x1128): multiple definition of writelookup2; pcem-386.o:(.bss+0x1048): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-libressl_abi32+64-20200307-151705

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.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
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.41.1
  [2]   rust-1.41.1 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.15.0 [icedtea-8]
2)	IcedTea JDK 3.14.0 [icedtea-bin-8]
3)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-8  system-vm
  [2]   icedtea-bin-8 
  [3]   jamvm 

The Glorious Glasgow Haskell Compilation System, version 8.0.2

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat 21 Mar 2020 07:08:40 AM UTC
/var/db/repos/libressl	Thu 19 Mar 2020 04:37:24 PM UTC

emerge -qpvO app-emulation/pcem
[ebuild  N    ] app-emulation/pcem-15-r1  USE="alsa -networking"
Comment 1 Toralf Förster gentoo-dev 2020-03-21 11:14:07 UTC
Created attachment 623748 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-21 11:14:10 UTC
Created attachment 623750 [details]
app-emulation:pcem-15-r1:20200321-084225.log.bz2
Comment 3 Toralf Förster gentoo-dev 2020-03-21 11:14:13 UTC
Created attachment 623752 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-21 11:14:16 UTC
Created attachment 623754 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-21 11:14:18 UTC
Created attachment 623756 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-21 11:14:22 UTC
Created attachment 623758 [details]
logs.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-03-21 17:02:58 UTC
The bug has been closed via the following commit(s):

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

commit a96898f4d499099f3a6b90c60fe6b43d80b30508
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2020-03-21 17:00:07 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2020-03-21 17:01:37 +0000

    app-emulation/pcem: fix compilation with gcc >= 10.x
    
    Since the source fix is not trivial, adding -fcommon for now.
    
    Closes: https://bugs.gentoo.org/713772
    Package-Manager: Portage-2.3.94, Repoman-2.3.20
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 app-emulation/pcem/pcem-15-r1.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)