gcc-4.7.0 error "ar: Cannot find plugin"

Ian Lance Taylor iant@google.com
Thu Apr 26 14:56:00 GMT 2012


Maxim Yegorushkin <maxim.yegorushkin@gmail.com> writes:

> Could you let me know what command line this wrapper is trying to
> build as it's not clear from the code and there is no comment. Is it
> something like:
>
>     /usr/local/ots/gcc/bin/gcc-ar47 --plugin
> /usr/local/ots/gcc/libexec/gcc/x86_64-unknown-linux-gnu/4.7.0/<???>
> <argv[1:]>
>
> So that I hardcode it for now to fix the problem.

Yes, something like that.  The <???> is liblto_plugin.so.

Ian



More information about the Gcc-help mailing list