This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/11885] Unkown symbol format 'elf32-sparc'


------- Additional Comments From strikosn at gmail dot com  2010-08-05 17:29 -------
Ok, it did compile. The source of the problem was not compiling with HAVE_ELF
which seemed to stem from a dependency problem between iberty and bfd libraries.
I was able to temporarily resolve by changing

--- ../gdb-7.1/gdb/configure	2010-08-05 20:16:06.000000000 +0300
+++ source/gdb-7.1/gdb/configure	2010-03-15 19:06:12.000000000 +0200
@@ -13572,7 +13572,7 @@
 CFLAGS="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd"
 LDFLAGS="$LDFLAGS -L../bfd -L../libiberty"
 intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
-LIBS="../libiberty/unlink-if-ordinary.o -lbfd -liberty $intl $LIBS"
+LIBS="-lbfd -liberty $intl $LIBS"
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF support in BFD" >&5
 $as_echo_n "checking for ELF support in BFD... " >&6; }
 if test "${gdb_cv_var_elf+set}" = set; then :


-- 


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]