BFD internal error while compiling lapack
Hello, I am using binutils version 2.16.1cvs20060413-1 from debian sarge, and see the following error when compiling lapack (http://www.netlib.org/lapack/): ar cr ../lapack_LINUX.a zbdsqr.o zgbbrd.o zgbcon.o zgbequ.o zgbrfs.o < snip the listing of a whole bunch more .o files > BFD: BFD 2.16.91 20060413 Debian GNU/Linux internal error, aborting at ../../bfd/elfcode.h line 190 in bfd_elf32_swap_symbol_in BFD: Please report this bug. The .o's were created using: g77 -v Reading specs from /usr/lib/gcc/i486-linux-gnu/3.4.6/specs Configured with: ../src/configure -v --enable-languages=c,c++,f77,pascal --prefix=/usr --libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --program-suffix=-3.4 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --with-tune=i686 i486-linux-gnu Thread model: posix gcc version 3.4.6 (Debian 3.4.6-1) Any pointers would be appreciated. Glen Mabey (please cc) ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
Re: BFD internal error while compiling lapack
On Wed, May 31, 2006 at 02:45:55PM -0500, Glen W. Mabey wrote: > I am using binutils version 2.16.1cvs20060413-1 from debian sarge, and Hmm, I wonder what debian have done to binutils? You probably should report this problem to them if it persists. > ar cr ../lapack_LINUX.a zbdsqr.o zgbbrd.o zgbcon.o zgbequ.o zgbrfs.o > > < snip the listing of a whole bunch more .o files > > > BFD: BFD 2.16.91 20060413 Debian GNU/Linux internal error, aborting at > ../../bfd/elfcode.h line 190 in bfd_elf32_swap_symbol_in This error means that a symbol has an st_shndx field equal to 0x, but no SHT_SYMTAB_SHNDX section was found. ELF symbols normally only use 16-bit section indices. 0x should only occur if the object has more than 64k sections. I think that is unlikely for lapack, so the error is probably due to some sort of file corruption. -- Alan Modra IBM OzLabs - Linux Technology Centre ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils