Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710988 - dev-embedded/xa-2.3.10 : fails to build with -fno-common or gcc-10
Summary: dev-embedded/xa-2.3.10 : 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: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-27 19:46 UTC by Toralf Förster
Modified: 2020-03-15 21:35 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.20 KB, text/plain)
2020-02-27 19:46 UTC, Toralf Förster
Details
dev-embedded:xa-2.3.10:20200227-190722.log (dev-embedded:xa-2.3.10:20200227-190722.log,4.58 KB, text/plain)
2020-02-27 19:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,98.78 KB, text/plain)
2020-02-27 19:46 UTC, Toralf Förster
Details
environment (environment,49.78 KB, text/plain)
2020-02-27 19:47 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.62 KB, application/x-bzip)
2020-02-27 19:47 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.30 KB, application/x-bzip)
2020-02-27 19:47 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,13.38 KB, application/x-bzip)
2020-02-27 19:47 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-02-27 19:46:48 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wl,-O1 -Wl,--as-needed   -c -o xau.o xau.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wl,-O1 -Wl,--as-needed   -c -o xam.o xam.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wl,-O1 -Wl,--as-needed   -c -o xacharset.o xacharset.c
x86_64-pc-linux-gnu-gcc  -o ../xa xa.o xaa.o xal.o xap.o xat.o xar.o xar2.o xao.o xau.o xam.o xacharset.o -Wl,-O1 -Wl,--as-needed
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: xal.o:(.bss+0x820): multiple definition of `filep'; xa.o:(.bss+0x880): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: xal.o:(.bss+0x20): multiple definition of `s'; xa.o:(.bss+0x80): first defined here

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

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

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

  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)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 27 Feb 2020 16:38:16 +0000

emerge -qpvO dev-embedded/xa
[ebuild  N    ] dev-embedded/xa-2.3.10
Comment 1 Toralf Förster gentoo-dev 2020-02-27 19:46:51 UTC
Created attachment 616368 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-27 19:46:54 UTC
Created attachment 616370 [details]
dev-embedded:xa-2.3.10:20200227-190722.log
Comment 3 Toralf Förster gentoo-dev 2020-02-27 19:46:57 UTC
Created attachment 616372 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-27 19:47:01 UTC
Created attachment 616374 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-27 19:47:04 UTC
Created attachment 616376 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-27 19:47:06 UTC
Created attachment 616378 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-27 19:47:09 UTC
Created attachment 616380 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-03-15 21:35:59 UTC
The bug has been closed via the following commit(s):

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

commit da5dd26a142c51e5fa97c316e29302630e432de0
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-03-15 21:35:37 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-03-15 21:35:37 +0000

    dev-embedded/xa: Fix building with -fno-common
    
    Closes: https://bugs.gentoo.org/710988
    Package-Manager: Portage-2.3.94, Repoman-2.3.21
    Signed-off-by: David Seifert <soap@gentoo.org>

 dev-embedded/xa/files/xa-2.3.10-fix-gcc10-fno-common.patch | 12 ++++++++++++
 dev-embedded/xa/xa-2.3.10.ebuild                           |  4 +++-
 2 files changed, 15 insertions(+), 1 deletion(-)