Subject: -current build failure (on i386)?
To: None <current-users@netbsd.org, port-i386@netbsd.org>
From: Rene Hexel <rh@netbsd.org>
List: current-users
Date: 12/05/2002 08:58:50
   For the last couple of days I've been experiencing build failures
on -current/i386.  Here is what I get when I do a
"./build.sh -D /usr/dest":

...
/usr/src.current/tools/obj/tools.NetBSD-1.6_STABLE-i386/bin/i386-- 
netbsdelf-gcc   -o cu -nostdlib   
-Wl,-rpath-link,/usr/dest/lib:/usr/dest/usr/lib  -L/usr/dest/lib  
/usr/dest/usr/lib/crt0.o /usr/dest/usr/lib/crti.o  
/usr/dest/usr/lib/crtbegin.o cu.o prot.o log.o chat.o conn.o copy.o  
/usr/src.current/gnu/libexec/uucp/libunix/obj/libunix.a  
/usr/src.current/gnu/libexec/uucp/libuuconf/obj/libuuconf.a  
/usr/src.current/gnu/libexec/uucp/libuucp/obj/libuucp.a  
-L/usr/dest/usr/lib  -lgcc -lc -lgcc /usr/dest/usr/lib/crtend.o  
/usr/dest/usr/lib/crtn.o
/usr/dest/usr/lib/crtbegin.o(.fini+0x1): undefined reference to  
`__do_global_dtors_aux'
collect2: ld returned 1 exit status
*** Error code 1

Stop.
nbmake: stopped in /usr/src.current/gnu/libexec/uucp/cu
*** Error code 1


   These are yesterday's sources.  I'm experiencing this on i386 only,
macppc worked fine.  The relevant settings in my /etc/mk.conf are:

MKOBJDIRS=	YES
OBJHOSTNAME=	YES

   The UPDATING document mentions a change to crt{begin,end}.o, but
only refers to libtool needing a rebuild.

   Ideas anyone?

   Cheers
       ,
    Rene