This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [ANNOUNCEMENT] GDB 7.0 released!
- From: Eli Zaretskii <eliz at gnu dot org>
- To: gdb at sourceware dot org
- Date: Wed, 07 Oct 2009 12:28:22 +0200
- Subject: Re: [ANNOUNCEMENT] GDB 7.0 released!
- References: <announce.20091006174009.GA15551@adacore.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Tue, 6 Oct 2009 10:40:09 -0700
> From: Joel Brobecker <brobecker@adacore.com>
>
> GDB 7.0 released!
>
> Release 7.0 of GDB, the GNU Debugger, is now available via anonymous
> FTP. GDB is a source-level debugger for Ada, C, C++, Objective-C,
> Pascal and many other languages. GDB can target (i.e., debug programs
> running on) more than a dozen different processor architectures, and GDB
> itself can run on most popular GNU/Linux, Unix and Microsoft Windows
> variants.
Thanks.
FWIW, it failed to build for me on
Linux fencepost 2.6.16.29-xen #1 SMP Wed Dec 6 07:32:36 EST 2006 x86_64 GNU/Linux
The reason seems to be that it didn't find libiconv:
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 eliz/lib/libexpat.so -Wl,-rpath -Wl,eliz/lib ../libiberty/libiberty.a gnulib/libgnu.a -ldl -rdynamic
libgdb.a(charset.o): In function `validate':eliz/gdb-7.0/gdb/charset.c:284: undefined reference to `libiconv_open'
:eliz/gdb-7.0/gdb/charset.c:288: undefined reference to `libiconv_close'
:eliz/gdb-7.0/gdb/charset.c:290: undefined reference to `libiconv_open'
:eliz/gdb-7.0/gdb/charset.c:294: undefined reference to `libiconv_close'
libgdb.a(charset.o): In function `convert_between_encodings':eliz/gdb-7.0/gdb/charset.c:434: undefined reference to `libiconv_open'
:eliz/gdb-7.0/gdb/charset.c:456: undefined reference to `libiconv'
libgdb.a(charset.o): In function `make_wchar_iterator':eliz/gdb-7.0/gdb/charset.c:540: undefined reference to `libiconv_open'
libgdb.a(charset.o): In function `do_cleanup_iterator':eliz/gdb-7.0/gdb/charset.c:561: undefined reference to `libiconv_close'
libgdb.a(charset.o): In function `wchar_iterate':eliz/gdb-7.0/gdb/charset.c:598: undefined reference to `libiconv'
libgdb.a(charset.o): In function `cleanup_iconv':eliz/gdb-7.0/gdb/charset.c:412: undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
Where was it supposed to detect how to link against libiconv?
(I eventually forced it to DTRT by specifying the necessary arguments
to the linker in LOADLIBES.)