Subject: Re: undefined reference to `__do_global_dtors_aux' when building -current
To: Perry E. Metzger <perry@piermont.com>
From: D'Arcy J.M. Cain <darcy@druid.net>
List: current-users
Date: 02/07/2003 16:55:36
Thus spake Perry E. Metzger
> Charlie Root <root@druid.net> writes:

Oops.  I hate when I do that.  It's me.  :-)

> > I get the above error when I try to build current as of today.  It happens
> > when I start in gnu/libexec/uucp.  If I remove libexec from gnu/Makefile
> > the error just moves to the next point.  My command line is;
> > 
> > DESTDIR=/usr/dest ./build.sh build
> > 
> > Anyone seen this?
> 
> Can you cut and paste the last dozen lines printed during the build
> before the bomb?

Sure can.

dependall ===> gnu/libexec/uucp/doc
makeinfo  --no-split -o uucp.info /usr/NetBSD/cvs/src/gnu/libexec/uucp/doc/uucp.texi
dependall ===> gnu/libexec/uucp/cu
mkdep -a  -I/usr/NetBSD/cvs/src/gnu/libexec/uucp/cu/../common_sources -DVERSION=\"1.06.1\" -DPOSIX_HEADERS -nostdinc -isystem /usr/dest/usr/include  /usr/NetBSD/cvs/src/gnu/libexec/uucp/cu/cu.c /usr/NetBSD/cvs/src/gnu/libexec/uucp/cu/../common_sources/prot.c /usr/NetBSD/cvs/src/gnu/libexec/uucp/cu/../common_sources/log.c /usr/NetBSD/cvs/src/gnu/libexec/uucp/cu/../common_sources/chat.c /usr/NetBSD/cvs/src/gnu/libexec/uucp/cu/../common_sources/conn.c /usr/NetBSD/cvs/src/gnu/libexec/uucp/cu/../common_sources/copy.c
rm -f .gdbinit
echo "set solib-absolute-prefix /usr/dest" > .gdbinit
cc -O2 -O9 -mcpu=i686 -march=i686 -O9 -mcpu=i686 -march=i686 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-uninitialized -Wno-format-zero-length -Werror  -I/usr/NetBSD/cvs/src/gnu/libexec/uucp/cu/../common_sources -DVERSION=\"1.06.1\" -DPOSIX_HEADERS -nostdinc -isystem /usr/dest/usr/include  -c /usr/NetBSD/cvs/src/gnu/libexec/uucp/cu/cu.c
cc -O2 -O9 -mcpu=i686 -march=i686 -O9 -mcpu=i686 -march=i686 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-uninitialized -Wno-format-zero-length -Werror  -I/usr/NetBSD/cvs/src/gnu/libexec/uucp/cu/../common_sources -DVERSION=\"1.06.1\" -DPOSIX_HEADERS -nostdinc -isystem /usr/dest/usr/include  -c /usr/NetBSD/cvs/src/gnu/libexec/uucp/cu/../common_sources/prot.c
cc -O2 -O9 -mcpu=i686 -march=i686 -O9 -mcpu=i686 -march=i686 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-uninitialized -Wno-format-zero-length -Werror  -I/usr/NetBSD/cvs/src/gnu/libexec/uucp/cu/../common_sources -DVERSION=\"1.06.1\" -DPOSIX_HEADERS -nostdinc -isystem /usr/dest/usr/include  -c /usr/NetBSD/cvs/src/gnu/libexec/uucp/cu/../common_sources/log.c
cc -O2 -O9 -mcpu=i686 -march=i686 -O9 -mcpu=i686 -march=i686 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-uninitialized -Wno-format-zero-length -Werror  -I/usr/NetBSD/cvs/src/gnu/libexec/uucp/cu/../common_sources -DVERSION=\"1.06.1\" -DPOSIX_HEADERS -nostdinc -isystem /usr/dest/usr/include  -c /usr/NetBSD/cvs/src/gnu/libexec/uucp/cu/../common_sources/chat.c
cc -O2 -O9 -mcpu=i686 -march=i686 -O9 -mcpu=i686 -march=i686 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-uninitialized -Wno-format-zero-length -Werror  -I/usr/NetBSD/cvs/src/gnu/libexec/uucp/cu/../common_sources -DVERSION=\"1.06.1\" -DPOSIX_HEADERS -nostdinc -isystem /usr/dest/usr/include  -c /usr/NetBSD/cvs/src/gnu/libexec/uucp/cu/../common_sources/conn.c
cc -O2 -O9 -mcpu=i686 -march=i686 -O9 -mcpu=i686 -march=i686 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-uninitialized -Wno-format-zero-length -Werror  -I/usr/NetBSD/cvs/src/gnu/libexec/uucp/cu/../common_sources -DVERSION=\"1.06.1\" -DPOSIX_HEADERS -nostdinc -isystem /usr/dest/usr/include  -c /usr/NetBSD/cvs/src/gnu/libexec/uucp/cu/../common_sources/copy.c
cc   -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/NetBSD/cvs/src/gnu/libexec/uucp/libunix/obj.i386/libunix.a /usr/NetBSD/cvs/src/gnu/libexec/uucp/libuuconf/obj.i386/libuuconf.a /usr/NetBSD/cvs/src/gnu/libexec/uucp/libuucp/obj.i386/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'
*** Error code 1

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.