Subject: 1.5 branch build failure
To: None <port-sparc@netbsd.org>
From: Jon Buller <jon@bullers.net>
List: port-sparc
Date: 07/28/2001 02:11:40
I was rebuilding my tree to remove the need to be careful with the
configs on one of my systems, due to the recent security advisories.
When doing the build with tools build around the beginning of April,
I got this:

all ===> lib/csu/sparc_elf
cc -O2 -fPIC -Werror   -DLIBC_SCCS -DPIC -DDYNAMIC -DELFSIZE=32 -I/usr/src/lib/csu/sparc_elf/../../../libexec/ld.elf_so -I/usr/src/lib/csu/sparc_elf/../common_elf -I/usr/src/lib/csu/sparc_elf/../../libc/dlfcn -c -DCRT0 /usr/src/lib/csu/sparc_elf/crt0.c -o crt0.o
In file included from /usr/src/lib/csu/sparc_elf/../common_elf/common.h:51,
                 from /usr/src/lib/csu/sparc_elf/crt0.c:38:
/usr/src/lib/csu/sparc_elf/../../../libexec/ld.elf_so/rtld.h:163: syntax error before `*'
/usr/src/lib/csu/sparc_elf/../../../libexec/ld.elf_so/rtld.h:164: syntax error before `*'
/usr/src/lib/csu/sparc_elf/../../../libexec/ld.elf_so/rtld.h:167: syntax error before `*'
/usr/src/lib/csu/sparc_elf/../../../libexec/ld.elf_so/rtld.h:168: syntax error before `*'
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.


It appears to be that Elf_Rela is undefined, but I'm not totally
sure.  Can someone tell me the trick to get my sources to compile
again? I did a make cleandir && make from /usr/src, after the first
build failed, but that didn't seem to help any.  Anyone care to
smack me with a clue by four in the low-level tools/libraries
department?

Jon