NetBSD-Bugs archive

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

bin/45926: ntpd build fails on MKPIC=no



>Number:         45926
>Category:       bin
>Synopsis:       ntpd build fails on MKPIC=no
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 04 15:00:01 +0000 2012
>Originator:     Izumi Tsutsui
>Release:        NetBSD 5.99.64
>Organization:
>Environment:
System: NetBSD/i386 updated around 201202041400Z
but probably all arch have the same problem
>Description:
As seen in releng sun2 (which don't have PIC support) build log
http://releng.netbsd.org/builds/HEAD/201202032210Z/sun2.build.failed
build fails in src/external/bsd/ntp/bin/ntpd:
---
/home/builds/ab/HEAD/sun2/201202032210Z-obj/home/builds/ab/HEAD/src/external/bsd/ntp/lib/libntp/libntp.a(emalloc.o):
 In function `emalloc':
emalloc.c:(.text+0xc2): multiple definition of `emalloc'
---
because our libutil also has emalloc(3).
Note libutil is necessary for snprintb(3) there.

>How-To-Repeat:
$ MKPIC=no build.sh -m i386 -U build

>Fix:
No idea.



Home | Main Index | Thread Index | Old Index