NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-arm/47139: multiple definition of __umodsi3 on arm
>Number: 47139
>Category: port-arm
>Synopsis: multiple definition of __umodsi3 on arm
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-arm-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 29 04:35:00 +0000 2012
>Originator: SAITOH Masanobu
>Release: 6.0
>Organization:
>Environment:
Architecture: arm
Machine: evbarm
>Description:
When compiling usr.bin/netstat with LDSTATIC=-static, object in
ibc.a and libgcc.a confilct.
cd usr.bin/netstat
env LDSTATIC=-static make dependall
(snip)
# link netstat/netstat
gcc -static -o netstat atalk.o bpf.o fast_ipsec.o if.o inet.o inet6.o
ipsec.o iso.o main.o mbuf.o mroute.o mroute6.o pfkey.o pfsync.o show.o route.o
tp_astring.o unix.o vtw.o netstat_hostops.o -lkvm -Wl,-rpath-link,/lib
-L=/lib
/usr/lib/libc.a(divsi3.o): In function `__umodsi3':
(.text+0x0): multiple definition of `__umodsi3'
/usr/lib/libgcc.a(_umodsi3.o):(.text+0x0): first defined here
/usr/lib/libc.a(divsi3.o): In function `__modsi3':
(.text+0x18): multiple definition of `__modsi3'
/usr/lib/libgcc.a(_modsi3.o):(.text+0x0): first defined here
/usr/lib/libc.a(divsi3.o): In function `__udivsi3':
(.text+0x40): multiple definition of `__udivsi3'
/usr/lib/libgcc.a(_udivsi3.o):(.text+0x0): first defined here
*** Error code 1
Stop.
The output is alomost the same as in -current.
>How-To-Repeat:
See above.
>Fix:
I don't know.
Home |
Main Index |
Thread Index |
Old Index