Pavel Holoborodko
2011-Oct-17 07:05 UTC
[LLVMdev] Compile llvm-gcc fortran backend using mingw
Hello everyone! I got following error while trying to compile llvm-gcc-4.2 using mingw: ..\llvm-gcc-4.2\obj\libcpp/../../libcpp/macro.c:1165: undefined reference to `flag_iasm_blocks' stub-c.o:stub-c.c:(.debug_info+0x81a0): undefined reference to `flag_iasm_blocks' stub-c.o:stub-c.c:(.debug_info+0x81b9): undefined reference to `iasm_state' stub-c.o:stub-c.c:(.debug_info+0x81d8): undefined reference to `iasm_in_operands' Configuration command: ../configure --enable-languages=,c++,fortran --prefix=u:/libs/llvm-gcc-2.9 --program-prefix=llvm- --enable-llvm=u:/libs/llvm-2.9 --disable-bootstrap --disable-multilib LLVM itself was compiled & installed successfully with such configuration: ../configure --prefix=u:/libs/llvm-2.9 --enable-optimized --enable-assertions I tried latest sources from SVN and from official download page - result is the same. I followed few guides on compilation(including official one) - same. MinGW has gcc 4.6.1 and it seems all required packages (binutils, perl, gfortran, mpfr, gmp, etc) are installed. I would appreciate any help on how to solve this problem. Thank you in advance. Pavel. P.S. BTW, it is little bit strange that llvm-gcc doesn't support CMake building system. LLVM does and it is extremely convenient.... -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111017/af15549e/attachment.html>
Hi Pavel,> BTW, it is little bit strange that llvm-gcc doesn't support CMake building system. > LLVM does and it is extremely convenient....llvm-gcc is dead, deprecated in favour of clang and dragonegg. It won't be part of the upcoming 3.0 release. This is why no-one is interested in working on it. Ciao, Duncan.
Pavel Holoborodko
2011-Oct-17 08:41 UTC
[LLVMdev] Compile llvm-gcc fortran backend using mingw
Thank you for quick reply. I see, llvm-gcc is frozen.... Is there Fortran front-end for LLVM then? On Mon, Oct 17, 2011 at 5:09 PM, Duncan Sands <baldrick at free.fr> wrote:> Hi Pavel, > > > BTW, it is little bit strange that llvm-gcc doesn't support CMake > building system. > > LLVM does and it is extremely convenient.... > > llvm-gcc is dead, deprecated in favour of clang and dragonegg. It won't be > part > of the upcoming 3.0 release. This is why no-one is interested in working > on it. > > Ciao, Duncan. > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111017/423b091b/attachment.html>
On 10/17/2011 10:09 AM, Duncan Sands wrote:> llvm-gcc is dead, deprecated in favour of clang and dragonegg. It won't be part > of the upcoming 3.0 release. This is why no-one is interested in working on it.The tentative release notes still say otherwise: "LLVM 3.0 will be the last release of llvm-gcc." (http://llvm.org/docs/ReleaseNotes.html) I understand that llvm-gcc is being phased out in favour of dragonegg, but (at least according to its own website) dragonegg is still a bit rough around the edges and requires a patched gcc 4.5 to work. So llvm-gcc still serves an important role, if only for the Fortran and Ada compilers. Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr.Graef at t-online.de, ag at muwiinfa.geschichte.uni-mainz.de WWW: http://www.musikinformatik.uni-mainz.de/ag