Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707140 - dev-util/dwdiff-2.1.2 : fails to build with -fno-common or gcc-10
Summary: dev-util/dwdiff-2.1.2 : 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: Patrice Clement
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-29 17:40 UTC by Toralf Förster
Modified: 2020-10-31 05:32 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.16 KB, text/plain)
2020-01-29 17:40 UTC, Toralf Förster
Details
dev-util:dwdiff-2.1.2:20200128-230803.log (dev-util:dwdiff-2.1.2:20200128-230803.log,6.00 KB, text/plain)
2020-01-29 17:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,101.67 KB, text/plain)
2020-01-29 17:40 UTC, Toralf Förster
Details
environment (environment,75.38 KB, text/plain)
2020-01-29 17:40 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.59 KB, application/x-bzip)
2020-01-29 17:40 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,933 bytes, application/x-bzip)
2020-01-29 17:40 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,18.85 KB, application/x-bzip)
2020-01-29 17:40 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 17:40:23 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Isrc -DUSE_GETTEXT -DOPTION_STRDUP=strdupA -DLOCALEDIR=\"/usr/share/locale\" -DUSE_UNICODE `pkg-config --cflags icu-uc` -DUSE_NL_LANGINFO -c -o src/util.o src/util.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Isrc -DUSE_GETTEXT -DOPTION_STRDUP=strdupA -DLOCALEDIR=\"/usr/share/locale\" -DUSE_UNICODE `pkg-config --cflags icu-uc` -DUSE_NL_LANGINFO -c -o src/tempfile.o src/tempfile.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Isrc -DUSE_GETTEXT -DOPTION_STRDUP=strdupA -DLOCALEDIR=\"/usr/share/locale\" -DUSE_UNICODE `pkg-config --cflags icu-uc` -DUSE_NL_LANGINFO -c -o src/stream.o src/stream.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o dwdiff src/doDiff.o src/diff/analyze.o src/file.o src/option.o src/unicode.o src/buffer.o src/hashtable.o src/profile.o src/dwdiff.o src/util.o src/tempfile.o src/stream.o  `pkg-config --libs icu-uc` 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/file.o:(.bss+0x0): multiple definition of `option'; src/doDiff.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/option.o:(.bss+0x0): multiple definition of `option'; src/doDiff.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-libressl_test-20200126-104546

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

  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)
  [5]   pypy3 (fallback)

Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 28 Jan 2020 21:46:57 +0000

emerge -qpvO dev-util/dwdiff
[ebuild  N    ] dev-util/dwdiff-2.1.2  USE="nls"
Comment 1 Toralf Förster gentoo-dev 2020-01-29 17:40:26 UTC
Created attachment 607458 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 17:40:29 UTC
Created attachment 607460 [details]
dev-util:dwdiff-2.1.2:20200128-230803.log
Comment 3 Toralf Förster gentoo-dev 2020-01-29 17:40:31 UTC
Created attachment 607462 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-29 17:40:34 UTC
Created attachment 607464 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-29 17:40:37 UTC
Created attachment 607466 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 17:40:40 UTC
Created attachment 607468 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-29 17:40:44 UTC
Created attachment 607470 [details]
temp.tbz2
Comment 8 Sam James archtester gentoo-dev Security 2020-10-31 05:32:07 UTC
A bump to 2.1.3 will fix this as per website: https://os.ghalkes.nl/dwdiff.html.

"dwdiff version 2.1.3 released

This release fixes compilation issues with GCC 10."