From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Pelley To: binutils@sources.redhat.com Subject: NetBSD and 2.11.2 Date: Mon, 27 Aug 2001 07:45:00 -0000 Message-id: <3B8A5D09.A977C0FA@solidum.com> X-SW-Source: 2001-08/msg00627.html I'm attempting to use binutils 2.11.2 natively for both NetBSD 1.4.3 and 1.5.1. Binutils compiles ok, but when I try to use it to compile gcc (2.95.1 or 2.95.3), I get errors as follows: gcc -c -DHAVE_CONFIG_H -L/vol/tools/sw_build/src/lib_i586-pc-netbsd1.4.3 -Wl,-rpath,/vol/tools/sw_build/src/lib_i586-pc-netbsd1.4.3 -I. -I/vol/tools/sw_build/src/gcc-2.95.1/libiberty/../include -fpic /vol/tools/sw_build/src/gcc-2.95.1/libiberty/argv.c -o pic/argv.o /tmp/cceXQw8G.s: Assembler messages: /tmp/cceXQw8G.s:16: Error: cannot represent relocation type BFD_RELOC_386_GOTPC /tmp/cceXQw8G.s:44: Error: cannot represent relocation type BFD_RELOC_386_PLT32 /tmp/cceXQw8G.s:71: Error: cannot represent relocation type BFD_RELOC_386_PLT32 /tmp/cceXQw8G.s:78: Error: cannot represent relocation type BFD_RELOC_386_PLT32 /tmp/cceXQw8G.s:93: Error: cannot represent relocation type BFD_RELOC_386_PLT32 ... more BFD_ errors. I also tried the binutils 010827 snapshot with the same result. One fellow mentioned a similar problem in http://sources.redhat.com/ml/binutils/2000-12/msg00186.html . Any thoughts? Thanks! Mike.