Bugzilla – Bug 2007
The Ada f-e fails to bootstrap
Last modified: 2008-02-10 07:03:17
You need to log in before you can comment on or make changes to this bug.
The reason for this is that the compiler itself is built using setjump/longjump style exceptions which is not supported by LLVM (normal code built by the compiler uses dwarf zero-cost style exceptions which are supported by LLVM). Exceptions are raised inside the compiler when it builds the runtime (due to processing files containing pragmas for VAX) and need to be caught. The exceptions are caught if the new compiler was built by the system compiler, but not if it was built using the llvm-gcc Ada compiler, which is what happens during bootstrap. This could be fixed by adding sj/lj exception support to LLVM, or by modifying the build system so that the compiler uses dwarf zcx internally.