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

Bug 707630

Summary: media-radio/ax25-tools-0.0.10_rc4 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Thomas Beierlein <tomjbe>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
media-radio:ax25-tools-0.0.10_rc4:20200131-073840.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-31 17:41:48 UTC
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -Wall  -Wl,-O1 -Wl,--as-needed -o axgetput axgetput.o util.o proto_bin.o  
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: util.o:(.bss+0x0): multiple definition of `err_msg'; axgetput.o:(.bss+0x20): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: util.o:(.bss+0x800): multiple definition of `filename'; axgetput.o:(.bss+0x820): 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:
*)	AdoptOpenJDK JRE 8.242_p08 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 31 Jan 2020 06:54:04 +0000

emerge -qpvO media-radio/ax25-tools
[ebuild  N    ] media-radio/ax25-tools-0.0.10_rc4  USE="-X"
Comment 1 Toralf Förster gentoo-dev 2020-01-31 17:41:51 UTC
Created attachment 609786 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-31 17:41:54 UTC
Created attachment 609788 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-31 17:41:57 UTC
Created attachment 609790 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-31 17:42:00 UTC
Created attachment 609792 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-31 17:42:02 UTC
Created attachment 609794 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-31 17:42:05 UTC
Created attachment 609796 [details]
media-radio:ax25-tools-0.0.10_rc4:20200131-073840.log
Comment 7 Toralf Förster gentoo-dev 2020-01-31 17:42:08 UTC
Created attachment 609798 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-02-08 12:15:03 UTC
The bug has been closed via the following commit(s):

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

commit 71c4c3709473ca5286f90a2263aae3cadfa70497
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2020-02-08 12:14:41 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2020-02-08 12:14:41 +0000

    media-radio/ax25-apps: fix build with -fno-common
    
    Closes: https://bugs.gentoo.org/707630
    Package-Manager: Portage-2.3.87, Repoman-2.3.20
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 media-radio/ax25-apps/ax25-apps-0.0.8_rc4.ebuild   |  5 +-
 .../files/ax25-apps-0.0.8-fno-common.patch         | 87 ++++++++++++++++++++++
 2 files changed, 90 insertions(+), 2 deletions(-)