Debian Bug report logs - #509873
[libgdb-dev] Undefined symbols in libgdb.a

version graph

Package: libgdb-dev; Maintainer for libgdb-dev is (unknown);

Reported by: Mazen NEIFER <mazen.neifer@supaero.org>

Date: Sat, 27 Dec 2008 11:00:02 UTC

Severity: serious

Found in version gdb/6.8-3

Fixed in version gdb/6.8.50.20090628-1

Done: Daniel Jacobowitz <dan@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Daniel Jacobowitz <dan@debian.org>:
Bug#509873; Package libgdb-dev. (Sat, 27 Dec 2008 11:00:04 GMT) (full text, mbox, link).


Acknowledgement sent to Mazen NEIFER <mazen.neifer@supaero.org>:
New Bug report received and forwarded. Copy sent to Daniel Jacobowitz <dan@debian.org>. (Sat, 27 Dec 2008 11:00:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Mazen NEIFER <mazen.neifer@supaero.org>
To: submit@bugs.debian.org
Subject: [libgdb-dev] Undefined symbols in libgdb.a
Date: Sat, 27 Dec 2008 11:58:50 +0100
[Message part 1 (text/plain, inline)]
Package: libgdb-dev
Version: 6.8-3
Severity: serious

--- Please enter the report below this line. ---

fp-ide package needs libgdb.a to add support of debugger inside the IDE.
However the libgdb.a shipped by libgdb-dev package has some problems :
* Missing dependency to libbfd-dev virtual package or at least binutils-dev
  profiding it. Please have a look at the end of the log embedded in this mail.
You can get more information in http://bugs.freepascal.org/view.php?id=12636 and
in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473955

Thanks

Mazen Neifer,

PS : build log

/usr/lib/libgdb.a(exec.o): In function `generic_skip_trampoline_code':
(.text+0x0): multiple definition of `generic_skip_trampoline_code'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x0): first defined here
/usr/lib/libgdb.a(exec.o): In function `generic_skip_solib_resolver':
(.text+0x10): multiple definition of `generic_skip_solib_resolver'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x10): first defined here
/usr/lib/libgdb.a(exec.o): In function `generic_in_solib_return_trampoline':
(.text+0x20): multiple definition of `generic_in_solib_return_trampoline'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x20): first defined here
/usr/lib/libgdb.a(exec.o): In function `generic_in_function_epilogue_p':
(.text+0x30): multiple definition of `generic_in_function_epilogue_p'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x30): first defined here
/usr/lib/libgdb.a(exec.o): In function `core_addr_lessthan':
(.text+0x40): multiple definition of `core_addr_lessthan'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x40): first defined here
/usr/lib/libgdb.a(exec.o): In function `core_addr_greaterthan':
(.text+0x60): multiple definition of `core_addr_greaterthan'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x60): first defined here
/usr/lib/libgdb.a(exec.o): In function `core_addr_identity':
(.text+0x80): multiple definition of `core_addr_identity'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x80): first defined here
/usr/lib/libgdb.a(exec.o): In function `convert_from_func_ptr_addr_identity':
(.text+0x90): multiple definition of `convert_from_func_ptr_addr_identity'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x90): first defined here
/usr/lib/libgdb.a(exec.o): In function `no_op_reg_to_regnum':
(.text+0xa0): multiple definition of `no_op_reg_to_regnum'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xa0): first defined here
/usr/lib/libgdb.a(exec.o): In function `default_elf_make_msymbol_special':
(.text+0xb0): multiple definition of `default_elf_make_msymbol_special'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xb0): first defined here
/usr/lib/libgdb.a(exec.o): In function `default_coff_make_msymbol_special':
(.text+0xc0): multiple definition of `default_coff_make_msymbol_special'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xc0): first defined here
/usr/lib/libgdb.a(exec.o): In function `cannot_register_not':
(.text+0xd0): multiple definition of `cannot_register_not'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xd0): first defined here
/usr/lib/libgdb.a(exec.o): In function `generic_convert_register_p':
(.text+0xe0): multiple definition of `generic_convert_register_p'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xe0): first defined here
/usr/lib/libgdb.a(exec.o): In function `default_stabs_argument_has_addr':
(.text+0xf0): multiple definition of `default_stabs_argument_has_addr'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xf0): first defined here
/usr/lib/libgdb.a(exec.o): In function `generic_instruction_nullified':
(.text+0x100): multiple definition of `generic_instruction_nullified'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x100): first defined here
/usr/lib/libgdb.a(exec.o): In function `default_remote_register_number':
(.text+0x110): multiple definition of `default_remote_register_number'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x110): first defined here
/usr/lib/libgdb.a(exec.o): In function `selected_architecture_name':
(.text+0x120): multiple definition of `selected_architecture_name'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x120): first defined here
/usr/lib/libgdb.a(exec.o): In function `gdbarch_info_init':
(.text+0x970): multiple definition of `gdbarch_info_init'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x570): first defined here
/usr/lib/libgdb.a(exec.o): In function `_initialize_gdbarch_utils':
(.text+0xb40): multiple definition of `_initialize_gdbarch_utils'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x140): first defined here
/usr/lib/libgdb.a(exec.o): In function `selected_byte_order':
(.text+0xbe0): multiple definition of `selected_byte_order'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x1e0): first defined here
/usr/lib/libgdb.a(exec.o): In function `gdbarch_info_fill':
(.text+0xcb0): multiple definition of `gdbarch_info_fill'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x2b0): first defined here
/usr/lib/libgdb.a(exec.o): In function `gdbarch_from_bfd':
(.text+0xff0): multiple definition of `gdbarch_from_bfd'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x630): first defined here
/usr/lib/libgdb.a(exec.o): In function `set_gdbarch_from_file':
(.text+0x1510): multiple definition of `set_gdbarch_from_file'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x6d0): first defined here
/usr/lib/libgdb.a(exec.o): In function `gdbarch_update_p':
(.text+0x1970): multiple definition of `gdbarch_update_p'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x720): first defined here
/usr/lib/libgdb.a(exec.o): In function `initialize_current_architecture':
(.text+0x1a70): multiple definition of `initialize_current_architecture'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x820): first defined here
/usr/lib/libgdb.a(exec.o): In function `legacy_virtual_frame_pointer':
(.text+0x20d0): multiple definition of `legacy_virtual_frame_pointer'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xe80): first defined here
/usr/lib/libgdb.a(exec.o): In function `legacy_register_sim_regno':
(.text+0x2190): multiple definition of `legacy_register_sim_regno'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xf40): first defined here
/usr/bin/ld: cannot find libbfd.a


--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.26-1-686

Debian Release: 5.0
  500 unstable        ftp.fr.debian.org 

--- Package information. ---
Depends       (Version) | Installed
=======================-+-===========
                        | 


[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Daniel Jacobowitz <dan@debian.org>:
Bug#509873; Package libgdb-dev. (Sat, 27 Dec 2008 11:21:03 GMT) (full text, mbox, link).


Acknowledgement sent to Mazen NEIFER <mazen.neifer@supaero.org>:
Extra info received and forwarded to list. Copy sent to Daniel Jacobowitz <dan@debian.org>. (Sat, 27 Dec 2008 11:21:03 GMT) (full text, mbox, link).


Message #10 received at 509873@bugs.debian.org (full text, mbox, reply):

From: Mazen NEIFER <mazen.neifer@supaero.org>
To: 509873@bugs.debian.org
Subject: [libgdb-dev] Unresolved symbols
Date: Sat, 27 Dec 2008 12:18:50 +0100
[Message part 1 (text/plain, inline)]
Package: libgdb-dev
Version: 6.8-3

--- Please enter the report below this line. ---

After installing binutils-dev package the following error is got :

/usr/lib/libgdb.a(exec.o): In function `generic_skip_trampoline_code':
(.text+0x0): multiple definition of `generic_skip_trampoline_code'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x0): first defined here
/usr/lib/libgdb.a(exec.o): In function `generic_skip_solib_resolver':
(.text+0x10): multiple definition of `generic_skip_solib_resolver'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x10): first defined here
/usr/lib/libgdb.a(exec.o): In function `generic_in_solib_return_trampoline':
(.text+0x20): multiple definition of `generic_in_solib_return_trampoline'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x20): first defined here
/usr/lib/libgdb.a(exec.o): In function `generic_in_function_epilogue_p':
(.text+0x30): multiple definition of `generic_in_function_epilogue_p'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x30): first defined here
/usr/lib/libgdb.a(exec.o): In function `core_addr_lessthan':
(.text+0x40): multiple definition of `core_addr_lessthan'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x40): first defined here
/usr/lib/libgdb.a(exec.o): In function `core_addr_greaterthan':
(.text+0x60): multiple definition of `core_addr_greaterthan'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x60): first defined here
/usr/lib/libgdb.a(exec.o): In function `core_addr_identity':
(.text+0x80): multiple definition of `core_addr_identity'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x80): first defined here
/usr/lib/libgdb.a(exec.o): In function `convert_from_func_ptr_addr_identity':
(.text+0x90): multiple definition of `convert_from_func_ptr_addr_identity'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x90): first defined here
/usr/lib/libgdb.a(exec.o): In function `no_op_reg_to_regnum':
(.text+0xa0): multiple definition of `no_op_reg_to_regnum'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xa0): first defined here
/usr/lib/libgdb.a(exec.o): In function `default_elf_make_msymbol_special':
(.text+0xb0): multiple definition of `default_elf_make_msymbol_special'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xb0): first defined here
/usr/lib/libgdb.a(exec.o): In function `default_coff_make_msymbol_special':
(.text+0xc0): multiple definition of `default_coff_make_msymbol_special'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xc0): first defined here
/usr/lib/libgdb.a(exec.o): In function `cannot_register_not':
(.text+0xd0): multiple definition of `cannot_register_not'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xd0): first defined here
/usr/lib/libgdb.a(exec.o): In function `generic_convert_register_p':
(.text+0xe0): multiple definition of `generic_convert_register_p'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xe0): first defined here
/usr/lib/libgdb.a(exec.o): In function `default_stabs_argument_has_addr':
(.text+0xf0): multiple definition of `default_stabs_argument_has_addr'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xf0): first defined here
/usr/lib/libgdb.a(exec.o): In function `generic_instruction_nullified':
(.text+0x100): multiple definition of `generic_instruction_nullified'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x100): first defined here
/usr/lib/libgdb.a(exec.o): In function `default_remote_register_number':
(.text+0x110): multiple definition of `default_remote_register_number'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x110): first defined here
/usr/lib/libgdb.a(exec.o): In function `selected_architecture_name':
(.text+0x120): multiple definition of `selected_architecture_name'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x120): first defined here
/usr/lib/libgdb.a(exec.o): In function `gdbarch_info_init':
(.text+0x970): multiple definition of `gdbarch_info_init'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x570): first defined here
/usr/lib/libgdb.a(exec.o): In function `_initialize_gdbarch_utils':
(.text+0xb40): multiple definition of `_initialize_gdbarch_utils'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x140): first defined here
/usr/lib/libgdb.a(exec.o): In function `selected_byte_order':
(.text+0xbe0): multiple definition of `selected_byte_order'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x1e0): first defined here
/usr/lib/libgdb.a(exec.o): In function `gdbarch_info_fill':
(.text+0xcb0): multiple definition of `gdbarch_info_fill'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x2b0): first defined here
/usr/lib/libgdb.a(exec.o): In function `gdbarch_from_bfd':
(.text+0xff0): multiple definition of `gdbarch_from_bfd'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x630): first defined here
/usr/lib/libgdb.a(exec.o): In function `set_gdbarch_from_file':
(.text+0x1510): multiple definition of `set_gdbarch_from_file'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x6d0): first defined here
/usr/lib/libgdb.a(exec.o): In function `gdbarch_update_p':
(.text+0x1970): multiple definition of `gdbarch_update_p'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x720): first defined here
/usr/lib/libgdb.a(exec.o): In function `initialize_current_architecture':
(.text+0x1a70): multiple definition of `initialize_current_architecture'
/usr/lib/libgdb.a(arch-utils.o):(.text+0x820): first defined here
/usr/lib/libgdb.a(exec.o): In function `legacy_virtual_frame_pointer':
(.text+0x20d0): multiple definition of `legacy_virtual_frame_pointer'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xe80): first defined here
/usr/lib/libgdb.a(exec.o): In function `legacy_register_sim_regno':
(.text+0x2190): multiple definition of `legacy_register_sim_regno'
/usr/lib/libgdb.a(arch-utils.o):(.text+0xf40): first defined here
/usr/local/src/fpcbuild-2.2.3/build/fpc-2.2.3/fpcsrc/packages/gdbint/units/i386-linux/gdbint.o: In function `GDBINT_INITLIBGDB':
gdbint.pp:(.text+0x1666): undefined reference to `error_init'
/usr/lib/libgdb.a(gdbtypes.o):(.data+0x50): undefined reference to `floatformat_ibm_long_double'
/usr/lib/libgdb.a(gdbtypes.o):(.data+0x54): undefined reference to `floatformat_ibm_long_double'
/usr/lib/libgdb.a(xml-support.o): In function `gdb_xml_use_dtd':
(.text+0x69e): undefined reference to `XML_SetParamEntityParsing'
/usr/lib/libgdb.a(xml-support.o): In function `gdb_xml_use_dtd':
(.text+0x6b0): undefined reference to `XML_SetExternalEntityRefHandler'
/usr/lib/libgdb.a(xml-support.o): In function `gdb_xml_use_dtd':
(.text+0x6c2): undefined reference to `XML_UseForeignDTD'
/usr/lib/libgdb.a(xml-support.o): In function `gdb_xml_use_dtd':
(.text+0x6d4): undefined reference to `XML_ErrorString'
/usr/lib/libgdb.a(xml-support.o): In function `gdb_xml_fetch_external_entity':
(.text+0x740): undefined reference to `XML_ExternalEntityParserCreate'
/usr/lib/libgdb.a(xml-support.o): In function `gdb_xml_fetch_external_entity':
(.text+0x75a): undefined reference to `XML_SetElementHandler'
/usr/lib/libgdb.a(xml-support.o): In function `gdb_xml_fetch_external_entity':
(.text+0x772): undefined reference to `XML_SetDoctypeDeclHandler'
/usr/lib/libgdb.a(xml-support.o): In function `gdb_xml_fetch_external_entity':
(.text+0x782): undefined reference to `XML_SetXmlDeclHandler'
/usr/lib/libgdb.a(xml-support.o): In function `gdb_xml_fetch_external_entity':
(.text+0x792): undefined reference to `XML_SetDefaultHandler'
/usr/lib/libgdb.a(xml-support.o): In function `gdb_xml_fetch_external_entity':
(.text+0x7a2): undefined reference to `XML_SetUserData'
/usr/lib/libgdb.a(xml-support.o): In function `gdb_xml_fetch_external_entity':
(.text+0x7c2): undefined reference to `XML_Parse'
/usr/lib/libgdb.a(xml-support.o): In function `gdb_xml_fetch_external_entity':
(.text+0x7cc): undefined reference to `XML_ParserFree'
/usr/lib/libgdb.a(xml-support.o): In function `gdb_xml_cleanup':
(.text+0x832): undefined reference to `XML_ParserFree'
/usr/lib/libgdb.a(xml-support.o): In function `gdb_xml_create_parser_and_cleanup':
(.text+0x8d5): undefined reference to `XML_ParserCreateNS'
/usr/lib/libgdb.a(xml-support.o): In function `gdb_xml_create_parser_and_cleanup':
(.text+0x8f9): undefined reference to `XML_SetUserData'
/usr/lib/libgdb.a(xml-support.o): In function `gdb_xml_create_parser_and_cleanup':
(.text+0x913): undefined reference to `XML_SetElementHandler'
/usr/lib/libgdb.a(xml-support.o): In function `gdb_xml_create_parser_and_cleanup':
(.text+0x925): undefined reference to `XML_SetCharacterDataHandler'
/usr/lib/libgdb.a(xml-support.o): In function `gdb_xml_error':

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.26-1-686

Debian Release: 5.0
  500 unstable        ftp.fr.debian.org 

--- Package information. ---
Depends       (Version) | Installed
=======================-+-===========
                        | 


[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Daniel Jacobowitz <dan@debian.org>:
Bug#509873; Package libgdb-dev. (Mon, 29 Dec 2008 04:00:04 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel Jacobowitz <drow@false.org>:
Extra info received and forwarded to list. Copy sent to Daniel Jacobowitz <dan@debian.org>. (Mon, 29 Dec 2008 04:00:04 GMT) (full text, mbox, link).


Message #15 received at 509873@bugs.debian.org (full text, mbox, reply):

From: Daniel Jacobowitz <drow@false.org>
To: Mazen NEIFER <mazen.neifer@supaero.org>, 509873@bugs.debian.org
Subject: Re: Bug#509873: [libgdb-dev] Unresolved symbols
Date: Sun, 28 Dec 2008 22:58:31 -0500
On Sat, Dec 27, 2008 at 12:18:50PM +0100, Mazen NEIFER wrote:
> After installing binutils-dev package the following error is got :

It is a static library; it has no way to indicate its dependencies.

> /usr/lib/libgdb.a(exec.o): In function `generic_skip_trampoline_code':
> (.text+0x0): multiple definition of `generic_skip_trampoline_code'
> /usr/lib/libgdb.a(arch-utils.o):(.text+0x0): first defined here

How are you linking the library to cause this error?  --whole-archive?

> /usr/local/src/fpcbuild-2.2.3/build/fpc-2.2.3/fpcsrc/packages/gdbint/units/i386-linux/gdbint.o: In function `GDBINT_INITLIBGDB':
> gdbint.pp:(.text+0x1666): undefined reference to `error_init'

This is not related to libgdb.

> /usr/lib/libgdb.a(gdbtypes.o):(.data+0x50): undefined reference to `floatformat_ibm_long_double'

You need -liberty.

> (.text+0x69e): undefined reference to `XML_SetParamEntityParsing'

Also -lexpat.  Soon you'll need Python, too.

I'll update the dependencies if I can find where to pull libiberty from.

-- 
Daniel Jacobowitz
CodeSourcery




Information forwarded to debian-bugs-dist@lists.debian.org, Daniel Jacobowitz <dan@debian.org>:
Bug#509873; Package libgdb-dev. (Mon, 29 Dec 2008 23:27:06 GMT) (full text, mbox, link).


Acknowledgement sent to Mazen NEIFER <mazen.neifer@supaero.org>:
Extra info received and forwarded to list. Copy sent to Daniel Jacobowitz <dan@debian.org>. (Mon, 29 Dec 2008 23:27:06 GMT) (full text, mbox, link).


Message #20 received at 509873@bugs.debian.org (full text, mbox, reply):

From: Mazen NEIFER <mazen.neifer@supaero.org>
To: 509873@bugs.debian.org
Subject: [libgdb-dev] Re : Use libiberty.a and libexpat.a
Date: Tue, 30 Dec 2008 00:25:45 +0100
[Message part 1 (text/plain, inline)]
Package: libgdb-dev
Version: 6.8-3

--- Please enter the report below this line. ---
>> /usr/lib/libgdb.a(exec.o): In function `generic_skip_trampoline_code':
>> (.text+0x0): multiple definition of `generic_skip_trampoline_code'
>> /usr/lib/libgdb.a(arch-utils.o):(.text+0x0): first defined here
>
>How are you linking the library to cause this error?  --whole-archive?

I'm using FPC which produces the attached linker script.

>> /usr/lib/libgdb.a(gdbtypes.o):(.data+0x50): undefined reference to `floatformat_ibm_long_double'
>
>You need -liberty.

I could not find this function in libiberty.a

[mazen@aziz:ide]$objdump -t /usr/lib/libiberty.a | grep floatformat_ibm_long_double
[mazen@aziz:ide]$objdump -t /usr/lib/libiberty.a | grep floatformat_ibm_
[mazen@aziz:ide]$objdump -t /usr/lib/libiberty.a | grep floatformat
floatformat.o:     file format elf32-i386
00000000 l    df *ABS*	00000000 floatformat.c
00000000 l     F .text	0000000a floatformat_always_valid
000000e0 l     F .text	00000066 floatformat_i387_ext_is_valid
00000210 g     F .text	0000000c floatformat_is_valid
00000220 g     F .text	000002a3 floatformat_from_double
000004d0 g     F .text	00000243 floatformat_to_double
00000000 g     O .rodata	00000030 floatformat_ieee_single_big
00000040 g     O .rodata	00000030 floatformat_ieee_single_little
00000080 g     O .rodata	00000030 floatformat_ieee_double_big
000000c0 g     O .rodata	00000030 floatformat_ieee_double_little
00000100 g     O .rodata	00000030 floatformat_ieee_double_littlebyte_bigword
00000140 g     O .rodata	00000030 floatformat_vax_f
00000180 g     O .rodata	00000030 floatformat_vax_d
000001c0 g     O .rodata	00000030 floatformat_vax_g
00000200 g     O .rodata	00000030 floatformat_i387_ext
00000240 g     O .rodata	00000030 floatformat_m68881_ext
00000280 g     O .rodata	00000030 floatformat_i960_ext
000002c0 g     O .rodata	00000030 floatformat_m88110_ext
00000300 g     O .rodata	00000030 floatformat_m88110_harris_ext
00000340 g     O .rodata	00000030 floatformat_arm_ext_big
00000380 g     O .rodata	00000030 floatformat_arm_ext_littlebyte_bigword
000003c0 g     O .rodata	00000030 floatformat_ia64_spill_big
00000400 g     O .rodata	00000030 floatformat_ia64_spill_little
00000440 g     O .rodata	00000030 floatformat_ia64_quad_big
00000480 g     O .rodata	00000030 floatformat_ia64_quad_little

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.26-1-686

Debian Release: 5.0
  500 unstable        ftp.fr.debian.org 

--- Package information. ---
Depends       (Version) | Installed
=======================-+-===========
                        | 


[link.res (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Daniel Jacobowitz <dan@debian.org>:
Bug#509873; Package libgdb-dev. (Mon, 29 Dec 2008 23:45:03 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel Jacobowitz <drow@false.org>:
Extra info received and forwarded to list. Copy sent to Daniel Jacobowitz <dan@debian.org>. (Mon, 29 Dec 2008 23:45:03 GMT) (full text, mbox, link).


Message #25 received at 509873@bugs.debian.org (full text, mbox, reply):

From: Daniel Jacobowitz <drow@false.org>
To: Mazen NEIFER <mazen.neifer@supaero.org>, 509873@bugs.debian.org
Subject: Re: Bug#509873: [libgdb-dev] Re : Use libiberty.a and libexpat.a
Date: Mon, 29 Dec 2008 18:43:32 -0500
On Tue, Dec 30, 2008 at 12:25:45AM +0100, Mazen NEIFER wrote:
> Package: libgdb-dev
> Version: 6.8-3
> 
> --- Please enter the report below this line. ---
> >> /usr/lib/libgdb.a(exec.o): In function `generic_skip_trampoline_code':
> >> (.text+0x0): multiple definition of `generic_skip_trampoline_code'
> >> /usr/lib/libgdb.a(arch-utils.o):(.text+0x0): first defined here
> >
> >How are you linking the library to cause this error?  --whole-archive?
> 
> I'm using FPC which produces the attached linker script.

Oh right, this was fixed upstream but the fix may not be in Debian
yet.  #include foo.c instead of foo.h.

> >> /usr/lib/libgdb.a(gdbtypes.o):(.data+0x50): undefined reference to `floatformat_ibm_long_double'
> >
> >You need -liberty.
> 
> I could not find this function in libiberty.a

Version skew - that libiberty.a is from an older version of
binutils than this version of GDB.  The function is in GDB's version
of libiberty.

I have no idea what to do about that.  I don't want to have multiple
versions of libiberty installed... I will think about it.

-- 
Daniel Jacobowitz
CodeSourcery




Information forwarded to debian-bugs-dist@lists.debian.org, Daniel Jacobowitz <dan@debian.org>:
Bug#509873; Package libgdb-dev. (Wed, 04 Feb 2009 17:30:08 GMT) (full text, mbox, link).


Acknowledgement sent to <marcos.marado@sonae.com>:
Extra info received and forwarded to list. Copy sent to Daniel Jacobowitz <dan@debian.org>. (Wed, 04 Feb 2009 17:30:08 GMT) (full text, mbox, link).


Message #30 received at 509873@bugs.debian.org (full text, mbox, reply):

From: <marcos.marado@sonae.com>
To: <509873@bugs.debian.org>
Subject: Re: Bug#509873: [libgdb-dev] Re : Use libiberty.a and libexpat.a
Date: Wed, 4 Feb 2009 17:26:00 +0000
Hi there,

Any updates on this issue?

Thanks,
-- 
Marcos Marado




Information forwarded to debian-bugs-dist@lists.debian.org, Daniel Jacobowitz <dan@debian.org>:
Bug#509873; Package libgdb-dev. (Wed, 04 Feb 2009 21:06:04 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel Jacobowitz <drow@false.org>:
Extra info received and forwarded to list. Copy sent to Daniel Jacobowitz <dan@debian.org>. (Wed, 04 Feb 2009 21:06:04 GMT) (full text, mbox, link).


Message #35 received at 509873@bugs.debian.org (full text, mbox, reply):

From: Daniel Jacobowitz <drow@false.org>
To: marcos.marado@sonae.com, 509873@bugs.debian.org
Subject: Re: Bug#509873: [libgdb-dev] Re : Use libiberty.a and libexpat.a
Date: Wed, 4 Feb 2009 15:47:29 -0500
On Wed, Feb 04, 2009 at 05:26:00PM +0000, marcos.marado@sonae.com wrote:
> Hi there,
> 
> Any updates on this issue?

Not yet, sorry.

I think the best solution would be to add the contents of libiberty.a
to libgdb.a at the end of the GDB build.

-- 
Daniel Jacobowitz
CodeSourcery




Information forwarded to debian-bugs-dist@lists.debian.org, Daniel Jacobowitz <dan@debian.org>:
Bug#509873; Package libgdb-dev. (Sat, 16 May 2009 12:36:02 GMT) (full text, mbox, link).


Acknowledgement sent to Mazen NEIFER <mazen@freepascal.org>:
Extra info received and forwarded to list. Copy sent to Daniel Jacobowitz <dan@debian.org>. (Sat, 16 May 2009 12:36:02 GMT) (full text, mbox, link).


Message #40 received at 509873@bugs.debian.org (full text, mbox, reply):

From: Mazen NEIFER <mazen@freepascal.org>
To: 509873@bugs.debian.org
Subject: Bug#528855: fp-ide: No debugger support available
Date: Sat, 16 May 2009 14:33:25 +0200
I have reported a bug with severity serious 509873 but this is still
pending. Without solving this bug we couldn't have any debugger support.

Cheers,
Mazen,






Information forwarded to debian-bugs-dist@lists.debian.org, Daniel Jacobowitz <dan@debian.org>:
Bug#509873; Package libgdb-dev. (Thu, 11 Jun 2009 22:09:03 GMT) (full text, mbox, link).


Acknowledgement sent to Mazen NEIFER <mazen@freepascal.org>:
Extra info received and forwarded to list. Copy sent to Daniel Jacobowitz <dan@debian.org>. (Thu, 11 Jun 2009 22:09:03 GMT) (full text, mbox, link).


Message #45 received at 509873@bugs.debian.org (full text, mbox, reply):

From: Mazen NEIFER <mazen@freepascal.org>
To: 509873@bugs.debian.org
Subject: [libgdb-dev] Re: [libgdb-dev] Undefined symbols in libgdb.a
Date: Thu, 11 Jun 2009 23:33:01 +0200
[Message part 1 (text/plain, inline)]
Package: libgdb-dev

--- Please enter the report below this line. ---

Any news about this bug? Could you please provide an estimation about when it could get solved?

Cheers,
Mazen,

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.29-2-686

Debian Release: squeeze/sid
  500 unstable        ftp.fr.debian.org 


[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Daniel Jacobowitz <dan@debian.org>:
Bug#509873; Package libgdb-dev. (Fri, 12 Jun 2009 20:51:02 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel Jacobowitz <drow@false.org>:
Extra info received and forwarded to list. Copy sent to Daniel Jacobowitz <dan@debian.org>. (Fri, 12 Jun 2009 20:51:02 GMT) (full text, mbox, link).


Message #50 received at 509873@bugs.debian.org (full text, mbox, reply):

From: Daniel Jacobowitz <drow@false.org>
To: Mazen NEIFER <mazen@freepascal.org>, 509873@bugs.debian.org
Subject: Re: Bug#509873: [libgdb-dev] Re: [libgdb-dev] Undefined symbols in libgdb.a
Date: Fri, 12 Jun 2009 16:47:30 -0400
On Thu, Jun 11, 2009 at 11:33:01PM +0200, Mazen NEIFER wrote:
> Any news about this bug? Could you please provide an estimation about when it could get solved?

I'm trying to find time to work on it.  I'll do it as soon as I can,
or anyone is welcome to submit a patch.  I believe the planned fix is
already described in the bug log.

-- 
Daniel Jacobowitz
CodeSourcery




Reply sent to Daniel Jacobowitz <dan@debian.org>:
You have taken responsibility. (Sun, 05 Jul 2009 22:24:10 GMT) (full text, mbox, link).


Notification sent to Mazen NEIFER <mazen.neifer@supaero.org>:
Bug acknowledged by developer. (Sun, 05 Jul 2009 22:24:10 GMT) (full text, mbox, link).


Message #55 received at 509873-close@bugs.debian.org (full text, mbox, reply):

From: Daniel Jacobowitz <dan@debian.org>
To: 509873-close@bugs.debian.org
Subject: Bug#509873: fixed in gdb 6.8.50.20090628-1
Date: Sun, 05 Jul 2009 22:02:11 +0000
Source: gdb
Source-Version: 6.8.50.20090628-1

We believe that the bug you reported is fixed in the latest version of
gdb, which is due to be installed in the Debian FTP archive:

gdb_6.8.50.20090628-1.diff.gz
  to pool/main/g/gdb/gdb_6.8.50.20090628-1.diff.gz
gdb_6.8.50.20090628-1.dsc
  to pool/main/g/gdb/gdb_6.8.50.20090628-1.dsc
gdb_6.8.50.20090628-1_amd64.deb
  to pool/main/g/gdb/gdb_6.8.50.20090628-1_amd64.deb
gdb_6.8.50.20090628.orig.tar.gz
  to pool/main/g/gdb/gdb_6.8.50.20090628.orig.tar.gz
libgdb-dev_6.8.50.20090628-1_amd64.deb
  to pool/main/g/gdb/libgdb-dev_6.8.50.20090628-1_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 509873@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Jacobowitz <dan@debian.org> (supplier of updated gdb package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 05 Jul 2009 16:25:07 -0400
Source: gdb
Binary: gdb gdb64 libgdb-dev
Architecture: source amd64
Version: 6.8.50.20090628-1
Distribution: unstable
Urgency: low
Maintainer: Daniel Jacobowitz <dan@debian.org>
Changed-By: Daniel Jacobowitz <dan@debian.org>
Description: 
 gdb        - The GNU Debugger
 gdb64      - The GNU Debugger (64-bit)
 libgdb-dev - The GNU Debugger (libgdb.a)
Closes: 33187 490046 494839 509873 512121 513816
Changes: 
 gdb (6.8.50.20090628-1) unstable; urgency=low
 .
   * New snapshot from trunk.  The experimental packages used the
     archer-tromey-python branch; the whole branch has not been merged
     to trunk, but significant portions of it have, and will be in GDB 7.
     So this includes some Python scripting support.  Other highlights
     since the last experimental package:
     - Reverse debugging commands.  With a remote target that supports
       reverse debugging, you can step backwards as easily as forwards.
     - Process record and replay, a native Linux implementation of
       reverse debugging.  Only 32-bit IA32 Linux is currently supported.
     - MIPS/Linux hardware watchpoint support.
     - Multi-byte and wide character set support, including wchar_t display.
     - Inlined function support, including in backtrace and step/next/finish.
     - Improved C++ template name parsing.
     - Non-stop debugging (some threads remain running while others
       are stopped in the debugger).  Only implemented so far for i386,
       x86-64, and powerpc.
     - A bug fix for discontiguous code, e.g. as found in the Linux kernel
       (Closes: #513816).
     - A build fix that affected SPARC (Closes: #512121).
     - A build fix for casts on hurd-i386 (Closes: #494839).
     - A fix for debugging multi-threaded programs that call exec, including
       Eclipse with the Sun JVM (Closes: #490046).
   * Removed thread-db-multiple-libraries.patch.  This let one GDB work with
     both LinuxThreads and NPTL, but no Debian platform has both now.
   * GDB now reads /etc/gdb/gdbinit at startup (Closes: #33187).
   * Ship required libraries (libbfd, libopcodes, and libiberty) in
     /usr/lib/gdb in the libgdb-dev package, in case binutils-dev's versions
     are not close enough (Closes: #509873).
   * Add dev package dependencies to libgdb-dev.
Checksums-Sha1: 
 5674626a0e10e11ce0e7ec04123b15d3fb43ea13 1979 gdb_6.8.50.20090628-1.dsc
 b03eb664d536a1f472f6ca649267bb59b61520ef 20784127 gdb_6.8.50.20090628.orig.tar.gz
 171b978addbe1cec72135f54235dc33fe46df09a 22624 gdb_6.8.50.20090628-1.diff.gz
 98532a1386d09eb2855777cd915c864fedd8c67e 3578522 gdb_6.8.50.20090628-1_amd64.deb
 626a1af7a9e53613739784d957da2fc8f8053e57 2410770 libgdb-dev_6.8.50.20090628-1_amd64.deb
Checksums-Sha256: 
 0c41a8fd63f8988a0234477280d24607ba4411a1efcc3e67b171d04206a506f3 1979 gdb_6.8.50.20090628-1.dsc
 b73eda36abccb908a990d2fdfa829d5eda1aa229788849ecba5e208125fc92ca 20784127 gdb_6.8.50.20090628.orig.tar.gz
 be8f904cf0acc9dbadb10f36abaf974e788214e2ce31ed5223196a23a7dfa5be 22624 gdb_6.8.50.20090628-1.diff.gz
 4b9864fe0e4504bf05899095e50aa090cb2244a8510571b83e0d9302bb9ce836 3578522 gdb_6.8.50.20090628-1_amd64.deb
 2b923d212f0c16d3209410cc7aba86a90c7673ed361a1007018a09b026d2bb22 2410770 libgdb-dev_6.8.50.20090628-1_amd64.deb
Files: 
 ccb88babaa7b63d5106f2b40cc3a82cd 1979 devel optional gdb_6.8.50.20090628-1.dsc
 3d7abc361997d21f44974351edd8f14f 20784127 devel optional gdb_6.8.50.20090628.orig.tar.gz
 d420d85d9b39c9c51ff5ae03208da24a 22624 devel optional gdb_6.8.50.20090628-1.diff.gz
 9b63837977f98b6ab592ec7e6392d3a3 3578522 devel optional gdb_6.8.50.20090628-1_amd64.deb
 6a3e96c6e62ed6f1629f8e20b64f9940 2410770 libdevel extra libgdb-dev_6.8.50.20090628-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFKURodbgOPXuCjg3cRAmIhAJ9/1tvlH+QCFeXbJK2vT963W88SYQCgmkuI
FRG2Lfduw26GVuL0r04AWvY=
=/eiT
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 07 Feb 2011 08:24:56 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jul 24 00:14:44 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.