Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.6.2, 4.7.0
-
None
-
None
-
Leopard on intel Mac.
Description
We would like to compile a static Cocoa 32-/64-bit Qt with universal binaries for x86, x86_64, ppc and ppc64 platforms
- or at least for both intel and one of the PPC platforms..
We tried the following:
- At first with the Qt 4.7 tech preview:
1) For all four architectures:
"./configure -cocoa -static -no-qt3support -debug-and-release -nomake "examples demos" -qt-zlib -qt-libtiff -qt-gif -qt-libpng -openssl -qt-libjpeg -qt-sql-sqlite -no-webkit -arch "x86 x86_64 ppc ppc64" -sdk /Developer/SDKs/MacOSX10.5.sdk"
=>
A lot of compile errors, starting with "../../include/QtGui/private/../../../src/gui/painting/qdrawhelper_mmx_p.h:61:22: error: mmintrin.h: No such file or directory".
All errors seem to have something to do with SSE/SSE2, MMX, 3Dnow, etc. code, so we tried an intel-only build next.
2) For both intel architectures, only:
"./configure -cocoa -static -no-qt3support -debug-and-release -nomake "examples demos" -qt-zlib -qt-libtiff -qt-gif -qt-libpng -openssl -qt-libjpeg -qt-sql-sqlite -no-webkit -arch "x86 x86_64" -sdk /Developer/SDKs/MacOSX10.5.sdk"
=>
Duplicate symbols error <=> This one seems to be already fixed by you, but we do not want to try out a Qt snapshot
and we would like to have PPC support, too - so we...
- ...switched back to Qt 4.6.2 stable:
3) For all four architectures:
"./configure -cocoa -static -no-qt3support -debug-and-release -nomake "examples demos" -qt-zlib -qt-libtiff -qt-gif -qt-libpng -openssl -qt-libjpeg -qt-sql-sqlite -no-webkit -arch "x86 x86_64 ppc ppc64" -sdk /Developer/SDKs/MacOSX10.5.sdk"
=>
Error, "lipo" cannot find a file (no other error message found above the following):
"
lipo: can't open input file: /var/folders/wv/wv1MWXszGCaPg5Ya-kjPkU+++TI/Tmp//ccdl20Ab.out (No such file or directory)
make[4]: *** [../../../../bin/Assistant.app/Contents/MacOS/Assistant] Error 1
make[3]: *** [sub-assistant-make_default-ordered] Error 2
make[2]: *** [sub-tools-make_default-ordered] Error 2
make[1]: *** [sub-assistant-make_default-ordered] Error 2
make: *** [sub-tools-make_default-ordered] Error 2
"
4) For both intel architectures, only:
"./configure -cocoa -static -no-qt3support -debug-and-release -nomake "examples demos" -qt-zlib -qt-libtiff -qt-gif -qt-libpng -openssl -qt-libjpeg -qt-sql-sqlite -no-webkit -arch "x86 x86_64" -sdk /Developer/SDKs/MacOSX10.5.sdk"
=> Succeeded - but we would like to have at least some kind of PPC code in the universal binaries of our Qt compile..
Regards
Marcel