Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2013 10:01:15 +0800
From:      kit <ktsin@acm.org>
To:        freebsd-ports@freebsd.org
Subject:   firefox build broken under clang 3.3
Message-ID:  <20130419020021.GA16918@test.yahoo.com>

next in thread | raw e-mail | index | archive | help
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-r=
elease/obj-x86_64-portbld-freebsd10.0/js/src'
/usr/bin/clang++ -o jsanalyze.o -c  -I./../../dist/system_wrappers_js -incl=
ude ../../../js/src/config/gcc_hidden.h -DENABLE_TYPEDARRAY_MOVE -DENABLE_Y=
ARR_JIT=3D1 -DMOZ_GLUE_IN_PROGRAM -DNO_NSPR_10_SUPPORT -DEXPORT_JS_API -DJS=
_HAS_CTYPES -DDLL_PREFIX=3D\"lib\" -DDLL_SUFFIX=3D\".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/incl=
ude/nspr      -I../../../js/src -I../../../js/src/assembler -I../../../js/s=
rc/yarr  -fPIC -Qunused-arguments -isystem/usr/local/include  -I/usr/local/=
include -Qunused-arguments -Wall -Wpointer-arith -Woverloaded-virtual -Werr=
or=3Dreturn-type -Wtype-limits -Wempty-body -Werror=3Dconversion-null -Wno-=
ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variad=
ic-macros -Wno-c++0x-extensions -Wno-extended-offsetof -Wno-unknown-warning=
-option -Wno-return-type-c-linkage -Wno-mismatched-tags -O2 -pipe -fno-stri=
ct-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -=
pipe  -DNDEBUG -DTRIMMED -O2 -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=3D1 -=
DENABLE_ASSEMBLER=3D1 -DENABLE_JIT=3D1  -Qunused-arguments -isystem/usr/loc=
al/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-r=
elease/js/src/jsanalyze.cpp
In file included from /tmp/obj/usr/ports/www/firefox/work/mozilla-release/j=
s/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:
=2E./../../js/src/vm/ObjectImpl-inl.h:215:55: error: use of undeclared iden=
tifier
      'UndefinedValue'; did you mean 'UndefinedValue'?
        sp->init(comp, this->asObjectPtr(), offset++, UndefinedValue());
                                                      ^~~~~~~~~~~~~~
                                                      UndefinedValue
=2E./../../js/src/jsapi.h:639:1: note: 'UndefinedValue' declared here
UndefinedValue()
^
In file included from /tmp/obj/usr/ports/www/firefox/work/mozilla-release/j=
s/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:
=2E./../../js/src/vm/ObjectImpl-inl.h:217:55: error: use of undeclared iden=
tifier
      'UndefinedValue'; did you mean 'UndefinedValue'?
        sp->init(comp, this->asObjectPtr(), offset++, UndefinedValue());
                                                      ^~~~~~~~~~~~~~
                                                      UndefinedValue
=2E./../../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-re=
lease/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-re=
lease/obj-x86_64-portbld-freebsd10.0'
gmake[1]: *** [tier_js] Error 2
gmake[1]: Leaving directory `/tmp/obj/usr/ports/www/firefox/work/mozilla-re=
lease/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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130419020021.GA16918>