This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/11885] Unkown symbol format 'elf32-sparc'
- From: "strikosn at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 5 Aug 2010 14:49:57 -0000
- Subject: [Bug gdb/11885] Unkown symbol format 'elf32-sparc'
- References: <20100805140238.11885.strikosn@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From strikosn at gmail dot com 2010-08-05 14:49 -------
HAVE_ELF was indeed undefined. Browsing through gdb/config.log I found that
there was an unresolved symbol:
configure:13576: checking for ELF support in BFD
configure:13595: sparc-linux-gcc -o conftest -g -O2 -I./../include -I../bfd
-I./../bfd -L../bfd -L../libiberty conftest.c -lbfd -liberty -lncurses -lz -lm
>&5
libbfd.a(cache.o): In function `bfd_open_file':
gdb-7.1/bfd/cache.c:577: undefined reference to `unlink_if_ordinary'
collect2: ld returned 1 exit status
After #defining HAVE_ELF 1 in gdb/config.h, I tried to compile but failed again with
sparc-linux-gcc -g -O2 \
-o gdb gdb.o libgdb.a \
../readline/libreadline.a ../opcodes/libopcodes.a ../bfd/libbfd.a
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lncurses -lz -lm
../libiberty/libiberty.a gnulib/libgnu.a -ldl -rdynamic
libgdb.a(dbxread.o): In function `start_psymtab':
gdb-7.1/gdb/dbxread.c:2205: undefined reference to `elfstab_offset_sections'
collect2: ld returned 1 exit status
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11885
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.