Subject: lib/15248: crtbegin.c doesn't compile
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jgoerzen@complete.org>
List: netbsd-bugs
Date: 01/14/2002 20:28:40
>Number: 15248
>Category: lib
>Synopsis: crtbegin.c doesn't compile
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 14 17:30:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.5ZA
>Organization:
>Environment:
System: NetBSD sam 1.5ZA NetBSD 1.5ZA (SAM) #3: Mon Jan 14 10:19:39 EST 2002 jgoerzen@sam:/home/usr2/src/sys/arch/i386/compile/SAM i386
Architecture: i386
Machine: i386
>Description:
When compiling with ./build.sh with a clean, freshly checked-out tree:
dependall ===> i386_elf
/usr/obj/home/usr2/src/tools/tools.NetBSD-1.5ZA-i386/bin/i386--netbsdelf-gcc -O2 -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wpointer-arith -Wswitch -Wshadow -Werror -I- -I/home/usr2/src/lib/csu/i386_elf -DLIBC_SCCS -DPIC -DDYNAMIC -DELFSIZE=32 -I/home/usr2/src/lib/csu/i386_elf/../../../libexec/ld.elf_so -I/home/usr2/src/lib/csu/i386_elf/../common_elf -I/home/usr2/src/lib/csu/i386_elf/../../libc/dlfcn -DDWARF2_EH -DJCR -DDSO_HANDLE -nostdinc -isystem /usr/include -c /home/usr2/src/lib/csu/i386_elf/../common_elf/crtbegin.c -o crtbegin.o
In file included from /home/usr2/src/lib/csu/i386_elf/dot_init.h:37,
from /home/usr2/src/lib/csu/i386_elf/../common_elf/crtbegin.c:59:
/usr/include/machine/asm.h:122: warning: `__KERNEL_RCSID' redefined
/usr/include/sys/cdefs_elf.h:115: warning: this is the location of the previous
definition
*** Error code 1
Stop.
nbmake: stopped in /home/usr2/src/lib/csu/i386_elf
This also occurs with other permutations of build.sh options.
>How-To-Repeat:
cd /usr/src
./build.sh
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
Running -current synced via cvsup on January 14, 2001