http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47225
--- Comment #29 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-02-07 20:53:32 UTC --- (In reply to comment #28) > (In reply to comment #26) > > (In reply to comment #23) > > > Could you please test attached patch at > > http://gcc.gnu.org/ml/gcc-patches/2011-02/msg00469.html that it works for > > you? > > I guess the bug I'm seeing must be different; > ... applied the patch and still get: > > checking for suffix of object files... configure: error: in > `/GCC/cross-trees/cris-elf/cris-elf/libgcc': > configure: error: cannot compute suffix of object files: cannot compile > See `config.log' for more details. > make[1]: *** [configure-target-libgcc] Error 1 > make: *** [all] Error 2 > > apollo:cris-elf $ ls gcc/liblto_plugin.* > gcc/liblto_plugin.0.dylib gcc/liblto_plugin.dylib > gcc/liblto_plugin.la > > apollo:cris-elf $ ./gcc/xgcc -Bgcc ../../tests/trivial-0.c -S > xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found > compilation terminated. > > after sym-linking gcc/liblto_plugin.dylib to gcc/liblto_plugin.so the compile > runs fine and the build completes. Well, maybe check if target defines LTOPLUGINSONAME correct.