Closed
Bug 442545
Opened 16 years ago
Closed 16 years ago
OS X builderror with the 10.5SDK & GCC 4.01
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 429841
People
(Reporter: phiw2, Unassigned)
Details
Attachments
(2 files)
Trying to build trunk (mozilla-central) with ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.5.sdk ac_add_options --enable-macos-target=10.5 fails ... /Users/phiw/gecko1.9.1/toolkit/crashreporter/google-breakpad/src/client/mac/handler/minidump_generator.cc: In member function 'bool google_breakpad::MinidumpGenerator::WriteModuleListStream(MDRawDirectory*)': /Users/phiw/gecko1.9.1/toolkit/crashreporter/google-breakpad/src/client/mac/handler/minidump_generator.cc:708: warning: '_dyld_present' is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/usr/include/mach-o/dyld.h:237) /Users/phiw/gecko1.9.1/toolkit/crashreporter/google-breakpad/src/client/mac/handler/minidump_generator.cc:708: warning: '_dyld_present' is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/usr/include/mach-o/dyld.h:237) make[6]: *** [minidump_generator.o] Error 1
Comment 1•16 years ago
|
||
I've attached a simple program that reproduces the same compilation error on my system.
Comment 2•16 years ago
|
||
The _STRUCT_X86_THREAD_STATE32 struct is conditionally defined in mach/i386/_structs.h depending on the state of __DARWIN_UNIX03, which is itself defined in sys/cdefs.h. Targeting OS X 10.4 by setting the environment variable MACOSX_DEPLOYMENT_TARGET to 10.4 fixes the sample test program, but this is still a suboptimal solution. I'm not entirely sure what the ideal way to get around this is--or, for that matter, why this problem only seems to be occurring on philippe's system and mine but no one else's.
Comment 3•16 years ago
|
||
Follow-up: I'm able to fully build Minefield when targeting 10.4 and run it as well, so I'm going to run with this workaround for now. Perhaps google-breakpad needs to be modified to work with __DARWIN_UNIX03 compliance enabled?
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•