Install PIC version of libbfd.a
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
binutils (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Like Bug #50512, there should be the PIC version of libbfd.a.
The reason is as follows:
1. As required, we need to link statically to libbfd (see linux-tools: perf should link statically to libbfd Bug #783660)
2. we need to build libopagent correctly, which uses libbfd with static link (see oprofile: symbol lookup error: /usr/lib/
3. But currently, libopagent aren't built correctly causing the symbol lookup error. That's because OProfile's patches/
--- a/libopagent/
+++ b/libopagent/
@@ -15,7 +15,7 @@ libopagent_
-I ${top_srcdir}
@OP_CPPFLAGS@
-libopagent_
+libopagent_
# Do not increment the major version for this library except to
# intentionally break backward ABI compatability. Use the
When I build OProfile with the preceeding work-around patch removed, I get following error. I want to fix this error.
/bin/bash ../libtool --tag=CC --mode=link x86_64-
*** Warning: Linking the shared library libopagent.la against the
*** static library /usr/lib/libbfd.a is not portable!
libtool: link: x86_64-
/usr/bin/ld: /usr/lib/
/usr/lib/libbfd.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make: *** [libopagent.la] Error 1
description: | updated |
description: | updated |
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.