Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707228 - games-board/ace-1.4-r1 : fails to build with -fno-common or gcc-10
Summary: games-board/ace-1.4-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: Gentoo Games
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-29 18:07 UTC by Toralf Förster
Modified: 2020-10-15 18:57 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.20 KB, text/plain)
2020-01-29 18:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,98.05 KB, text/plain)
2020-01-29 18:07 UTC, Toralf Förster
Details
environment (environment,88.95 KB, text/plain)
2020-01-29 18:07 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.21 KB, application/x-bzip)
2020-01-29 18:07 UTC, Toralf Förster
Details
games-board:ace-1.4-r1:20200129-100127.log (games-board:ace-1.4-r1:20200129-100127.log,23.75 KB, text/plain)
2020-01-29 18:07 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.73 KB, application/x-bzip)
2020-01-29 18:08 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.82 KB, application/x-bzip)
2020-01-29 18:08 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 18:07:43 UTC
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"ace\" -DPACKAGE_TARNAME=\"ace\" -DPACKAGE_VERSION=\"1.4\" -DPACKAGE_STRING=\"ace\ 1.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ace\" -DVERSION=\"1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_UTIME_H=1 -DHAVE_UTIME_NULL=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKDIR=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -I.  -I/usr/include/libpng16       -O2 -pipe -march=native -fno-common -c -o funcs.lo funcs.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"ace\" -DPACKAGE_TARNAME=\"ace\" -DPACKAGE_VERSION=\"1.4\" "-DPACKAGE_STRING=\"ace 1.4\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ace\" -DVERSION=\"1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_UTIME_H=1 -DHAVE_UTIME_NULL=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKDIR=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -I. -I/usr/include/libpng16 -O2 -pipe -march=native -fno-common -c funcs.c  -fPIC -DPIC -o .libs/funcs.o
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -version-info 1:0:0 -Wl,-O1 -Wl,--as-needed -o libcards.la -rpath /usr/lib64 table.lo help.lo stack.lo imagelib.lo xwin.lo images.lo table_rn.lo funcs.lo -lX11  -lpng16 -lz  -lz  
libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/table.o .libs/help.o .libs/stack.o .libs/imagelib.o .libs/xwin.o .libs/images.o .libs/table_rn.o .libs/funcs.o   -Wl,--as-needed -lX11 -lpng16 -lz  -O2 -march=native -Wl,-O1   -Wl,-soname -Wl,libcards.so.1 -o .libs/libcards.so.1.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/xwin.o:(.data.rel+0x40): multiple definition of `xwin_options'; .libs/table.o:(.bss+0x8): 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_desktop_plasma-libressl-20200126-092715

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

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

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 29 Jan 2020 09:06:25 +0000

emerge -qpvO games-board/ace
[ebuild  N    ] games-board/ace-1.4-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-29 18:07:46 UTC
Created attachment 608038 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 18:07:49 UTC
Created attachment 608040 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 18:07:52 UTC
Created attachment 608042 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 18:07:55 UTC
Created attachment 608044 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 18:07:57 UTC
Created attachment 608046 [details]
games-board:ace-1.4-r1:20200129-100127.log
Comment 6 Toralf Förster gentoo-dev 2020-01-29 18:08:00 UTC
Created attachment 608048 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-29 18:08:03 UTC
Created attachment 608050 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-10-15 18:57:18 UTC
The bug has been closed via the following commit(s):

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

commit ff03dd687e5d62846655e25595b50f72335ee296
Author:     Alexey Sokolov <sokolov@google.com>
AuthorDate: 2020-10-05 22:29:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-10-15 18:53:00 +0000

    games-board/ace: fix build with gcc10
    
    And a few more issues
    
    Closes: https://bugs.gentoo.org/707228
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Signed-off-by: Sam James <sam@gentoo.org>

 games-board/ace/ace-1.4-r2.ebuild          | 58 ++++++++++++++++++++++++++++++
 games-board/ace/files/ace-1.4-gcc10.patch  | 16 +++++++++
 games-board/ace/files/ace-1.4-malloc.patch | 10 ++++++
 3 files changed, 84 insertions(+)