On Sat, Feb 21, 2009 at 7:14 PM, Nick Lewycky <nicholas at mxc.ca> wrote:> Aaron Gray wrote: > > On Thu, Feb 19, 2009 at 6:55 PM, Nick Lewycky <nicholas at mxc.ca > > <mailto:nicholas at mxc.ca>> wrote: > > > > Aaron Gray wrote: > > > On Thu, Feb 19, 2009 at 5:52 PM, Nick Lewycky <nicholas at mxc.ca > > <mailto:nicholas at mxc.ca> > > > <mailto:nicholas at mxc.ca <mailto:nicholas at mxc.ca>>> wrote: > > > > > > Aaron Gray wrote: > > > > Hi, > > > > > > > > I partly built LLVM on Cygwin yesterday and it was fine as > > far as it > > > > went. But after doing a svn update today I am getting the > > following > > > > warning on every compile :- > > > > > > > > > > > > llvm[3]: Compiling LowerAllocations.cpp for Debug build > > > > > /usr/src/llvm/lib/Transforms/Utils/LowerAllocations.cpp:1: > > > warning: > > > > -fPIC ignored for target (all code is position > > independent) > > > > > > > > > > > > This maybe happening on other targets too. > > > > > > Thanks for the report. This is certainly due to my change > > last night to > > > make LLVM build as PIC by default. > > > > > > I was a little perplex at the warning as I could not ascertain > where > > > thery were coming from and could see no obvious commit !:) > > > > > > Out of interest, could you point me to the patch or commit, > please. > > > > r65019 / r65020: > > > http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090216/073983.html > > > http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090216/073984.html > > > > Can you please email me if and when it is fixed :) > > Should be fixed in r65229: > http://llvm.org/viewvc/llvm-project?view=rev&revision=65229 >Cygwin is still giving "-fPIC ignored for target (all code is position independent)" warnings :( I have tried from LLVM svn mainline. Sorry that I did not get round to trying it earlier. Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090225/8553bce8/attachment.html>
Aaron Gray wrote:> On Sat, Feb 21, 2009 at 7:14 PM, Nick Lewycky <nicholas at mxc.ca > <mailto:nicholas at mxc.ca>> wrote: > > Aaron Gray wrote: > > On Thu, Feb 19, 2009 at 6:55 PM, Nick Lewycky <nicholas at mxc.ca > <mailto:nicholas at mxc.ca> > > <mailto:nicholas at mxc.ca <mailto:nicholas at mxc.ca>>> wrote: > > > > Aaron Gray wrote: > > > On Thu, Feb 19, 2009 at 5:52 PM, Nick Lewycky > <nicholas at mxc.ca <mailto:nicholas at mxc.ca> > > <mailto:nicholas at mxc.ca <mailto:nicholas at mxc.ca>> > > > <mailto:nicholas at mxc.ca <mailto:nicholas at mxc.ca> > <mailto:nicholas at mxc.ca <mailto:nicholas at mxc.ca>>>> wrote: > > > > > > Aaron Gray wrote: > > > > Hi, > > > > > > > > I partly built LLVM on Cygwin yesterday and it was > fine as > > far as it > > > > went. But after doing a svn update today I am > getting the > > following > > > > warning on every compile :- > > > > > > > > > > > > llvm[3]: Compiling LowerAllocations.cpp for > Debug build > > > > > /usr/src/llvm/lib/Transforms/Utils/LowerAllocations.cpp:1: > > > warning: > > > > -fPIC ignored for target (all code is position > > independent) > > > > > > > > > > > > This maybe happening on other targets too. > > > > > > Thanks for the report. This is certainly due to my change > > last night to > > > make LLVM build as PIC by default. > > > > > > I was a little perplex at the warning as I could not > ascertain where > > > thery were coming from and could see no obvious commit !:) > > > > > > Out of interest, could you point me to the patch or > commit, please. > > > > r65019 / r65020: > > > http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090216/073983.html > > > http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090216/073984.html > > > > Can you please email me if and when it is fixed :) > > Should be fixed in r65229: > http://llvm.org/viewvc/llvm-project?view=rev&revision=65229 > <http://llvm.org/viewvc/llvm-project?view=rev&revision=65229> > > Cygwin is still giving "-fPIC ignored for target (all code is position > independent)" warnings :(*Really!* Could you please rig Makefile.rules or something to print out the value of $(LLVM_ON_WIN32) ? The only way I can think of this happening is if that's erroneously false. Nick> I have tried from LLVM svn mainline. > > Sorry that I did not get round to trying it earlier. > > Aaron > > > > ------------------------------------------------------------------------ > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
On Fri, Feb 27, 2009 at 7:14 AM, Nick Lewycky <nicholas at mxc.ca> wrote:> Aaron Gray wrote: > > On Sat, Feb 21, 2009 at 7:14 PM, Nick Lewycky <nicholas at mxc.ca > > <mailto:nicholas at mxc.ca>> wrote: > > > > Aaron Gray wrote: > > > On Thu, Feb 19, 2009 at 6:55 PM, Nick Lewycky <nicholas at mxc.ca > > <mailto:nicholas at mxc.ca> > > > <mailto:nicholas at mxc.ca <mailto:nicholas at mxc.ca>>> wrote: > > > > > > Aaron Gray wrote: > > > > On Thu, Feb 19, 2009 at 5:52 PM, Nick Lewycky > > <nicholas at mxc.ca <mailto:nicholas at mxc.ca> > > > <mailto:nicholas at mxc.ca <mailto:nicholas at mxc.ca>> > > > > <mailto:nicholas at mxc.ca <mailto:nicholas at mxc.ca> > > <mailto:nicholas at mxc.ca <mailto:nicholas at mxc.ca>>>> wrote: > > > > > > > > Aaron Gray wrote: > > > > > Hi, > > > > > > > > > > I partly built LLVM on Cygwin yesterday and it was > > fine as > > > far as it > > > > > went. But after doing a svn update today I am > > getting the > > > following > > > > > warning on every compile :- > > > > > > > > > > > > > > > llvm[3]: Compiling LowerAllocations.cpp for > > Debug build > > > > > > > /usr/src/llvm/lib/Transforms/Utils/LowerAllocations.cpp:1: > > > > warning: > > > > > -fPIC ignored for target (all code is position > > > independent) > > > > > > > > > > > > > > > This maybe happening on other targets too. > > > > > > > > Thanks for the report. This is certainly due to my > change > > > last night to > > > > make LLVM build as PIC by default. > > > > > > > > I was a little perplex at the warning as I could not > > ascertain where > > > > thery were coming from and could see no obvious commit !:) > > > > > > > > Out of interest, could you point me to the patch or > > commit, please. > > > > > > r65019 / r65020: > > > > > > http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090216/073983.html > > > > > > http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090216/073984.html > > > > > > Can you please email me if and when it is fixed :) > > > > Should be fixed in r65229: > > http://llvm.org/viewvc/llvm-project?view=rev&revision=65229 > > <http://llvm.org/viewvc/llvm-project?view=rev&revision=65229> > > > > Cygwin is still giving "-fPIC ignored for target (all code is position > > independent)" warnings :( > > *Really!* > > Could you please rig Makefile.rules or something to print out the value > of $(LLVM_ON_WIN32) ? The only way I can think of this happening is if > that's erroneously false. > >Hi Nick, I am not famuliar enought with the build system to do this. Can you give me a resision number to check out before your changes so I can get my code tested. Then once I have done that I can tackel giving you some valid feedback. Thanks, Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090227/7433fcd4/attachment.html>
> Could you please rig Makefile.rules or something to print out the value > of $(LLVM_ON_WIN32) ? The only way I can think of this happening is if > that's erroneously false.The configure script sets LLVM_ON_UNIX, not LLVM_ON_WIN32, for Cygwin: case $host in ... *-*-cygwin*) llvm_cv_link_all_option="-Wl,--whole-archive" llvm_cv_no_link_all_option="-Wl,--no-whole-archive" llvm_cv_os_type="Cygwin" llvm_cv_platform_type="Unix" ;; case $llvm_cv_platform_type in Unix) cat >>confdefs.h <<\_ACEOF #define LLVM_ON_UNIX 1 _ACEOF LLVM_ON_UNIX=1 LLVM_ON_WIN32=0 ;; Jay.