This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: gdb/2336: gdb 6.7 release unable to load elf symbol tables on solaris
- From: "Pedro Alves" <pedro_alves at portugalmail dot pt>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 23 Oct 2007 12:18:02 -0000
- Subject: Re: gdb/2336: gdb 6.7 release unable to load elf symbol tables on solaris
- Reply-to: "Pedro Alves" <pedro_alves at portugalmail dot pt>
The following reply was made to PR gdb/2336; it has been noted by GNATS.
From: "Pedro Alves" <pedro_alves@portugalmail.pt>
To: gdb-gnats@sources.redhat.com, nobody@sources.redhat.com, lmcghaw@connx.com,
gdb-prs@sources.redhat.com
Cc:
Subject: Re: gdb/2336: gdb 6.7 release unable to load elf symbol tables on solaris
Date: Tue, 23 Oct 2007 13:12:10 +0100
Hi,
I'm building HEAD on solaris 9, and I see the same problem.
After fixing a typo in your patch, gdb works again:
CFLAGS=-g -O2 -I../../src/gdb/../include -I../bfd -I../../src/gdb/../bfd
LDFLAGS= -L../bfd -L../libiberty
+ sed s,${top_builddir}/,
+ echo ${top_builddir}/../intl/libintl.a /usr/local/lib/libiconv.so
-L/usr/local/lib -L/usr/openwin/lib -L/usr/local/ssl/lib
-R/usr/local/lib
sed: -e expression #1, char 19: unterminated `s' command
intl=
LIBS=-ldl -lncurses -lsocket -lnsl -lm -lbfd -liberty
Missed a comma. I've also added a `g' to be on the safe side:
-+intl=`echo $LIBINTL | sed 's,${top_builddir}/,'`
++intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
Cheers,
Pedro Alves