Skip to content

The Ada f-e fails to bootstrap #2379

@llvmbot

Description

@llvmbot
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillallvm-toolsAll llvm tools that do not have corresponding tagobsoleteIssues with old (unsupported) versions of LLVMwontfixIssue is real, but we can't or won't fix it. Not invalid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions