..and some more info about the symbol and it's context:
(gdb) print *sym->u_.from_object.object
$9 = (gold::Sized_dynobj<64, false>) {
<gold::Dynobj> = {
<gold::Object> = {
_vptr.Object = 0x62d810,
name_ = "//lib/x86_64-linux-gnu/libpthread.so.0",
input_file_ = 0x1f6574f0,
offset_ = 0,
shnum_ = 35,
is_dynamic_ = true,
is_needed_ = true,
uses_split_stack_ = false,
has_no_split_stack_ = false,
no_export_ = false,
is_in_system_directory_ = true,
as_needed_ = false,
xindex_ = 0x0
},
members of gold::Dynobj:
soname_ = "libpthread.so.0",
needed_ = std::vector of length 2, capacity 2 = {"libc.so.6",
"ld-linux-x86-64.so.2"},
unknown_needed_ = gold::Dynobj::UNKNOWN_NEEDED_TRUE
},
members of gold::Sized_dynobj<64, false>:
elf_file_ = {
file_ = 0x1f657780,
shoff_ = 99312,
shnum_ = 35,
shstrndx_ = 32,
large_shndx_offset_ = 0
},
dynsym_shndx_ = 4,
symbols_ = 0x0,
defined_count_ = 246
}
(gdb) print *sym->u_.in_output_data.output_data
$10 = (gold::Sized_dynobj<64, false>) {
<gold::Dynobj> = {
<gold::Object> = {
_vptr.Object = 0x62d810,
name_ = "//lib/x86_64-linux-gnu/libpthread.so.0",
input_file_ = 0x1f6574f0,
offset_ = 0,
shnum_ = 35,
is_dynamic_ = true,
is_needed_ = true,
uses_split_stack_ = false,
has_no_split_stack_ = false,
no_export_ = false,
is_in_system_directory_ = true,
as_needed_ = false,
xindex_ = 0x0
},
members of gold::Dynobj:
soname_ = "libpthread.so.0",
needed_ = std::vector of length 2, capacity 2 = {"libc.so.6",
"ld-linux-x86-64.so.2"},
unknown_needed_ = gold::Dynobj::UNKNOWN_NEEDED_TRUE
},
members of gold::Sized_dynobj<64, false>:
elf_file_ = {
file_ = 0x1f657780,
shoff_ = 99312,
shnum_ = 35,
shstrndx_ = 32,
large_shndx_offset_ = 0
},
dynsym_shndx_ = 4,
symbols_ = 0x0,
defined_count_ = 246
}
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/973172
Title:
Internal error in ld (ld.gold)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/973172/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs