Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #12584 (closed defect: invalid)

Opened 15 months ago

Last modified 15 months ago

binutils fails to install when non-Apple gcc used: "cc: unrecognized option '-no-cpp-precomp'"

Reported by: ryandesign@… Owned by: pguyot@…
Priority: Normal Milestone: Port Bugs
Component: ports Version:
Keywords: Cc: pguyot@…, ryandesign@…
Port:

Description

We have a report on the mailing list that binutils fails to install with the message "cc: unrecognized option '-no-cpp-precomp'". Anders says this option is not needed on gcc-3.3+ (Panther+) but should not cause any harm with later versions of Apple GCC. The OP then responded that FSF GCC 4.2.1 was being used instead. So it seems that we should patch the portfile so that -no-cpp-precomp is only used on Jaguar. I assume this line of the portfile is the culprit:

configure.env   	CC="cc -no-cpp-precomp"

So we should put that in a "platform darwin 6" section?

Change History

Changed 15 months ago by ryandesign@…

  • version 1.5.0 deleted

Changed 15 months ago by pguyot@…

  • status changed from new to closed
  • resolution set to invalid

Installing MacPorts binutils with a non-Apple compiler does not make sense. The port specifically targets Apple's gcc and Apple's ABI. Consequently, I think this bug is invalid and OP should install binutils from source.

Note: See TracTickets for help on using tickets.