This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/77576] gcc-ar doesn't work if all options are read from file
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 13 Sep 2016 14:07:28 +0000
- Subject: [Bug lto/77576] gcc-ar doesn't work if all options are read from file
- Auto-submitted: auto-generated
- References: <bug-77576-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77576
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to likan_999.student from comment #2)
> Andrew, do you how I can tell whether plugin has been picked by
> successfully? Also, if I use ar, do I need to pass it some flag, e.g.
> --plugin=something, or it will just work if it is used normally, e.g. ar
> rcsD some.a some.o ?
If you install the lto plugin in the correct plugins directory (I can't
remember off hand where it is located, you can use strace to see which
directories are being search). And yes you don't need any options pass to ar,
objdump, nm, etc.
You can use strace to see if the plugin is being located correctly.