Subject: Problem with -current src/lib/csu/common_elf/crtbegin.c
To: NetBSD Current-Users <current-users@netbsd.org>
From: Brian Chase <vaxzilla@jarai.org>
List: current-users
Date: 12/02/2003 23:05:33
The latest version of the src/lib/csu/common_elf/crtbegin.c file in
-current, updated just today, causes some compilation warnings (which
are treated as errors).
dependall ===> vax_elf
# create vax_elf/crtbegin.d
CC=/n0/work/netbsd-current/src/obj/tooldir.NetBSD-1.6.1-vax/bin/vax--netbsdelf-gcc /n0/work/netbsd-current/src/obj/tooldir.NetBSD-1.6.1-vax/bin/nbmkdep -f crtbegin.d -- -I- -I/n0/work/netbsd-current/src/lib/csu/vax_elf -DLIBC_SCCS -DPIC -DDYNAMIC -DELFSIZE=32 -I/n0/work/netbsd-current/src/libexec/ld.elf_so -I/n0/work/netbsd-current/src/lib/csu/vax_elf/../common_elf -I/n0/work/netbsd-current/src/lib/libc/dlfcn -DDWARF2_EH -DJCR -DDSO_HANDLE -nostdinc -isystem /n0/work/netbsd-current/src/obj/destdir.vax/usr/include /n0/work/netbsd-current/src/lib/csu/vax_elf/../common_elf/crtbegin.c
# create vax_elf/.depend
rm -f .depend
CC=/n0/work/netbsd-current/src/obj/tooldir.NetBSD-1.6.1-vax/bin/vax--netbsdelf-gcc /n0/work/netbsd-current/src/obj/tooldir.NetBSD-1.6.1-vax/bin/nbmkdep -d -f .depend -s .o\ .ln crt0.d crtbegin.d crtbeginS.d crtend.d crtendS.d crti.d crtn.d
/n0/work/netbsd-current/src/obj/tooldir.NetBSD-1.6.1-vax/bin/vax--netbsdelf-gcc -O2 -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized -Wreturn-type -Wswitch -Wshadow -Werror -I- -I/n0/work/netbsd-current/src/lib/csu/vax_elf -DLIBC_SCCS -DPIC -DDYNAMIC -DELFSIZE=32 -I/n0/work/netbsd-current/src/libexec/ld.elf_so -I/n0/work/netbsd-current/src/lib/csu/vax_elf/../common_elf -I/n0/work/netbsd-current/src/lib/libc/dlfcn -DDWARF2_EH -DJCR -DDSO_HANDLE -nostdinc -isystem /n0/work/netbsd-current/src/obj/destdir.vax/usr/include -c /n0/work/netbsd-current/src/lib/csu/vax_elf/../common_elf/crtbegin.c -o crtbegin.o
cc1: warnings being treated as errors
/n0/work/netbsd-current/src/lib/csu/vax_elf/../common_elf/crtbegin.c:138: warning: `__used__' attribute directive ignored
/n0/work/netbsd-current/src/lib/csu/vax_elf/../common_elf/crtbegin.c:138: warning: `__noinline__' attribute directive ignored
/n0/work/netbsd-current/src/lib/csu/vax_elf/../common_elf/crtbegin.c:171: warning: `__used__' attribute directive ignored
/n0/work/netbsd-current/src/lib/csu/vax_elf/../common_elf/crtbegin.c:171: warning: `__noinline__' attribute directive ignored
*** Failed target: crtbegin.o
*** Failed command: /n0/work/netbsd-current/src/obj/tooldir.NetBSD-1.6.1-vax/bin/vax--netbsdelf-gcc -O2 -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized -Wreturn-type -Wswitch -Wshadow -Werror -I- -I/n0/work/netbsd-current/src/lib/csu/vax_elf -DLIBC_SCCS -DPIC -DDYNAMIC -DELFSIZE=32 -I/n0/work/netbsd-current/src/libexec/ld.elf_so -I/n0/work/netbsd-current/src/lib/csu/vax_elf/../common_elf -I/n0/work/netbsd-current/src/lib/libc/dlfcn -DDWARF2_EH -DJCR -DDSO_HANDLE -nostdinc -isystem /n0/work/netbsd-current/src/obj/destdir.vax/usr/include -c /n0/work/netbsd-current/src/lib/csu/vax_elf/../common_elf/crtbegin.c -o crtbegin.o.o
*** Error code 1
Stop.
nbmake: stopped in /n0/work/netbsd-current/src/lib/csu/vax_elf
-brian.