Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707246 - app-misc/geekcode-1.7.3-r1 : fails to build with -fno-common or gcc-10
Summary: app-misc/geekcode-1.7.3-r1 : fails to build with -fno-common or gcc-10
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Popov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-29 18:12 UTC by Toralf Förster
Modified: 2020-01-29 18:13 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:12 UTC, Toralf Förster
Details
app-misc:geekcode-1.7.3-r1:20200129-140333.log (app-misc:geekcode-1.7.3-r1:20200129-140333.log,60.04 KB, text/plain)
2020-01-29 18:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,104.24 KB, text/plain)
2020-01-29 18:12 UTC, Toralf Förster
Details
environment (environment,46.50 KB, text/plain)
2020-01-29 18:12 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.30 KB, application/x-bzip)
2020-01-29 18:12 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,14.36 KB, application/x-bzip)
2020-01-29 18:12 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:12:36 UTC
geekcode.c:188:4: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
  188 |    fgets(junk, 80, stdin); /* Changed to fgets() in v1.4 - is this a good way to use it? */
      |    ^~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o geekcode gc_appearance.o gc_computers.o gc_entertainment.o gc_lifestyle.o gc_politics.o gc_type.o gc_consoleio.o gc_translate.o geekcode.o
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gc_computers.o:(.bss+0x0): multiple definition of `gc_sex'; gc_appearance.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gc_computers.o:(.bss+0x4): multiple definition of `gc_sex_type'; gc_appearance.o:(.bss+0x4): first defined here

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

  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 12:46:23 +0000

emerge -qpvO app-misc/geekcode
[ebuild  N    ] app-misc/geekcode-1.7.3-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-29 18:12:40 UTC
Created attachment 608162 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 18:12:43 UTC
Created attachment 608164 [details]
app-misc:geekcode-1.7.3-r1:20200129-140333.log
Comment 3 Toralf Förster gentoo-dev 2020-01-29 18:12:46 UTC
Created attachment 608166 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-29 18:12:49 UTC
Created attachment 608168 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-29 18:12:52 UTC
Created attachment 608170 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 18:12:56 UTC
Created attachment 608172 [details]
temp.tbz2