Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 712328

Summary: sys-libs/gdbm-1.18.1 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sys-libs:gdbm-1.18.1:20200312-213721.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-13 08:19:22 UTC
libtool: link: (cd .libs && rm -f libgdbm.so && ln -s libgdbm.so.6.0.0 libgdbm.so)
libtool: link: ( cd .libs && rm -f libgdbm.la && ln -s ../libgdbm.la libgdbm.la )
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-gentoo-linux-musl-gcc  -O2 -pipe -march=native -fno-common -falign-functions=32:25:16  -Wl,-O1 -Wl,--as-needed -o gdbmtool datconv.o gram.o input-argv.o input-file.o lex.o gdbmtool.o var.o util.o input-rl.o  ./libgdbmapp.a ./libgdbm.la -lreadline  
libtool: link: x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wl,-O1 -o .libs/gdbmtool datconv.o gram.o input-argv.o input-file.o lex.o gdbmtool.o var.o util.o input-rl.o  -Wl,--as-needed ./libgdbmapp.a ./.libs/libgdbm.so -lreadline
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: ./libgdbmapp.a(parseopt.o):(.bss+0x8): multiple definition of parseopt_program_args; gdbmtool.o:(.data.rel.local+0x260): first defined here
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: ./libgdbmapp.a(parseopt.o):(.bss+0x10): multiple definition of parseopt_program_doc; gdbmtool.o:(.data.rel.local+0x268): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200311-204810

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.2.0 *



Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)






repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 12 Mar 2020 19:40:45 +0000

emerge -qpvO sys-libs/gdbm
[ebuild     U ] sys-libs/gdbm-1.18.1 [1.13-r2] USE="nls readline -berkdb -static-libs (-exporter%)"
Comment 1 Toralf Förster gentoo-dev 2020-03-13 08:19:25 UTC
Created attachment 618242 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-13 08:19:27 UTC
Created attachment 618244 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-13 08:19:31 UTC
Created attachment 618246 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-13 08:19:35 UTC
Created attachment 618248 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-13 08:19:38 UTC
Created attachment 618250 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-13 08:19:41 UTC
Created attachment 618252 [details]
sys-libs:gdbm-1.18.1:20200312-213721.log
Comment 7 Toralf Förster gentoo-dev 2020-03-13 08:19:43 UTC
Created attachment 618254 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-03-13 19:47:09 UTC

*** This bug has been marked as a duplicate of bug 705898 ***