Page MenuHomeFreeBSD

llvm-devel on powerpc64: add configure option to select ELFv2 ABI
ClosedPublic

Authored by alfredo on Oct 21 2019, 7:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 28, 2:58 AM
Unknown Object (File)
Thu, Sep 25, 9:45 PM
Unknown Object (File)
Thu, Sep 25, 9:01 PM
Unknown Object (File)
Mon, Sep 22, 12:52 PM
Unknown Object (File)
Sun, Sep 21, 8:49 PM
Unknown Object (File)
Mon, Sep 15, 7:04 AM
Unknown Object (File)
Fri, Sep 12, 3:10 PM
Unknown Object (File)
Wed, Sep 10, 9:09 PM
Subscribers

Details

Summary

In preparation for compiler+ABI change in PowerPC64, this change adds a configure option to select ELFv2 as default powerpc64 ABI when compiling llvm-devel.

The new option automatically set when ELFv2 environment is detected (when PPC_ABI=ELFv2)

I plan to propose same change for llvm90 package, as long this one is approved

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 27141
Build 25416: arc lint + arc unit

Event Timeline

This looks good. I would like to commit it myself along with an update of the port to limit needless rebuilds (options changes require PORTREVISION bumps).

This revision is now accepted and ready to land.Oct 21 2019, 9:14 PM

This looks good. I would like to commit it myself along with an update of the port to limit needless rebuilds (options changes require PORTREVISION bumps).

Thanks! I'll prepare the patch for llvm90, it should be the same.
This change depends on D22039 to be active, but it looks safe to be committed anytime since ".if defined(PPC_ABI)" guards it.

This revision was automatically updated to reflect the committed changes.