Closed Bug 427568 Opened 18 years ago Closed 18 years ago

Cross-platform build issues with mac 10.5 and 10.4

Categories

(Tamarin Graveyard :: Build Config, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: brbaker, Unassigned)

Details

Attachments

(2 files)

Compiling the shell on osx 10.5 using the cross-platform build generates a shell that will not run on osx 10.4. When you run the shell on a 10.4 machine you get the following error: "mach_port_allocate failed bus error". NOTES: 1) building the shell using the xcode project on 10.5 DOES produce a shell that will execute on 10.4 2) building the shell on 10.4 using the cross-platform build works fine 3) building the shell on 10.4 using the cross-platform build works fine when it is run on 10.5 I have been building using the following basic build: python ../configure.py --enable-shell make clean make
Forgot to mention that this happens in both branches (tamarin-central and tamarin-tracing)
You need to compile against the 10.4u SDK... I'm looking into exactly the right settings to make that happen correctly.
If you're using gcc 4.x (the default for x86, but not for PPC), then it should be sufficient to export CXX="g++ -isysroot /Developer/SDKs/MacOSX10.4u.sdk" If you want to target PPC, you can either: * use gcc 4.0, which will get you compatibility with MacOS 10.3.9+ * use gcc 3.3 and lots of hacked rules, see http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/configure.in&rev=1.1973&mark=801-827#774
Looks like the builds are already default compiling against 10.4 This is from the build log: http://tamarin-builds.mozilla.org/tamarin-central/builders/tamarin-mac/builds/132/steps/Build_Release/logs/stdio -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
Status: NEW → ASSIGNED
Attachment #315780 - Flags: review?(benjamin)
Attachment #315776 - Attachment description: Add MACOSX_DEPLOYMENT_TARGET env var to prevent bus error on 10.4 → Add MACOSX_DEPLOYMENT_TARGET env var to prevent bus error on 10.4 (tamarin-central)
Attachment #315776 - Flags: review?(benjamin) → review+
Attachment #315780 - Flags: review?(benjamin) → review+
Fixed w/ 519:76d65a6d16b4
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Tamarin-Tracing fixed w/ 340:0cc94211610e
Resolved fixed engineering / work item that has been pushed. Setting status to verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: