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

Bug 706704

Summary: net-misc/bird-2.0.4 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Tony Vroon (RETIRED) <chainsaw>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bird.network.cz/pipermail/bird-users/2020-February/014212.html
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
net-misc:bird-2.0.4:20200127-115518.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-27 17:37:08 UTC
CC -o obj/sysdep/unix/log.o -c sysdep/unix/log.c
CC -o obj/sysdep/unix/main.o -c sysdep/unix/main.c
CC -o obj/sysdep/unix/random.o -c sysdep/unix/random.c
LD -Wl,-O1 -Wl,--as-needed -pthread -o bird obj/conf/cf-parse.tab.o obj/conf/cf-lex.o obj/conf/conf.o obj/filter/filter.o obj/filter/f-util.o obj/filter/tree.o obj/filter/trie.o obj/lib/bitops.o obj/lib/checksum.o obj/lib/event.o obj/lib/flowspec.o obj/lib/idm.o obj/lib/ip.o obj/lib/lists.o obj/lib/mac.o obj/lib/md5.o obj/lib/mempool.o obj/lib/net.o obj/lib/patmatch.o obj/lib/printf.o obj/lib/resource.o obj/lib/sha1.o obj/lib/sha256.o obj/lib/sha512.o obj/lib/slab.o obj/lib/slists.o obj/lib/tbf.o obj/lib/timer.o obj/lib/xmalloc.o obj/nest/a-path.o obj/nest/a-set.o obj/nest/cli.o obj/nest/cmds.o obj/nest/iface.o obj/nest/locks.o obj/nest/neighbor.o obj/nest/password.o obj/nest/proto.o obj/nest/rt-attr.o obj/nest/rt-dev.o obj/nest/rt-fib.o obj/nest/rt-show.o obj/nest/rt-table.o obj/proto/bfd/bfd.o obj/proto/bfd/io.o obj/proto/bfd/packets.o obj/proto/babel/babel.o obj/proto/babel/packets.o obj/proto/bgp/attrs.o obj/proto/bgp/bgp.o obj/proto/bgp/packets.o obj/proto/mrt/mrt.o obj/proto/ospf/dbdes.o obj/proto/ospf/hello.o obj/proto/ospf/iface.o obj/proto/ospf/lsack.o obj/proto/ospf/lsalib.o obj/proto/ospf/lsreq.o obj/proto/ospf/lsupd.o obj/proto/ospf/neighbor.o obj/proto/ospf/ospf.o obj/proto/ospf/packet.o obj/proto/ospf/rt.o obj/proto/ospf/topology.o obj/proto/perf/perf.o obj/proto/pipe/pipe.o obj/proto/radv/packets.o obj/proto/radv/radv.o obj/proto/rip/packets.o obj/proto/rip/rip.o obj/proto/rpki/rpki.o obj/proto/rpki/packets.o obj/proto/rpki/tcp_transport.o obj/proto/rpki/ssh_transport.o obj/proto/rpki/transport.o obj/proto/static/static.o obj/sysdep/linux/netlink.o obj/sysdep/unix/io.o obj/sysdep/unix/krt.o obj/sysdep/unix/log.o obj/sysdep/unix/main.o obj/sysdep/unix/random.o -lssh
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: obj/conf/cf-lex.o:(.bss+0x40): multiple definition of `rta_dest_names'; obj/conf/cf-parse.tab.o:(.bss+0x60): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: obj/conf/conf.o:(.bss+0x20): multiple definition of `rta_dest_names'; obj/conf/cf-parse.tab.o:(.bss+0x60): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20200124-204141

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

  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 *



repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 27 Jan 2020 10:50:53 +0000

emerge -qpvO net-misc/bird
[ebuild  N    ] net-misc/bird-2.0.4  USE="client -debug"
Comment 1 Toralf Förster gentoo-dev 2020-01-27 17:37:11 UTC
Created attachment 605458 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-27 17:37:13 UTC
Created attachment 605460 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-27 17:37:16 UTC
Created attachment 605462 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-27 17:37:18 UTC
Created attachment 605464 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-27 17:37:21 UTC
Created attachment 605466 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-27 17:37:24 UTC
Created attachment 605468 [details]
net-misc:bird-2.0.4:20200127-115518.log
Comment 7 Toralf Förster gentoo-dev 2020-01-27 17:37:27 UTC
Created attachment 605470 [details]
temp.tbz2
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2020-05-21 12:16:13 UTC
*** Bug 722128 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2020-11-01 01:03:03 UTC
The bug has been closed via the following commit(s):

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

commit e32a7e93e5f494ad743e00972496b7261dcbc8c3
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2020-11-01 01:02:41 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2020-11-01 01:02:41 +0000

    net-misc/bird: Add build fix for gcc-10
    
    Closes: https://bugs.gentoo.org/706704
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 net-misc/bird/bird-2.0.7.ebuild            |  4 ++++
 net-misc/bird/files/bird-2.0.7-gcc10.patch | 12 ++++++++++++
 2 files changed, 16 insertions(+)