Subject: problem building netbsd-3 distribution
To: None <current-users@NetBSD.org>
From: =?UTF-8?Q?C=C3=A9sar_Catri=C3=A1n?= C. <ccatrian@eml.cc>
List: current-users
Date: 08/18/2005 09:31:15
I had this problem trying to build netbsd-3 with sources of the past 12 hours:


$ ./build.sh -U -u -x distribution

#      link  ld.elf_so
/home/cetrox/src/src/tooldir.NetBSD-2.0-i386/bin/i386--netbsdelf-gcc -shared -symbolic -nostartfiles -Wl,-Wl,-rpath-link,/usr/pkg/lib -Wl,-non_shared -Wl,-e -Wl,.rtld_start -o ld.elf_so rtld_start.o mdreloc.o rtld.o reloc.o symbol.o malloc.o xmalloc.o xprintf.o debug.o map_object.o load.o search.o headers.o paths.o -L/home/cetrox/src/src/lib/libc/obj -L/home/cetrox/src/src/destdir.i386/usr/lib -lc_pic
/home/cetrox/src/src/tooldir.NetBSD-2.0-i386/lib/gcc-lib/i386--netbsdelf/3.3.3/../../../../i386--netbsdelf/bin/ld: unrecognized option '-Wl'
/home/cetrox/src/src/tooldir.NetBSD-2.0-i386/lib/gcc-lib/i386--netbsdelf/3.3.3/../../../../i386--netbsdelf/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status

*** Failed target:  ld.elf_so
*** Failed command: /home/cetrox/src/src/tooldir.NetBSD-2.0-i386/bin/i386--netbsdelf-gcc -shared -symbolic -nostartfiles -Wl,-Wl,-rpath-link,/usr/pkg/lib -Wl,-non_shared -Wl,-e -Wl,.rtld_start -o ld.elf_so rtld_start.o mdreloc.o rtld.o reloc.o symbol.o malloc.o xmalloc.o xprintf.o debug.o map_object.o load.o search.o headers.o paths.o -L/home/cetrox/src/src/lib/libc/obj -L/home/cetrox/src/src/destdir.i386/usr/lib -lc_pic
*** Error code 1

Stop.
nbmake: stopped in /home/cetrox/src/src/libexec/ld.elf_so
...

Regards

César Catrián C.
http://mioficina.cjc.cl/