Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707238 - games-emulation/gngb-20060309-r1 : fails to build with -fno-common or gcc-10
Summary: games-emulation/gngb-20060309-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: Gentoo Games
URL:
Whiteboard:
Keywords:
: 721104 (view as bug list)
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-29 18:10 UTC by Toralf Förster
Modified: 2020-05-21 12:06 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.84 KB, text/plain)
2020-01-29 18:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,167.93 KB, text/plain)
2020-01-29 18:10 UTC, Toralf Förster
Details
environment (environment,60.25 KB, text/plain)
2020-01-29 18:10 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.77 KB, application/x-bzip)
2020-01-29 18:10 UTC, Toralf Förster
Details
games-emulation:gngb-20060309-r1:20200129-124623.log (games-emulation:gngb-20060309-r1:20200129-124623.log,105.51 KB, text/plain)
2020-01-29 18:10 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.86 KB, application/x-bzip)
2020-01-29 18:10 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.69 KB, application/x-bzip)
2020-01-29 18:10 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:10:33 UTC
unzip.c:191:7: warning: ‘i’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  191 |     x = (uLong)i;
      |     ~~^~~~~~~~~~
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3  -Wno-unused -funroll-loops -fstrength-reduce                           -ffast-math -falign-functions=2 -falign-jumps=2                           -falign-loops=2 -fomit-frame-pointer -Wall   -Wl,-O1 -Wl,--as-needed -o gngb cpu.o emu.o frame_skip.o interrupt.o main.o memory.o message.o rom.o serial.o sgb.o sound.o vram.o video_yuy2.o video_yuv.o video_yv12.o video_std.o video_gl.o menu.o fileio.o save.o unzip.o  -lz -lbz2 -lSDL -lpthread  -lSDL -lpthread 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: emu.o:(.bss+0xb40): multiple definition of `conf'; cpu.o:(.bss+0x2c0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: emu.o:(.bss+0x8a0): multiple definition of `key'; cpu.o:(.bss+0x20): first defined here

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

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

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

  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:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 29 Jan 2020 11:46:22 +0000

emerge -qpvO games-emulation/gngb
[ebuild  N    ] games-emulation/gngb-20060309-r1  USE="-opengl"
Comment 1 Toralf Förster gentoo-dev 2020-01-29 18:10:36 UTC
Created attachment 608108 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 18:10:39 UTC
Created attachment 608110 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 18:10:42 UTC
Created attachment 608112 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 18:10:44 UTC
Created attachment 608114 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 18:10:48 UTC
Created attachment 608116 [details]
games-emulation:gngb-20060309-r1:20200129-124623.log
Comment 6 Toralf Förster gentoo-dev 2020-01-29 18:10:52 UTC
Created attachment 608118 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-29 18:10:56 UTC
Created attachment 608120 [details]
temp.tbz2
Comment 8 Jeroen Roovers gentoo-dev 2020-05-21 12:06:58 UTC
*** Bug 721104 has been marked as a duplicate of this bug. ***