Page MenuHomeFreeBSD

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

Authored by alfredo.junior_eldorado.org.br on Mon, Oct 21, 7:17 PM.

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

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

brooks accepted this revision.Mon, Oct 21, 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).

This revision is now accepted and ready to land.Mon, Oct 21, 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.