Opened 19 months ago

Last modified 19 months ago

#65918 assigned defect

xz-bootstrap uses clang for PPC on Rosetta

Reported by: barracuda156 Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: powerpc, snowleopard, rosetta Cc: jmroot (Joshua Root)
Port: xz-bootstrap

Description

This problem only concerns xz-bootstrap, not regular xz (the latter correctly uses gcc-4.2).

The port still [pretends to] build – with multiple warnings:

clang: warning: not using the clang compiler for the 'powerpc' architecture

This is a wrong behavior, clang should never be invoked for ppc builds.

Attachments (1)

main.log (248.2 KB) - added by barracuda156 19 months ago.

Download all attachments as: .zip

Change History (2)

Changed 19 months ago by barracuda156

Attachment: main.log added

comment:1 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: jmroot added

This applies to all the -bootstrap ports.

It happens because the -bootstrap ports specify this:

    compiler.whitelist      clang llvm-gcc-4.2 gcc-4.2 apple-gcc-4.2

Josh added that in [e967bb1325decd8d0c05f2f37b27067f6d780eb3/macports-ports] to fix #58876.

Note: See TracTickets for help on using tickets.