public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/57651] New: [4.8 / 4.9 Regression] gcc-ar and gcc-nm don't find the lto plugin
@ 2013-06-19 12:09 doko at gcc dot gnu.org
  2013-06-19 12:16 ` [Bug driver/57651] " doko at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: doko at gcc dot gnu.org @ 2013-06-19 12:09 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57651

            Bug ID: 57651
           Summary: [4.8 / 4.9 Regression] gcc-ar and gcc-nm don't find
                    the lto plugin
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org

$ gcc-ar-4.8 -h
gcc-ar-4.8: Cannot find plugin 'liblto_plugin.so'

the plugin is *not* installed with x permission flags (which seems to be the
standard for shared libraries).   You did change the code to use find_a_file
which searches only for files with the x bit set.

Work around is to install the plugin with the x bits set, or use some helper
function which doesn't look for the x bits.  I assume that wasn't catched,
because the plugin then was found in another location?

gcc.c has a static find_a_file function which does allows to specify the
permission flags you want to search for.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-06-19 17:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-19 12:09 [Bug driver/57651] New: [4.8 / 4.9 Regression] gcc-ar and gcc-nm don't find the lto plugin doko at gcc dot gnu.org
2013-06-19 12:16 ` [Bug driver/57651] " doko at gcc dot gnu.org
2013-06-19 15:13 ` doko at gcc dot gnu.org
2013-06-19 15:14 ` meadori at codesourcery dot com
2013-06-19 15:16 ` meadori at gcc dot gnu.org
2013-06-19 16:08 ` meadori at gcc dot gnu.org
2013-06-19 17:41 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).