Anton Korobeynikov
2008-May-30 04:36 UTC
[LLVMdev] Possibly Vista-related Windows/MinGW Compilation Issues
Hello, Jonathan> I thought I'd messed up something related to the linker, > but I couldn't explain why XP would work using the same steps.The only thing comes to my mind seeing this: perl from msysDTK works differently (somehow) on Vista, thus llvm-config is broken which leads to missed libraries, broken dependencies, etc. I'd suggest you to compare stuff on different systems. -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University.
Kenneth Boyd
2008-May-30 14:31 UTC
[LLVMdev] Possibly Vista-related Windows/MinGW Compilation Issues
Anton Korobeynikov wrote:> Hello, Jonathan > > >> I thought I'd messed up something related to the linker, >> but I couldn't explain why XP would work using the same steps. >> > The only thing comes to my mind seeing this: perl from msysDTK works > differently (somehow) on Vista, thus llvm-config is broken which leads > to missed libraries, broken dependencies, etc. \ >I'm also on Vista (although with a different Perl). The error pattern looks half-familiar. Does the attached patch (MingW32.Vista.patch) work for you, Jonathan? [Note: I don't think this is clean enough to apply to trunk. I can write a revised one for trunk on request, although it'll probably come no earlier than June 1st. llvm-config.in.in * abspath is standard only with Perl 5.6 and higher. The mainline idiom also works with Perl 5.005. A proper patch for trunk would support both. * I wasn't able to get the pwd autodetection working at all, so it is *cough* hard-coded *cough* for MingW32. That shouldn't be in a patch for trunk at all. GenLibDeps.pl * A patch for trunk would try the mainline implementation first, then failover to using Perl to emulate the non-working pipe series.] Kenneth Boyd -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: MingW32.Vista.patch URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080530/85bdac75/attachment.ksh>
Jonathan Turner
2008-May-30 14:59 UTC
[LLVMdev] Possibly Vista-related Windows/MinGW Compilation Issues
I'm not sure exactly what I did differently this morning, but things seem to be working. In case anyone else has similar problems, here's what worked for me: * Install mingw from exe (just the g++ compiler) * Install msys from exe * Install msysDTK from exe * Copy the contents of the bison tarball to your c:\msys\1.0 (or wherever you installed it) * Repeat the last step for the flex, regex, and bash tarballs (it may ask to copy over files, which I let it do) I did at one point also installed strawberry perl after reading your hint about perl being involed, but then uninstalled it. Not sure if that had an effect. Jonathan ----------------------------------------> From: asl at math.spbu.ru > To: llvmdev at cs.uiuc.edu > Date: Fri, 30 May 2008 08:36:14 +0400 > Subject: Re: [LLVMdev] Possibly Vista-related Windows/MinGW Compilation Issues > > Hello, Jonathan > >> I thought I'd messed up something related to the linker, >> but I couldn't explain why XP would work using the same steps. > The only thing comes to my mind seeing this: perl from msysDTK works > differently (somehow) on Vista, thus llvm-config is broken which leads > to missed libraries, broken dependencies, etc. > > I'd suggest you to compare stuff on different systems. > > -- > With best regards, Anton Korobeynikov. > > Faculty of Mathematics & Mechanics, Saint Petersburg State University. > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev_________________________________________________________________ Make every e-mail and IM count. Join the i’m Initiative from Microsoft. http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ MakeCount
Jonathan Turner
2008-May-30 15:22 UTC
[LLVMdev] Possibly Vista-related Windows/MinGW Compilation Issues
----------------------------------------> Date: Fri, 30 May 2008 09:31:11 -0500 > From: zaimoni at zaimoni.com > To: asl at math.spbu.ru; llvmdev at cs.uiuc.edu > Subject: Re: [LLVMdev] Possibly Vista-related Windows/MinGW Compilation Issues > > I'm also on Vista (although with a different Perl). The error pattern > looks half-familiar. > > Does the attached patch (MingW32.Vista.patch) work for you, Jonathan?I'll see if I can get it to break again to see if that also helps. I suspect my problem was due to having tried to manually installed mingw and msys earlier in the day and not having a clean setup. I removed the old directories and reinstalled the mingw-related pieces this morning. I thought I'd done a reinstall last night before I sent the email, and it didn't work. Still scratching my head on what I did differently today so that I could help other people avoid that issue in the future. Jonathan _________________________________________________________________ Make every e-mail and IM count. Join the i’m Initiative from Microsoft. http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ MakeCount
Jonathan Turner
2008-May-30 15:22 UTC
[LLVMdev] Possibly Vista-related Windows/MinGW Compilation Issues
----------------------------------------> Date: Fri, 30 May 2008 09:31:11 -0500 > From: zaimoni at zaimoni.com > To: asl at math.spbu.ru; llvmdev at cs.uiuc.edu > Subject: Re: [LLVMdev] Possibly Vista-related Windows/MinGW Compilation Issues > > I'm also on Vista (although with a different Perl). The error pattern > looks half-familiar. > > Does the attached patch (MingW32.Vista.patch) work for you, Jonathan?I'll see if I can get it to break again to see if that also helps. I suspect my problem was due to having tried to manually installed mingw and msys earlier in the day and not having a clean setup. I removed the old directories and reinstalled the mingw-related pieces this morning. I thought I'd done a reinstall last night before I sent the email, and it didn't work. Still scratching my head on what I did differently today so that I could help other people avoid that issue in the future. Jonathan _________________________________________________________________ Give to a good cause with every e-mail. Join the i’m Initiative from Microsoft. http://im.live.com/Messenger/IM/Join/Default.aspx?souce=EML_WL_ GoodCause