Hello!
During my attempt to build 5.0-current using 4.2-BETA, I stumbled
upon the following error:
[...]
gzip -cn /opt/src/gnu/usr.bin/ld/ld.1aout > ld.1aout.gz
cc -O -pipe -mcpu=i686 -march=i686 -I/opt/src/gnu/usr.bin/ld
-I/opt/src/gnu/usr.bin/ld/../../../libexec/rtld-aout
-I/opt/src/gnu/usr.bin/ld/../../../libexec/rtld-aout/i386
-I/opt/src/gnu/usr.bin/ld/../../../contrib/gcc -DIN_GCC -DDEMANGLE_CPLUSPLUS
-DFREEBSD_AOUT -I/usr/obj/opt/src/i386/usr/include -static -o ld ld.o symbol.o
lib.o shlib.o warnings.o support.o rrs.o xbits.o md.o cplus-dem.o
cplus-dem.o: In function `cplus_demangle':
cplus-dem.o(.text+0x819): undefined reference to `cplus_demangle_new_abi'
*** Error code 1
1 error
[...]
A surprisingly simple patch fixed it:
+++ gnu/usr.bin/ld/Makefile Mon Jan 3 05:41:11 2000
+++ gnu/usr.bin/ld/Makefile Fri Dec 15 00:40:07 2000
@@ -9,5 +9,5 @@
MAN1aout=ld.1aout
SRCS= ld.c symbol.c lib.c shlib.c warnings.c support.c rrs.c xbits.c md.c \
- cplus-dem.c
+ cplus-dem.c cp-demangle.c dyn-string.c
CFLAGS+= -I${.CURDIR} -I${RTLD} -I${RTLD}/${MACHINE_ARCH} \
-I${GCCDIR} -DIN_GCC -DDEMANGLE_CPLUSPLUS -DFREEBSD_AOUT
The Makefile did not change for almost a year, but some changes were
-mi
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message