Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706900 - dev-util/difffilter-0.3.3-r1 : fails to build with -fno-common or gcc-10
Summary: dev-util/difffilter-0.3.3-r1 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 18:34 UTC by Toralf Förster
Modified: 2020-11-27 17:37 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.90 KB, text/plain)
2020-01-28 18:34 UTC, Toralf Förster
Details
dev-util:difffilter-0.3.3-r1:20200128-075124.log (dev-util:difffilter-0.3.3-r1:20200128-075124.log,12.92 KB, text/plain)
2020-01-28 18:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,120.99 KB, text/plain)
2020-01-28 18:34 UTC, Toralf Förster
Details
environment (environment,19.18 KB, text/plain)
2020-01-28 18:34 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.80 KB, application/x-bzip)
2020-01-28 18:34 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.73 KB, application/x-bzip)
2020-01-28 18:35 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,8.94 KB, application/x-bzip)
2020-01-28 18:35 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:34:44 UTC
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"difffilter\" -DPACKAGE_TARNAME=\"difffilter\" -DPACKAGE_VERSION=\"0.3.3\" -DPACKAGE_STRING=\"difffilter\ 0.3.3\" -DPACKAGE_BUGREPORT=\"http://ohnopub.net/bugzilla\" -DPACKAGE_URL=\"http://ohnopub.net/difffilter\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"difffilter\" -DVERSION=\"0.3.3\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DPRIdSIZE=\"zd\" -DSCNdSIZE=\"zd\" -DPRIiSIZE=\"zi\" -DSCNiSIZE=\"zi\" -DPRIoSIZE=\"zo\" -DSCNoSIZE=\"zo\" -DPRIuSIZE=\"zu\" -DSCNuSIZE=\"zu\" -DPRIxSIZE=\"zx\" -DSCNxSIZE=\"zx\" -DPRIXSIZE=\"zX\" -I.       -O2 -pipe -march=native -fno-common -c -o src/difffilter-mangle.o `test -f 'src/mangle.c' || echo './'`src/mangle.c
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"difffilter\" -DPACKAGE_TARNAME=\"difffilter\" -DPACKAGE_VERSION=\"0.3.3\" -DPACKAGE_STRING=\"difffilter\ 0.3.3\" -DPACKAGE_BUGREPORT=\"http://ohnopub.net/bugzilla\" -DPACKAGE_URL=\"http://ohnopub.net/difffilter\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"difffilter\" -DVERSION=\"0.3.3\" -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DPRIdSIZE=\"zd\" -DSCNdSIZE=\"zd\" -DPRIiSIZE=\"zi\" -DSCNiSIZE=\"zi\" -DPRIoSIZE=\"zo\" -DSCNoSIZE=\"zo\" -DPRIuSIZE=\"zu\" -DSCNuSIZE=\"zu\" -DPRIxSIZE=\"zx\" -DSCNxSIZE=\"zx\" -DPRIXSIZE=\"zX\" -I.       -O2 -pipe -march=native -fno-common -c -o src/difffilter-pattern.o `test -f 'src/pattern.c' || echo './'`src/pattern.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 difffilter src/difffilter-block.o src/difffilter-diff.o src/difffilter-difffilter.o src/difffilter-mangle.o src/difffilter-pattern.o -llist  -lstrl  -ltre  
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o difffilter src/difffilter-block.o src/difffilter-diff.o src/difffilter-difffilter.o src/difffilter-mangle.o src/difffilter-pattern.o  -llist //usr/lib64/libstrl.so //usr/lib64/libtre.so -Wl,-rpath -Wl,//usr/lib64
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/difffilter-diff.o:(.bss+0x0): multiple definition of `DIFFFILTER_DIFF_NO_NL_AT_EOF'; src/difffilter-block.o:(.data.rel.local+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/difffilter-difffilter.o:(.bss+0x0): multiple definition of `DIFFFILTER_DIFF_NO_NL_AT_EOF'; src/difffilter-block.o:(.data.rel.local+0x0): first defined here

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

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

emerge -qpvO dev-util/difffilter
[ebuild  N    ] dev-util/difffilter-0.3.3-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:34:48 UTC
Created attachment 606440 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:34:50 UTC
Created attachment 606442 [details]
dev-util:difffilter-0.3.3-r1:20200128-075124.log
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:34:53 UTC
Created attachment 606444 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:34:56 UTC
Created attachment 606446 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:34:59 UTC
Created attachment 606448 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:35:02 UTC
Created attachment 606450 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:35:04 UTC
Created attachment 606452 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-11-27 17:37:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16e7e9c773c4b320e7287349aac293970136f61a

commit 16e7e9c773c4b320e7287349aac293970136f61a
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-11-27 17:36:40 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-27 17:36:40 +0000

    dev-util/difffilter: fix build with gcc-10
    
    Closes: https://bugs.gentoo.org/706900
    Package-Manager: Portage-3.0.9, Repoman-3.0.1
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 dev-util/difffilter/difffilter-0.3.3-r1.ebuild              | 12 +++++-------
 dev-util/difffilter/files/difffilter-0.3.3-fno-common.patch | 11 +++++++++++
 2 files changed, 16 insertions(+), 7 deletions(-)