Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use a G4- or G5-optimized Firefox build' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use a G4- or G5-optimized Firefox build
Authored by: koncept on Nov 13, '04 02:25:30AM
I am getting build errors (Dual G4 QuickSilver 10.3.x) and I was wondering if somebody would have a clue why:

export CVSROOT=:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot
cvs login
cvs co -r AVIARY_1_0_20040515_BRANCH mozilla/client.mk mozilla/browser/config
Error:

checking for correct temporary object destruction order... no
configure: error: Your compiler does not follow the C++ specification for temporary object destruction order.
*** Fix above errors and then restart with "make -f client.mk build"
.mozconfig

. $topsrcdir/browser/config/mozconfig

export MOZILLA_OFFICIAL=1
export BUILD_OFFICIAL=1

mk_add_options MOZILLA_OFFICIAL=1
mk_add_options BUILD_OFFICIAL=1
mk_add_options MOZ_MAKE_FLAGS=-j2

ac_add_options --enable-pthreads
ac_add_options --enable-prebinding
ac_add_options --enable-static
ac_add_options --enable-strip
ac_add_options --enable-strip-libs
ac_add_options --enable-optimize="-O3 -faltivec -mcpu=ppc7450 -mtune=ppc7450 -mpowerpc -mpowerpc-gfxopt"

ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.2.8.sdk

ac_add_options --disable-tests
ac_add_options --disable-shared
ac_add_options --disable-debug

ac_add_options --without-system-nspr
ac_add_options --without-system-zlib
ac_add_options --without-system-jpeg
ac_add_options --without-system-png
ac_add_options --without-system-mng


[ Reply to This | # ]
Use a G4- or G5-optimized Firefox build
Authored by: moist on Nov 13, '04 06:50:46PM
Make sure you have /Developer/SDKs/MacOSX10.2.8.sdk installed (as defined in the .mozconfig file: ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.2.8.sdk) from the XCode Tools CD.

I get the same error when using MacOSX10.3.0.sdk but MacOSX10.2.8.sdk worked.


[ Reply to This | # ]

Use a G4- or G5-optimized Firefox build
Authored by: neilio on Nov 14, '04 03:10:38PM

Unless you absolutely need OS 10.2.x support, I would remove the following line from your .mozconfig:

ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.2.8.sdk

I built without it included and had no errors.

---
Slumming at http://www.beatnikpad.com/



[ Reply to This | # ]