Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706890 - dev-util/global-6.6.4 : fails to build with -fno-common or gcc-10
Summary: dev-util/global-6.6.4 : 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: Naohiro Aota
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 18:32 UTC by Toralf Förster
Modified: 2020-01-28 18:32 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.88 KB, text/plain)
2020-01-28 18:32 UTC, Toralf Förster
Details
dev-util:global-6.6.4:20200128-070248.log (dev-util:global-6.6.4:20200128-070248.log,51.24 KB, text/plain)
2020-01-28 18:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,119.21 KB, text/plain)
2020-01-28 18:32 UTC, Toralf Förster
Details
environment (environment,69.39 KB, text/plain)
2020-01-28 18:32 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.78 KB, application/x-bzip)
2020-01-28 18:32 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,15.93 KB, application/x-bzip)
2020-01-28 18:32 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.64 KB, application/x-bzip)
2020-01-28 18:32 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-28 18:32:29 UTC
      |   ^~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I../libparser  -I../libutil -I../libdb -I../libglibc -I../libutil -DLID='"no"'   -O2 -pipe -march=native -fno-common -c -o literal.o literal.c
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o global global.o literal.o ../libparser/libgloparser.a ../libutil/libgloutil.a ../libdb/libglodb.a ../libglibc/libgloglibc.a -lltdl 
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -o global global.o literal.o  -Wl,--as-needed ../libparser/libgloparser.a ../libutil/libgloutil.a ../libdb/libglodb.a ../libglibc/libgloglibc.a //usr/lib64/libltdl.so -ldl -Wl,-rpath -Wl,//usr/lib64
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../libutil/libgloutil.a(args.o):(.bss+0x18): multiple definition of `type'; global.o:(.bss+0x74): 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_gnome_systemd-libressl-20200125-150902

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

  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 <==
Tue, 28 Jan 2020 06:06:24 +0000

emerge -qpvO dev-util/global
[ebuild  N    ] dev-util/global-6.6.4  USE="-doc -emacs -vim"
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:32:32 UTC
Created attachment 606376 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:32:35 UTC
Created attachment 606378 [details]
dev-util:global-6.6.4:20200128-070248.log
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:32:38 UTC
Created attachment 606380 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:32:41 UTC
Created attachment 606382 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:32:44 UTC
Created attachment 606384 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:32:47 UTC
Created attachment 606386 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:32:50 UTC
Created attachment 606388 [details]
temp.tbz2