On Friday 02 September 2011, Michael Matz wrote: > Hi, > > On Thu, 1 Sep 2011, Oswald Buddenhagen wrote: > > On Thu, Sep 01, 2011 at 01:22:58PM +0200, Stephan Kulow wrote: > > > SVN commit 1250772 by coolo: > > > > > > revert ossi's commit - plugins are executables > > > > unfortunately, my system disagrees, vehemently. > > Then something is broken with your gcc installation. liblto_plugin.so is > installed into libexec_subdir, which is amongst those used for > -print-prog-name (that's where cc1 is searched), but not those for > -print-file-name (that's where e.g. crtbegin.o is searched). Some > installations happen to use the same directories for both. So what are > the paths for you (list crtbegin.o, cc1 and liblto_plugin.so)? > > I have reported this is a bug against Debian GCC. Bug 643891 So far they agree -print-file-name is broken, but there is a problem too with the path returned by -print-prog-name. `Allan