Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706832 - net-misc/dahdi-tools-3.1.0 : fails to build with -fno-common or gcc-10
Summary: net-misc/dahdi-tools-3.1.0 : 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: Jaco Kroon
URL: https://issues.asterisk.org/jira/brow...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 18:18 UTC by Toralf Förster
Modified: 2020-03-18 08:30 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.73 KB, text/plain)
2020-01-28 18:18 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,82.94 KB, text/plain)
2020-01-28 18:18 UTC, Toralf Förster
Details
environment (environment,74.19 KB, text/plain)
2020-01-28 18:18 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.59 KB, application/x-bzip)
2020-01-28 18:18 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.60 KB, application/x-bzip)
2020-01-28 18:18 UTC, Toralf Förster
Details
net-misc:dahdi-tools-3.1.0:20200127-235703.log (net-misc:dahdi-tools-3.1.0:20200127-235703.log,68.49 KB, text/plain)
2020-01-28 18:18 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.26 KB, application/x-bzip)
2020-01-28 18:18 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:18:32 UTC
libtool: link: rm -fr .libs/libastribank.lax
libtool: link: ( cd ".libs" && rm -f "libastribank.la" && ln -s "../libastribank.la" "libastribank.la" )
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -I. -I./xtalk/include  -Wall  -O2 -pipe -march=native -fno-common -lusb-1.0  -Wl,-O1 -Wl,--as-needed -o astribank_tool astribank_tool-astribank_tool.o libastribank.la -lpthread -lm 
libtool: link: x86_64-pc-linux-gnu-gcc -I. -I./xtalk/include -Wall -O2 -pipe -march=native -fno-common -Wl,-O1 -o astribank_tool astribank_tool-astribank_tool.o  -Wl,--as-needed ./.libs/libastribank.a -lusb-1.0 -lpthread -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/libastribank.a(libxtalk_la-xtalk_sync.o):(.bss+0x0): multiple definition of `members'; ./.libs/libastribank.a(libastribank_la-mpptalk.o):(.bss+0x0): 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-libressl-20200125-183534

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *


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:
Available Java Virtual Machines:
  (none found)
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 27 Jan 2020 23:06:20 +0000

emerge -qpvO net-misc/dahdi-tools
[ebuild  N    ] net-misc/dahdi-tools-3.1.0  USE="-ppp"
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:18:36 UTC
Created attachment 606002 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:18:39 UTC
Created attachment 606004 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:18:42 UTC
Created attachment 606006 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:18:47 UTC
Created attachment 606008 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:18:52 UTC
Created attachment 606010 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:18:55 UTC
Created attachment 606012 [details]
net-misc:dahdi-tools-3.1.0:20200127-235703.log
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:18:58 UTC
Created attachment 606014 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-03-18 08:30:39 UTC
The bug has been closed via the following commit(s):

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

commit ed252d14bce717deea5531e4306eeb591384024b
Author:     Jaco Kroon <jaco@uls.co.za>
AuthorDate: 2020-03-16 09:52:07 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-03-18 08:30:25 +0000

    net-misc/dahdi-tools: add gcc -fno-common patch.
    
    Patch submitted upstream: https://issues.asterisk.org/jira/browse/DAHTOOL-85
    
    Closes: https://bugs.gentoo.org/706832
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Jaco Kroon <jaco@uls.co.za>
    Closes: https://github.com/gentoo/gentoo/pull/14976
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 net-misc/dahdi-tools/dahdi-tools-3.1.0.ebuild      |  1 +
 .../files/dahdi-tools-3.1.0-fno-common.patch       | 39 ++++++++++++++++++++++
 2 files changed, 40 insertions(+)