Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Ada f-e fails to bootstrap #2379

Closed
llvmbot opened this issue Feb 10, 2008 · 4 comments
Closed

The Ada f-e fails to bootstrap #2379

llvmbot opened this issue Feb 10, 2008 · 4 comments
Labels
bugzilla Issues migrated from bugzilla llvm-tools All llvm tools that do not have corresponding tag obsolete wontfix Resolved as "WON'T FIX." Not "INVALID" — the issue is real, but we can't or won't fix it

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Feb 10, 2008

Bugzilla Link 2007
Version trunk
OS Linux
Reporter LLVM Bugzilla Contributor
CC @lattner

Extended Description

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.

@lattner
Copy link
Collaborator

lattner commented Oct 9, 2009

was this magically fixed by jim's sjlj work?

@llvmbot
Copy link
Collaborator Author

llvmbot commented Oct 12, 2009

I was unable to test whether this has been fixed because bootstrap
fails earlier when comparing the stage 2 and stage 3 compilers.

@llvmbot
Copy link
Collaborator Author

llvmbot commented Feb 9, 2010

The stage2 vs stage3 comparison is still failing. It looks like I will have to
debug it!

@llvmbot
Copy link
Collaborator Author

llvmbot commented Feb 9, 2010

OK, I disabled the stage2 vs stage3 comparison check, and bootstrap fails
just the same as it always did: due to an uncaught exception
SEM_PRAG.ANALYZE_PRAGMA.PRAGMA_EXIT : sem_prag.adb:1475
while building s-auxdec.adb. Jim's sjlj work was not enough :(

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
@asl asl added obsolete wontfix Resolved as "WON'T FIX." Not "INVALID" — the issue is real, but we can't or won't fix it labels Dec 14, 2021
@asl asl closed this as completed Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla llvm-tools All llvm tools that do not have corresponding tag obsolete wontfix Resolved as "WON'T FIX." Not "INVALID" — the issue is real, but we can't or won't fix it
Projects
None yet
Development

No branches or pull requests

3 participants