llvm[2]: Linking Debug Loadable Module libCompilerDriver.dll /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: unrecognized option '--enable-runtime-pseudo-relocs' /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: use the --help option for usage information collect2: ld returned 1 exit status make[2]: *** [/home/ang/build/llvm/Debug/lib/libCompilerDriver.dll] Error 1 Cygwin is broken twice now. I reported this on the commits list and submitted a patch, but no one has checked it out as of yet. Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090701/f50381d4/attachment.html>
On Jul 1, 2009, at 2:59 PM, Aaron Gray wrote:> Cygwin is broken twice now. >FWIW, I applied your patch for the OTHER Cygwin failure yesterday, so that one should be fixed. --Owen
> On Jul 1, 2009, at 2:59 PM, Aaron Gray wrote: >> Cygwin is broken twice now. >> > > FWIW, I applied your patch for the OTHER Cygwin failure yesterday, so > that one should be fixed.Owen, Great thanks, the patch was okay then. This latest break looks like its probably a binutils version problem, a newer feature being used '--enable-runtime-pseudo-relocs' for 'libCompilerDriver.dll'. Cygwin uses ld 2.18.50.20080625, this is the latest availiable for Cygwin. Aaron
Hi Aaron, Aaron Gray <aaronngray.lists <at> googlemail.com> writes:> unrecognized option '--enable-runtime-pseudo-relocs'Interesting. Does libCompilerDriver.dll link w/o '--enable-runtime-pseudo-relocs'? If I understand correctly, this bug makes it impossible to produce loadable modules on Cygwin.
> Hi Aaron, > > Aaron Gray <aaronngray.lists <at> googlemail.com> writes: > >> unrecognized option '--enable-runtime-pseudo-relocs' > > Interesting. > Does libCompilerDriver.dll link w/o '--enable-runtime-pseudo-relocs'?I have not tried as of yet.> If I understand correctly, this bug makes it impossible to produce > loadable > modules on Cygwin.I don't think Cygwin supports loadable modules anyway. How do I disable this just on Cygwin ? Aaron