Make Mac SDK-compiler compatibility check more useful again

RESOLVED INCOMPLETE

Status

()

Core
Build Config
RESOLVED INCOMPLETE
12 years ago
9 months ago

People

(Reporter: Mark Mentovai, Assigned: Mark Mentovai)

Tracking

Trunk
PowerPC
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

12 years ago
configure.in includes a test to verify compatibility between the selected compiler and Mac OS X SDK.  Not all combinations are valid.  I initially added this check because mismatched pairs cause build failures in ways that were rarely immediately apparent.  "new.h not found".  Yeah, that sounds good.

This was initially an AC_TRY_RUN test, but in bug 322578, I changed it to AC_TRY_COMPILE because AC_TRY_RUN would return "maybe" when cross-compiling.

http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/configure.in&rev=1.1636&mark=750-751#748

AC_TRY_COMPILE is wrong, because it doesn't verify that the SDK contains libraries suitable for the compiler to link against.  This test should use AC_TRY_LINK.

Cc preed because tinderbox logs indicate that this may have helped him debug some failing builds.  I've also had a couple of reports of other people getting stung by this since 322578 landed.

Comment 1

9 months ago
This code has been touched in the 11 years since. I don't think this is still an issue.
Status: NEW → RESOLVED
Last Resolved: 9 months ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.