[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/11991] New: ar --plugin does not use plugin
From: |
andi-bz at firstfloor dot org |
Subject: |
[Bug binutils/11991] New: ar --plugin does not use plugin |
Date: |
7 Sep 2010 12:54:50 -0000 |
I have been trying to use the BFD linker plugins support
that was added last year to binutils with the gcc plugin:
But as far as I can see it doesn't work.
I call it like this:
ar --plugin
/pkg/gcc-4.6/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/liblto_plugin.so.0.0.0 q
t.a ...
I verified the binutils objdir has plugins enabled.
But the resulting archive does not have the expected symbol table
from the LTO symbols. When I strace it the plugin is never
opened and when I set a break point the BFD plugin
code is not run:
(gdb) b plugin.c:191
Breakpoint 2 at 0x478f88: file ../../binutils/bfd/plugin.c, line 191.
(gdb) c
Continuing.
Program exited normally.
(gdb)
How is this supposed to work? It looks like the plugin BFD is not
tried by ar?
--
Summary: ar --plugin does not use plugin
Product: binutils
Version: 2.21 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: andi-bz at firstfloor dot org
CC: bug-binutils at gnu dot org
GCC host triplet: x86_64-linux
http://sourceware.org/bugzilla/show_bug.cgi?id=11991
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug binutils/11991] New: ar --plugin does not use plugin,
andi-bz at firstfloor dot org <=