Subject: Re: Compiling problem in lib/csu/i386_elf
To: Nate Johnston <firstname.lastname@example.org>
From: Scott Aaron Bamford <email@example.com>
Date: 02/29/2000 22:18:43
> I have a series of interlocking problems that are causing my compile to
> die. I am in the midst of upgrading to -current, and going through the
> a.out to ELF transition. System is an IBM Thinkpad 600E running
> NetBSD/i386-current (1.4T), upgraded from 1.4.1.
> Here's the output of make in /usr/src:
> all ===> lib
> all ===> lib/csu
> 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
> [more error messages]
i had the same problem when i frist moved from 1.4.1 to current.
is you object OBJECT_FMT set up right?
i fixed the problem by
cd $SRC/gnu/lib/libbdf && make
cd $SRC && make includes
cd $SRC/lib/csu && make all install
try the script on
if that fails (what i suggested above is basicly a cut down of the
sections involved in your question from that script).
firstname.lastname@example.org | email@example.com