| Summary: | sys-devel/binutils (up to 2.21.53.0.2): BFD can't handle ET_REL objects built with -gdwarf-4 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
| Component: | New packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Build log | ||
|
Description
Diego Elio Pettenò (RETIRED)
2011-08-05 11:36:16 UTC
Okay I hit the same problem with lvm2 and /usr/lib/libudev.a Trying to debug the issue now but it looks like a toolchain one. Grr this is getting funky:
% ar x /usr/lib/libltdl.a
% nm dlopen.o
nm: dlopen.o: Bad value
% ruby ~/devel/repos/git/ruby-elf/tools/nm.rb dlopen.o
0000000000000000 t vl_exit
0000000000000000 b vtable
0000000000000040 t vm_sym
00000000000000a0 t vm_close
0000000000000100 t vm_open
0000000000000000 r .LC0
Unknown NM code for symbol wt.2e36542536402b38 in section .group
0000000000000000 ? wt.2e36542536402b38
Unknown NM code for symbol wt.1af52e75450527ed in section .group
0000000000000000 ? wt.1af52e75450527ed
Unknown NM code for symbol wt.90e079bbb773abcb in section .group
0000000000000000 ? wt.90e079bbb773abcb
Unknown NM code for symbol wt.442ae951f162d46e in section .group
0000000000000000 ? wt.442ae951f162d46e
Unknown NM code for symbol wt.ac43b6ac10ce5688 in section .group
0000000000000000 ? wt.ac43b6ac10ce5688
Unknown NM code for symbol wt.32ec40f73319dfa8 in section .group
0000000000000000 ? wt.32ec40f73319dfa8
U _GLOBAL_OFFSET_TABLE_
U __stack_chk_fail
U dlsym
U dlerror
U lt__set_last_error
U dlclose
U dlopen
00000000000001a0 T dlopen_LTX_get_vtable
U lt__zalloc
U lt__error_string
The "wt." symbols are generated when using -gdwarf-4. Basically binutils can't yet manage that. Lovely. these types of bugs really should be filed upstream. not like we're going to do any development on the issue ourselves, or backport patches. http://sourceware.org/bugzilla/ i think this is fixed now by virtue of using a newer version of binutils |