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]

Re: gdb/2336: gdb 6.7 release unable to load elf symboltablesonsolaris


The following reply was made to PR gdb/2336; it has been noted by GNATS.

From: Daniel Jacobowitz <drow@false.org>
To: Larry McGhaw <lmcghaw@connx.com>
Cc: gdb-gnats@sourceware.org
Subject: Re: gdb/2336: gdb 6.7 release unable to load elf symbol
	tablesonsolaris
Date: Fri, 12 Oct 2007 17:45:31 -0400

 --vtzGhvizbBRQ85DL
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Fri, Oct 12, 2007 at 09:08:01PM -0000, Larry McGhaw wrote:
 >  configure:21848: checking for ELF support in BFD
 >  configure:21872: gcc -o conftest -g -O2 -I.././gdb/../include -I../bfd
 >  -I.././gdb/../bfd   -L../bfd -L../libiberty conftest.c -ldl -lcurses
 >  -lsocket -lnsl -lm  -lbfd -liberty ${top_builddir}/../intl/libintl.a
 >  /usr/local/lib/libiconv.so -L/usr/local/lib -L/usr/local/ssl/lib
 >  -R/usr/local/lib >&5
 >  gcc: ${top_builddir}/../intl/libintl.a: No such file or directory
 
 How did the literal string ${top_builddir} get there???  We're going
 to need some work here...
 
 Could you apply the attached patch and try again?
 
 -- 
 Daniel Jacobowitz
 CodeSourcery
 
 --vtzGhvizbBRQ85DL
 Content-Type: text/x-diff; charset=us-ascii
 Content-Disposition: attachment; filename="solaris-libintl-build.patch"
 
 ? z
 ? bfd/meraki-srec-changes.patch
 Index: Makefile.def
 ===================================================================
 RCS file: /cvs/src/src/Makefile.def,v
 retrieving revision 1.84
 diff -u -p -r1.84 Makefile.def
 --- Makefile.def	11 Oct 2007 20:32:36 -0000	1.84
 +++ Makefile.def	12 Oct 2007 21:40:24 -0000
 @@ -316,10 +316,9 @@ dependencies = { module=all-gnattools; o
  dependencies = { module=configure-mpfr; on=all-gmp; };
  
  // Host modules specific to gdb.
 -dependencies = { module=configure-gdb; on=configure-intl; };
 +dependencies = { module=configure-gdb; on=all-intl; };
  dependencies = { module=configure-gdb; on=configure-sim; };
  dependencies = { module=configure-gdb; on=all-bfd; };
 -dependencies = { module=all-gdb; on=all-intl; };
  dependencies = { module=all-gdb; on=all-libiberty; };
  dependencies = { module=all-gdb; on=all-opcodes; };
  dependencies = { module=all-gdb; on=all-readline; };
 Index: Makefile.in
 ===================================================================
 RCS file: /cvs/src/src/Makefile.in,v
 retrieving revision 1.272
 diff -u -p -r1.272 Makefile.in
 --- Makefile.in	11 Oct 2007 20:32:36 -0000	1.272
 +++ Makefile.in	12 Oct 2007 21:40:27 -0000
 @@ -51499,10 +51499,9 @@ configure-stageb3g2-mpfr: maybe-all-stag
  configure-stage4-mpfr: maybe-all-stage4-gmp
  configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
  configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
 -configure-gdb: maybe-configure-intl
 +configure-gdb: maybe-all-intl
  configure-gdb: maybe-configure-sim
  configure-gdb: maybe-all-bfd
 -all-gdb: maybe-all-intl
  all-gdb: maybe-all-libiberty
  all-gdb: maybe-all-opcodes
  all-gdb: maybe-all-readline
 Index: gdb/configure
 ===================================================================
 RCS file: /cvs/src/src/gdb/configure,v
 retrieving revision 1.231
 diff -u -p -r1.231 configure
 --- gdb/configure	29 Sep 2007 20:53:45 -0000	1.231
 +++ gdb/configure	12 Oct 2007 21:40:29 -0000
 @@ -21913,7 +21913,8 @@ OLD_LDFLAGS=$LDFLAGS
  OLD_LIBS=$LIBS
  CFLAGS="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd"
  LDFLAGS="$LDFLAGS -L../bfd -L../libiberty"
 -LIBS="$LIBS -lbfd -liberty $LIBINTL"
 +intl=`echo $LIBINTL | sed 's,${top_builddir}/,'`
 +LIBS="$LIBS -lbfd -liberty $intl"
  echo "$as_me:$LINENO: checking for ELF support in BFD" >&5
  echo $ECHO_N "checking for ELF support in BFD... $ECHO_C" >&6
  if test "${gdb_cv_var_elf+set}" = set; then
 Index: gdb/configure.ac
 ===================================================================
 RCS file: /cvs/src/src/gdb/configure.ac,v
 retrieving revision 1.53
 diff -u -p -r1.53 configure.ac
 --- gdb/configure.ac	29 Sep 2007 20:53:46 -0000	1.53
 +++ gdb/configure.ac	12 Oct 2007 21:40:29 -0000
 @@ -1301,7 +1301,8 @@ OLD_LDFLAGS=$LDFLAGS
  OLD_LIBS=$LIBS
  CFLAGS="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd"
  LDFLAGS="$LDFLAGS -L../bfd -L../libiberty"
 -LIBS="$LIBS -lbfd -liberty $LIBINTL"
 +intl=`echo $LIBINTL | sed 's,${top_builddir}/,'`
 +LIBS="$LIBS -lbfd -liberty $intl"
  AC_CACHE_CHECK([for ELF support in BFD], gdb_cv_var_elf,
  [AC_TRY_LINK(
  [#include <stdlib.h>
 
 --vtzGhvizbBRQ85DL--


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