Closed Bug 675008 Opened 13 years ago Closed 13 years ago

We check for the deployment target version, but should check for the sdk version

Categories

(Toolkit :: Crash Reporting, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla8

People

(Reporter: espindola, Assigned: espindola)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch check for the sdk version (obsolete) — Splinter Review
With 673789 fixed a build with

ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.7.sdk
ac_add_options --enable-macos-target=10.5

would still fail since MAC_OS_X_VERSION_MIN_REQUIRED is 10.5 which is < 10.7.

I think the correct fix that works with both configure and xcode is to use MAC_OS_X_VERSION_MAX_ALLOWED which is defined to the sdk version.
Attachment #549196 - Flags: review?(ted.mielczarek)
Attachment #549196 - Flags: review?(ted.mielczarek) → review+
Assignee: nobody → respindola
I added a checking-needed, let me know if we should wait for this to be upstream instead.
Keywords: checkin-needed
(In reply to comment #1)
> I added a checking-needed

When using "checkin-needed", it's best if you...
 (a) make sure the patch has the right level of directory depth for |hg import| to work.
 (b) include author & commit-message headers, as described here:
https://developer.mozilla.org/en/Mercurial_FAQ#How_can_I_generate_a_patch_for_somebody_else_to_check-in_for_me.3f

(You can use mq to address (b), as described at the above URL, or alternately you apply the changes and do "hg commit" (as if you were going to push it), and then "hg export tip > my_patch.patch", and then attach my_patch.patch.  And finally you can use "hg rollback" to undo the commit.)

> let me know if we should wait for this to be upstream instead.

Assuming that we're not waiting for upstream (ted?) -- Rafael, it'd greatly help whoever ultimately checks this in if you could address (a) and (b) above, so that this is more pushable.
(Either of the suggested fixes for (b) will also fix (a) for free, btw.)
Attachment #550005 - Attachment is patch: true
Attachment #550005 - Attachment mime type: message/rfc822 → text/plain
Landed on inbound.
Keywords: checkin-needed
http://hg.mozilla.org/mozilla-central/rev/272a5a897bb6
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: