firefox build broken under clang 3.3

kit ktsin at acm.org
Fri Apr 19 15:52:16 UTC 2013


updated current and now firefox and thunderbird both fail to build under
the new clang 3.3. has anyone seen this or know how to fix?

gmake[3]: Entering directory `/tmp/obj/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd10.0/js/src'
/usr/bin/clang++ -o jsanalyze.o -c  -I./../../dist/system_wrappers_js -include ../../../js/src/config/gcc_hidden.h -DENABLE_TYPEDARRAY_MOVE -DENABLE_YARR_JIT=1 -DMOZ_GLUE_IN_PROGRAM -DNO_NSPR_10_SUPPORT -DEXPORT_JS_API -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -DUSE_ZLIB -I/usr/local/lib/libffi-3.0.11/include   -I.  -I../../../js/src/../../mfbt/double-conversion -I../../../js/src -I. -I./../../dist/include  -I/usr/local/include/nspr      -I../../../js/src -I../../../js/src/assembler -I../../../js/src/yarr  -fPIC -Qunused-arguments -isystem/usr/local/include  -I/usr/local/include -Qunused-arguments -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wno-c++0x-extensions -Wno-extended-offsetof -Wno-unknown-warning-option -Wno-return-type-c-linkage -Wno-mismatched-tags -O2 -pipe -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe  -DNDEBUG -DTRIMMED -O2 -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1  -Qunused-arguments -isystem/usr/local/include  -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsanalyze.o.pp  /tmp/obj/usr/ports/www/firefox/work/mozilla-release/js/src/jsanalyze.cpp
In file included from /tmp/obj/usr/ports/www/firefox/work/mozilla-release/js/src/jsanalyze.cpp:14:
In file included from ../../../js/src/jsinferinlines.h:21:
In file included from ../../../js/src/vm/Stack-inl.h:19:
In file included from ../../../js/src/jsscriptinlines.h:21:
In file included from ../../../js/src/jsscopeinlines.h:26:
In file included from ../../../js/src/jscntxtinlines.h:15:
In file included from ../../../js/src/jsprobes.h:23:
../../../js/src/vm/ObjectImpl-inl.h:215:55: error: use of undeclared identifier
      'UndefinedValue'; did you mean 'UndefinedValue'?
        sp->init(comp, this->asObjectPtr(), offset++, UndefinedValue());
                                                      ^~~~~~~~~~~~~~
                                                      UndefinedValue
../../../js/src/jsapi.h:639:1: note: 'UndefinedValue' declared here
UndefinedValue()
^
In file included from /tmp/obj/usr/ports/www/firefox/work/mozilla-release/js/src/jsanalyze.cpp:14:
In file included from ../../../js/src/jsinferinlines.h:21:
In file included from ../../../js/src/vm/Stack-inl.h:19:
In file included from ../../../js/src/jsscriptinlines.h:21:
In file included from ../../../js/src/jsscopeinlines.h:26:
In file included from ../../../js/src/jscntxtinlines.h:15:
In file included from ../../../js/src/jsprobes.h:23:
../../../js/src/vm/ObjectImpl-inl.h:217:55: error: use of undeclared identifier
      'UndefinedValue'; did you mean 'UndefinedValue'?
        sp->init(comp, this->asObjectPtr(), offset++, UndefinedValue());
                                                      ^~~~~~~~~~~~~~
                                                      UndefinedValue
../../../js/src/jsapi.h:639:1: note: 'UndefinedValue' declared here
UndefinedValue()
^
2 errors generated.
gmake[3]: *** [jsanalyze.o] Error 1
gmake[3]: Leaving directory `/tmp/obj/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd10.0/js/src'
gmake[2]: *** [libs_tier_js] Error 2
gmake[2]: Leaving directory `/tmp/obj/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd10.0'
gmake[1]: *** [tier_js] Error 2
gmake[1]: Leaving directory `/tmp/obj/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd10.0'
gmake: *** [default] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/www/firefox.
test:/usr/ports/www/firefox[536]$ clang -v
FreeBSD clang version 3.3 (trunk 178860) 20130405
Target: x86_64-unknown-freebsd10.0
Thread model: posix



More information about the freebsd-ports mailing list