Here's a WIP patch for 'better' exception handling, but I've not had time to finish it (nor will I for a good while - hoping the LLVM/Clang developers fix it all properly first). It's mostly based on other peoples' work too, as-per the commit message .. you may find more up to date stuff if you follow the links.
https://github.com/diorcety/crosstool-ng/blob/master/patches/llvm/head/160-Add-Win64-exception-handling.patch The stage I got to was that it was emitting a weird mix of dw2 and SEH. Caveat emptor. On Mon, Mar 17, 2014 at 12:40 PM, Etienne Sandré-Chardonnal <[email protected]> wrote: > Dear Alexey, > > I have problems compiling LLVM 3.3, but LLVM 3.4 compiles fine. > The issue with 3.4 occurs when linking my project compiled llvm libs. > > I tried with the pre build libs from your link, and I get the exact same > error from the linker such as: > > > error: undefined reference to `__imp_EnumerateLoadedModules64' > error: undefined reference to `__imp_SymSetOptions' > etc... > > Is there specific options to pass to gcc when linking with these binaries? > > Thanks, > > > Etienne > > > > > > You can try to get precompiled LLVM from MSYS2/pacman repository via MSYS2. > Or download it here: > https://sourceforge.net/projects/msys2/files/REPOS/MINGW/x86_64/ > But you also need download all necessary dependencies by hand in this case. > > How we build it is here: > https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-clang > > Regards, > Alexey. > > > 2014-03-17 12:49 GMT+01:00 Etienne Sandré-Chardonnal > <[email protected]>: > >> Dear Alexey, >> >> Thanks for the information. >> >> Do you build this using mingw-clang or mingw-gcc? >> I believe I will have to build it myself as things such as exception >> handling or thread support make linking rarely work between mingw versions. >> >> Regards, >> >> Etienne >> >> >> >> >> >>> You can try to get precompiled LLVM from MSYS2/pacman repository via >>> MSYS2. >>> Or download it here: >>> https://sourceforge.net/projects/msys2/files/REPOS/MINGW/x86_64/ >>> But you also need download all necessary dependencies by hand in this >>> case. >>> >>> How we build it is here: >>> https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-clang >>> >>> Regards, >>> Alexey. >> >> > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Mingw-w64-public mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
