This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
"liblto_plugin.so not found" under Cygwin64 while works under Cygwin32
- From: Vasili Galka <vvv444 at gmail dot com>
- To: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Wed, 28 Aug 2013 14:43:29 +0300
- Subject: "liblto_plugin.so not found" under Cygwin64 while works under Cygwin32
- Authentication-results: sourceware.org; auth=none
Hi,
I have a problem of things behaving unexpectedly differently under
Cygwin32 and Cygwin64. I would appreciate some advice as how to debug
it.
The scenario (run separately on two installations - Cygwin32 and Cygwin64):
1. I build GCC 4.8.1 cross compiler for ARM under Cygwin using
exactly the same "configure ...", "make" and "make install" commands
(AFAIU this results in x86 and x86_64 host versions respectively).
2. When I use the Cygwin32 version for my project everything works fine.
3. But when I use the Cygwin64 version I get the following linking
error "arm-none-eabi-g++ : fatal error : -fuse-linker-plugin, but
liblto_plugin.so not found"
4. Both installations have the following files present:
/usr/arm-none-eabi/libexec/gcc/arm-none-eabi/4.8.1/cc1.exe
/usr/arm-none-eabi/libexec/gcc/arm-none-eabi/4.8.1/cc1plus.exe
/usr/arm-none-eabi/libexec/gcc/arm-none-eabi/4.8.1/collect2.exe
/usr/arm-none-eabi/libexec/gcc/arm-none-eabi/4.8.1/cyglto_plugin-0.dll
/usr/arm-none-eabi/libexec/gcc/arm-none-eabi/4.8.1/install-tools
/usr/arm-none-eabi/libexec/gcc/arm-none-eabi/4.8.1/liblto_plugin.dll.a
/usr/arm-none-eabi/libexec/gcc/arm-none-eabi/4.8.1/liblto_plugin.la
/usr/arm-none-eabi/libexec/gcc/arm-none-eabi/4.8.1/lto-wrapper.exe
/usr/arm-none-eabi/libexec/gcc/arm-none-eabi/4.8.1/lto1.exe
Any advice?
Many thanks,
Vasili