[tor-bugs] #9829 [Tor bundles/installation]: Firefox ESR 24 does need a newer compiler than gcc 4.2
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Oct 21 18:33:15 UTC 2013
#9829: Firefox ESR 24 does need a newer compiler than gcc 4.2
------------------------------------------+-------------------------------
Reporter: gk | Owner: erinn
Type: defect | Status: new
Priority: normal | Milestone:
Component: Tor bundles/installation | Version:
Resolution: | Keywords: tbb-3.0, ff24-esr
Actual Points: | Parent ID: #9827
Points: |
------------------------------------------+-------------------------------
Comment (by gk):
Regarding ESR17: I set additionally
{{{
CXXCPP="$HOME/build/i686-apple-darwin10/bin/i686-apple-darwin10-cpp"
}}}
as /lib/cpp is wrong for the C++ preprocessor as well. And you need to
export the path to the (clang) binaries (e.g. in your gitian-firefox.yml),
otherwise there is some problem building the NSPR library. If you have
done this you'll get the error in the clang33CompileFailureESR17 file
attached to this bug. Compiling 3.1 and using it on a Mac OS X 10.6.8 to
compile Firefox works while compiling a clang 3.3 and using that breaks
with the same error which leads me to the conclusion clang 3.3 is not
suitable for compiling ESR17 at all.
Regarding ESR24: Apart from two minor but different issues I almost get
the ESR24 compiled. It fails near the end with:
{{{
string_conversion.cc
In file included from /home/ubuntu/build/tor-browser/toolkit/crashreporter
/google-breakpad/src/common/mac/arch_utilities.cc:30:0:
/home/ubuntu/build/tor-browser/toolkit/crashreporter/google-
breakpad/src/common/mac/../../common/mac/arch_utilities.h:35:25: fatal
error: mach-o/arch.h: No such file or directory
compilation terminated.
/home/ubuntu/build/tor-browser/obj-macos/_virtualenv/bin/python
/home/ubuntu/build/tor-browser/config/pythonpath.py \
-I/home/ubuntu/build/tor-browser/other-licenses/ply \
-I/home/ubuntu/build/tor-browser/xpcom/typelib/xpt/tools \
/home/ubuntu/build/tor-browser/obj-macos/dist/sdk/bin/typelib.py
-I/home/ubuntu/build/tor-browser/toolkit/components/commandlines
-I../../../dist/idl /home/ubuntu/build/tor-
browser/toolkit/components/commandlines/nsICommandLineValidator.idl -d
.deps/nsICommandLineValidator.xpt.pp -o
_xpidlgen/nsICommandLineValidator.xpt
make[6]: *** [host_arch_utilities.o] Error 1
make[6]: Leaving directory `/home/ubuntu/build/tor-browser/obj-
macos/toolkit/crashreporter/google-breakpad/src/common/mac'
make[5]: *** [crashreporter/google-breakpad/src/common/mac_libs] Error 2
make[5]: /home/ubuntu/build/i686-apple-darwin10/bin/i686-apple-
darwin10-clang++ -arch i386 -isysroot /usr/lib/apple/SDKs/MacOSX10.6.sdk
-o string_conversion.o -c -fvisibility=hidden -DNO_NSPR_10_SUPPORT
-I/home/ubuntu/build/tor-browser/toolkit/crashreporter/google-
breakpad/src/common/.. -I../../../../../dist/include -fPIC -Qunused-
arguments -Qunused-arguments -Wall -Wpointer-arith -Woverloaded-virtual
-Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-
invalid-offsetof -Wno-c++0x-extensions -Wno-extended-offsetof -Wno-
unknown-warning-option -Wno-return-type-c-linkage -Wno-mismatched-tags
-isysroot /usr/lib/apple/SDKs/MacOSX10.6.sdk/ -fno-exceptions -fno-strict-
aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions
-std=gnu++0x -pthread -DNO_X11 -pipe -DHAVE_MACH_O_NLIST_H -DNDEBUG
-DTRIMMED -g -O3 -fomit-frame-pointer -Qunused-arguments
-DMOZILLA_CLIENT -include ../../../../../mozilla-config.h -MD -MP -MF
.deps/string_conversion.o.pp /home/ubuntu/build/tor-
browser/toolkit/crashreporter/google-
breakpad/src/common/string_conversion.cc
*** Waiting for unfinished jobs....
}}}
There is hope. But I don't think it is worth fixing ESR17 given that Tor
Browser with ESR24 is coming soon.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9829#comment:34>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list