Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707218 - sys-apps/heirloom-tools-070715-r1 : fails to build with -fno-common or gcc-10
Summary: sys-apps/heirloom-tools-070715-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-29 18:05 UTC by Toralf Förster
Modified: 2020-03-26 09:22 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.25 KB, text/plain)
2020-01-29 18:05 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,120.04 KB, text/plain)
2020-01-29 18:05 UTC, Toralf Förster
Details
environment (environment,88.56 KB, text/plain)
2020-01-29 18:05 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.93 KB, application/x-bzip)
2020-01-29 18:05 UTC, Toralf Förster
Details
sys-apps:heirloom-tools-070715-r1:20200129-084305.log (sys-apps:heirloom-tools-070715-r1:20200129-084305.log,40.42 KB, text/plain)
2020-01-29 18:05 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.26 KB, application/x-bzip)
2020-01-29 18:05 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:05:05 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -D_GNU_SOURCE  -D_FILE_OFFSET_BITS=64L  -I../libcommon -c flags.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -D_GNU_SOURCE  -D_FILE_OFFSET_BITS=64L  -I../libcommon -c nonpax.c
x86_64-pc-linux-gnu-gcc -O2 -fomit-frame-pointer  -D_GNU_SOURCE  -D_FILE_OFFSET_BITS=64L  -I../libcommon -c version.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed cpio.o unshrink.o explode.o expand.o inflate.o crc32.o blast.o flags.o nonpax.o version.o -lz  -L../libcommon -lcommon   -o cpio
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: flags.o:(.bss+0x8): multiple definition of `fmttype'; cpio.o:(.bss+0xe8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: flags.o:(.bss+0x0): multiple definition of `pax_preserve'; cpio.o:(.bss+0xe0): 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 <==
Wed, 29 Jan 2020 07:46:51 +0000

emerge -qpvO sys-apps/heirloom-tools
[ebuild  N    ] sys-apps/heirloom-tools-070715-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-29 18:05:09 UTC
Created attachment 607974 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 18:05:12 UTC
Created attachment 607976 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 18:05:15 UTC
Created attachment 607978 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 18:05:19 UTC
Created attachment 607980 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 18:05:22 UTC
Created attachment 607982 [details]
sys-apps:heirloom-tools-070715-r1:20200129-084305.log
Comment 6 Toralf Förster gentoo-dev 2020-01-29 18:05:25 UTC
Created attachment 607984 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-03-26 09:22:18 UTC
The bug has been closed via the following commit(s):

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

commit e1b706046abcfd31c9ecd1e950a185c5cbf6068d
Author:     Stephan Hartmann <stha09@googlemail.com>
AuthorDate: 2020-03-26 09:21:56 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-03-26 09:21:56 +0000

    sys-apps/heirloom-tools: fix build with -fno-common
    
    Closes: https://bugs.gentoo.org/707218
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Stephan Hartmann <stha09@googlemail.com>
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../files/heirloom-tools-070715-gcc-10.patch       | 105 +++++++++++++++++++++
 .../heirloom-tools/heirloom-tools-070715-r1.ebuild |   1 +
 2 files changed, 106 insertions(+)