Subject: crtbegin.c won't compile
To: None <netbsd-help@netbsd.org>
From: Chrissy Lloyd <strawberry@toth.org.uk>
List: netbsd-help
Date: 05/26/1999 09:31:41
On running 'make build' in /usr/src I get:

all ===> lib/csu/i386_elf
cc -O2 -fPIC -Werror  -DLIBC_SCCS -DPIC -DDYNAMIC -DELFSIZE=32 -I/usr/src/lib/csu/i386_elf/../../../libexec/ld.elf_so -I/usr/src/lib/csu/i386_elf/../common_elf -c /usr/src/lib/csu/i386_elf/../common_elf/crtbegin.c -o crtbegin.o
/usr/src/lib/csu/i386_elf/../common_elf/crtbegin.c:62: section attributes are not supported for this target
/usr/src/lib/csu/i386_elf/../common_elf/crtbegin.c:64: section attributes are not supported for this target
/usr/src/lib/csu/i386_elf/../common_elf/crtbegin.c:94: section attributes are not supported for this target
/usr/src/lib/csu/i386_elf/../common_elf/crtbegin.c:112: section attributes are not supported for this target
*** Error code 1

I am using NetBSD1.3/i386 with a 1.4_BETA kernel.
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)