[cfe-dev] building LLVM/Clang on Windows 7 x64 using MinGW/MSYS

Mikael Lepistö mikael.lepisto at vincit.fi
Thu Oct 10 22:35:55 PDT 2013


That sounds familiar, are you using MinGW64 4.8.1? I had to take older
version of it to make successful build. With MinGW64 4.6.3, MSYS rev 12 and
cmake, I didn't get  '__register_frame' error.

BR, Mikael Lepistö


On Fri, Oct 11, 2013 at 3:01 AM, Óscar Fuentes <ofv at wanadoo.es> wrote:

> "Dennis Cote" <DennisC at harding.ca> writes:
>
> > I tried building with the MinGW64 compiler and got a different link
> > error at 64% of the build:
> >
> >
> >
> > Linking CXX executable ../../bin/lli.exe
> >
> >
> ../../lib/libLLVMExecutionEngine.a(RTDyldMemoryManager.cpp.obj):RTDyldMemoryManager.cpp:(.text+0x8f):
> > undefined reference to `__register_frame'
> >
> > collect2.exe: error: ld returned 1 exit status
>
> This sounds familiar. I think that you are mixing object files or
> libraries compiled with different exception handling methods
> (SJLJ/Dwarf2)
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131011/7c902a60/attachment.html>


More information about the cfe-dev mailing list