Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707144 - app-emulation/ski-1.3.2-r3 : fails to build with -fno-common or gcc-10
Summary: app-emulation/ski-1.3.2-r3 : 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
Assignee: IA-64 team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-29 17:41 UTC by Toralf Förster
Modified: 2020-01-29 20:16 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.16 KB, text/plain)
2020-01-29 17:41 UTC, Toralf Förster
Details
app-emulation:ski-1.3.2-r3:20200128-231554.log.bz2 (app-emulation:ski-1.3.2-r3:20200128-231554.log.bz2,117.83 KB, application/x-bzip)
2020-01-29 17:41 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,102.03 KB, text/plain)
2020-01-29 17:41 UTC, Toralf Förster
Details
environment (environment,58.50 KB, text/plain)
2020-01-29 17:41 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.60 KB, application/x-bzip)
2020-01-29 17:41 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,26.44 KB, application/x-bzip)
2020-01-29 17:41 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,135.92 KB, application/x-bzip)
2020-01-29 17:41 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-01-29 17:41:21 UTC
libtool: link: rm -fr .libs/libski.lax
libtool: link: ( cd ".libs" && rm -f "libski.la" && ln -s "../libski.la" "libski.la" )
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600  -DLINUX -D_GNU_SOURCE -D__norcsid -fno-strict-aliasing -Wall -Wunused  -Wl,-O1 -Wl,--as-needed -o ski main.o libski.la -ldl -lelf -lm  -lncurses -ltinfo 
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DLINUX -D_GNU_SOURCE -D__norcsid -fno-strict-aliasing -Wall -Wunused -Wl,-O1 -o ski main.o  -Wl,--as-needed ./.libs/libski.a /usr/lib64/libltdl.so -ldl -lelf -lm -lncurses -ltinfo
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/libski.a(platform.o):(.bss+0x4): multiple definition of `autoAlloc'; ./.libs/libski.a(simmem.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 *

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

Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 28 Jan 2020 23:06:26 +0000

emerge -qpvO app-emulation/ski
[ebuild  N    ] app-emulation/ski-1.3.2-r3  USE="-motif"
Comment 1 Toralf Förster gentoo-dev 2020-01-29 17:41:24 UTC
Created attachment 607486 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 17:41:26 UTC
Created attachment 607488 [details]
app-emulation:ski-1.3.2-r3:20200128-231554.log.bz2
Comment 3 Toralf Förster gentoo-dev 2020-01-29 17:41:29 UTC
Created attachment 607490 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-29 17:41:32 UTC
Created attachment 607492 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-29 17:41:35 UTC
Created attachment 607494 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 17:41:37 UTC
Created attachment 607496 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-29 17:41:40 UTC
Created attachment 607498 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-01-29 20:16:38 UTC
The bug has been closed via the following commit(s):

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

commit 8c07d209f2974a24906f4ac9bdddd48e0dc3b063
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-01-29 20:15:59 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-01-29 20:16:32 +0000

    app-emulation/ski: tweak for gcc-10
    
    Reported-by: Toralf Förster
    Closes: https://bugs.gentoo.org/707144
    Package-Manager: Portage-2.3.86, Repoman-2.3.20
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 app-emulation/ski/files/ski-1.3.2-gcc-10.patch | 22 ++++++++++++++++++++++
 app-emulation/ski/ski-1.3.2-r3.ebuild          |  3 ++-
 2 files changed, 24 insertions(+), 1 deletion(-)