This is the mail archive of the
cygwin
mailing list for the Cygwin project.
liblto_plugin.so not found under cygwin64 while works under cygwin32
- From: Vasili Galka <vvv444 at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 28 Aug 2013 11:20:50 +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 compile 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
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple