From owner-freebsd-current Wed Apr 16 04:41:19 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA21391 for current-outgoing; Wed, 16 Apr 1997 04:41:19 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA21371 for ; Wed, 16 Apr 1997 04:41:05 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id VAA09805; Wed, 16 Apr 1997 21:34:40 +1000 Date: Wed, 16 Apr 1997 21:34:40 +1000 From: Bruce Evans Message-Id: <199704161134.VAA09805@godzilla.zeta.org.au> To: current@FreeBSD.org, scrappy@hub.org Subject: Re: make world error in rtld: -assert? Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > I just happened to look at my 'make world' screen when it >was going in to do a 'make depend' of rtld, and noticed the following >error(s): > > >===> rtld >rm -f .depend >mkdep -f .depend -a -I/usr/src/gnu/usr.bin/ld/rtld/.. -I/usr/src/gnu/usr.bin/ld/rtld -I/usr/src/gnu/usr.bin/ld/rtld/../i386 -DRTLD /usr/src/gnu/usr.bin/ld/rtld/../i386/mdprologue.S >mkdep -f .depend -a -I/usr/src/gnu/usr.bin/ld/rtld/.. -I/usr/src/gnu/usr.bin/ld/rtld -I/usr/src/gnu/usr.bin/ld/rtld/../i386 -DRTLD rtld.c malloc.c /usr/src/gnu/usr.bin/ld/rtld/../shlib.c /usr/src/gnu/usr.bin/ld/rtld/../i386/md.c /usr/src/gnu/usr.bin/ld/ >rtld/../support.c sbrk.c >cd /usr/src/gnu/usr.bin/ld/rtld; make _EXTRADEPEND >echo ld.so: `cc -Wl,-f -O2 -pipe -I/usr/src/gnu/usr.bin/ld/rtld/.. -I/usr/src/gnu/usr.bin/ld/rtld -I/usr/src/gnu/usr.bin/ld/rtld/../i386 -fpic -fno-function-cse -DRTLD -Bshareable -Bsymbolic -assert nosymbolic -lc_pic -lgcc_pic` >> .depend >cc: nosymbolic: No such file or directory >cc: file path prefix `symbolic' never used >cc: file path prefix `shareable' never used Fixed (except for the problem that a failed `make depend' leaves a wrong .depend file and isn't run again). >======[ portion of 'man ld' ]====== > > -assert keyword > This option has currently no effect. It is here for compatibility > with SunOS ld. All conditions which would cause a Sun assertion > to fail will currently always cause error or warning messages > from ld. > >==================================== > > Looking at the man page for ld, it looks like the -assert isn't >there for any reason, but I'm assuming the 'nosymbolic' is meant to be >the 'keyword' for the -assert? The error message is from cc, so the man page for ld doesn't apply. Bruce