Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 1997 21:34:40 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        current@FreeBSD.org, scrappy@hub.org
Subject:   Re: make world error in rtld: -assert?
Message-ID:  <199704161134.VAA09805@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>	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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704161134.VAA09805>