In response to Hanspeter's update to firefox8 to allow to build with clang-2.1 and that is 'should' work with clang in Xcode 4.3, I tried it.
It dies with the following errors: /usr/bin/clang++ -o dom_quickstubs.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DSTATIC_EXPORTABLE_JS_API -DOSTYPE=\"Darwin11.4.0\" -DOSARCH=Darwin -DJSFILE -DJS_THREADSAFE -DEXPORT_XPC_API -DJS_TRACER=1 -DFEATURE_NANOJIT=1 -DAVMPLUS_64BIT -DAVMPLUS_AMD64 -DAVMPLUS_UNIX -D_IMPL_NS_LAYOUT -I/sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/js/src/xpconnect/src/../wrappers -I/sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/js/src/xpconnect/src/../loader -I/sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/js/src -I/sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/js/src/nanojit -I/sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/caps/include -I/sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/content/base/src -I/sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/content/html/content/src -I/sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/content/html/document/src -I/sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/content/svg/content/src -I/sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/layout/style -I/sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/layout/base -I/sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/dom/base -I/sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/xpcom/ds -I/sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/js/src/xpconnect/src -I. -I../../../../dist/include -I../../../../dist/include/nsprpub -I/sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/obj-x86_64-apple-darwin11.4.0/dist/include/nspr -I/sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/obj-x86_64-apple-darwin11.4.0/dist/include/nss -I/sw/lib/libjpeg8-turbo/include -fPIC -I/sw/include -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -fno-strict-aliasing -fno-common -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -fomit-frame-pointer -I/sw/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -MD -MF .deps/dom_quickstubs.pp /sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/obj-x86_64-apple-darwin11.4.0/js/src/xpconnect/src/dom_quickstubs.cpp In file included from /sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/obj-x86_64-apple-darwin11.4.0/js/src/xpconnect/src/dom_quickstubs.cpp:7: In file included from /sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/js/src/nanojit/nanojit.h:366: /sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/js/src/nanojit/RegAlloc.h:183:24: error: non-constant-expression cannot be narrowed from type 'int' to 'Register' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] ...r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/js/src/nanojit/RegAlloc.h:183:24: note: override this message by inserting an explicit cast ...r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) }; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<Register>( ) /sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/js/src/nanojit/RegAlloc.h:191:24: error: non-constant-expression cannot be narrowed from type 'int' to 'Register' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] ...r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/js/src/nanojit/RegAlloc.h:191:24: note: override this message by inserting an explicit cast ...r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) }; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<Register>( ) 2 errors generated. make[6]: *** [dom_quickstubs.o] Error 1 make[6]: Leaving directory `/sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/obj-x86_64-apple-darwin11.4.0/js/src/xpconnect/src' make[5]: *** [libs] Error 2 make[5]: Leaving directory `/sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/obj-x86_64-apple-darwin11.4.0/js/src/xpconnect' make[4]: *** [libs_tier_platform] Error 2 make[3]: Leaving directory `/sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/obj-x86_64-apple-darwin11.4.0' make[2]: *** [default] Error 2 make[2]: Leaving directory `/sw/src/fink.build/firefox8-8.0.1-3/mozilla-release/obj-x86_64-apple-darwin11.4.0' make[1]: *** [realbuild] Error 2 make[1]: Leaving directory `/sw/src/fink.build/firefox8-8.0.1-3/mozilla-release' make: *** [build] Error 2 make: Leaving directory `/sw/src/fink.build/firefox8-8.0.1-3/mozilla-release' ### execution of /tmp/fink.R8E3G failed, exit code 2 ### execution of /tmp/fink.m_lKQ failed, exit code 2 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-firefox8-8.0.1-3 (Reading database ... 270165 files and directories currently installed.) Removing fink-buildlock-firefox8-8.0.1-3 ... Failed: phase compiling: firefox8-8.0.1-3 failed Before reporting any errors, please run "fink selfupdate" and try again. If you continue to have issues, please check to see if the FAQ on Fink's website solves the problem. If not, ask on one (not both, please) of these mailing lists: The Fink Users List <fink-users@lists.sourceforge.net> The Fink Beginners List <fink-beginn...@lists.sourceforge.net>, with a carbon copy to the maintainer: Hanspeter Niederstrasser <nie...@users.sourceforge.net> Note that this is preferable to emailing just the maintainer directly, since most fink package maintainers do not have access to all possible hardware and software configurations. Please try to include the complete error message in your report. This generally consists of a compiler line starting with e.g. "gcc" or "g++" followed by the actual error output from the compiler. Also include the following system information: Package manager version: 0.33.2 Distribution version: selfupdate-cvs Thu Jun 21 06:38:26 2012, 10.7, x86_64 Trees: local/main stable/main Xcode.app: 4.3.3 Xcode command-line tools: 4.3.0.0.1 Max. Fink build jobs: 1 Since Apple doesn't seem to be updating the Xcode command-line tools version identifier, this is the latest with clang version: Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn) Target: x86_64-apple-darwin11.4.0 Thread model: posix Merle ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users