NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/50226: building rump.ping6 fails on static builds



>Number:         50226
>Category:       toolchain
>Synopsis:       building rump.ping6 fails on static builds
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 10 10:10:00 +0000 2015
>Originator:     Martin Husemann
>Release:        NetBSD 7.99.21
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD seven-days-to-the-wolves.aprisoft.de 7.99.21 NetBSD 7.99.21 (GENERIC) #25: Wed Aug 26 09:03:49 CEST 2015 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/ssd/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

Trying to build rump.ping6 for sun2 fails:

#      link  ping6/rump.ping6
/ssd/tools/bin/m68010--netbsdelf-gcc    --sysroot=/ssd/hosts/sun2     -o rump.ping6  ping6.o ping6_rumpops.o getaddrinfo.o getifaddrs.o getnameinfo.o if_indextoname.o if_nametoindex.o  -Wl,-dynamic-linker=/libexec/ld.elf_so -Wl,-rpath,/lib  -L=/lib -lipsec -lm    -lrumpclient
/ssd/hosts/sun2/usr/lib/libc.a(getaddrinfo.o): In function `allocaddrinfo':
getaddrinfo.c:(.text+0x6c0): multiple definition of `allocaddrinfo'
getaddrinfo.o:/ssd/src/sbin/ping6/../../lib/libc/net/getaddrinfo.c:940: first defined here
collect2: error: ld returned 1 exit status


>How-To-Repeat:

Try to build sun2

>Fix:
n/a



Home | Main Index | Thread Index | Old Index