This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

"liblto_plugin.so not found" under Cygwin64 while works under Cygwin32


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]