Bug 174211 - www/firefox:
Summary: www/firefox:
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gecko (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-05 22:50 UTC by O. Hartmann
Modified: 2012-12-07 12:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2012-12-05 22:50:00 UTC
Port www/firefox (17.0.1) rejects updating as shown below.

The host has CLANG build world and CLANg is system compiler.


[...]
1 warning generated.
jsinterp.cpp
c++ -o jsinterp.o -c  -I./../../dist/system_wrappers_js -include ./config/gcc_hidden.h -DENABLE_YARR_JIT=1 -DMOZ_GLUE_IN_PROGRAM -DEXPORT_JS_API -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I/usr/local/lib/libffi-3.0.9/include   -I.  -I./../../mfbt/double-conversion -I. -I. -I./../../dist/include  -I/usr/local/include/nspr      -I. -I./assembler -I./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 -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 -O3 -pipe -fno-strict-aliasing -march=native -march=native -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pipe  -DNDEBUG -DTRIMMED -O3 -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENAB
 LE_ASSEMBLER=1 -DENABLE_JIT=1  -Qunused-arguments -isystem/usr/local/include  -I/usr/local/include -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsinterp.o.pp /usr/ports/www/firefox/work/mozilla-release/js/src/jsinterp.cpp
/usr/ports/www/firefox/work/mozilla-release/js/src/jsinterp.cpp:3684:9: error: indirect goto might cross protected scopes
        DO_NEXT_OP(len);
        ^
/usr/ports/www/firefox/work/mozilla-release/js/src/jsinterp.cpp:1091:33: note: expanded from macro 'DO_NEXT_OP'
                                DO_OP();                                      \
                                ^
/usr/ports/www/firefox/work/mozilla-release/js/src/jsinterp.cpp:1085:47: note: expanded from macro 'DO_OP'
                                JS_EXTENSION_(goto *jumpTable[op]);           \
                                              ^
./jstypes.h:279:44: note: expanded from macro 'JS_EXTENSION_'
# define JS_EXTENSION_(s) __extension__ ({ s; })
                                           ^
/usr/ports/www/firefox/work/mozilla-release/js/src/jsinterp.cpp:1420:1: note: possible target of indirect goto
ADD_EMPTY_CASE(JSOP_NOP)
^
/usr/ports/www/firefox/work/mozilla-release/js/src/jsinterp.cpp:1097:29: note: expanded from macro 'ADD_EMPTY_CASE'
# define ADD_EMPTY_CASE(OP) BEGIN_CASE(OP)                                    \
                            ^
/usr/ports/www/firefox/work/mozilla-release/js/src/jsinterp.cpp:1094:29: note: expanded from macro 'BEGIN_CASE'
# define BEGIN_CASE(OP)     L_##OP:
                            ^
<scratch space>:213:1: note: expanded from macro 'L_'
L_JSOP_NOP
^
/usr/ports/www/firefox/work/mozilla-release/js/src/jsinterp.cpp:3667:25: note: jump exits scope of variable with non-trivial destructor
    DebugOnly<uint32_t> blockDepth = regs.fp()->blockChain().stackDepth();
                        ^
1 error generated.
gmake[3]: *** [jsinterp.o] Error 1
gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/js/src'
gmake[2]: *** [libs_tier_js] Error 2
gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release'


gmake[1]: *** [tier_js] Error 2
gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release'
gmake: *** [default] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/www/firefox.
*** [build] Error code 1

Stop in /usr/ports/www/firefox.

===>>> make failed for www/firefox
===>>> Aborting update

===>>> Update for www/firefox failed
===>>> Aborting update

Terminated

===>>> You can restart from the point of failure with this command line:
       portmaster <flags> www/firefox www/firefox-i18n

How-To-Repeat: Update port www/firefox on FreeBSD 10.0-CURRENT/amd64 r243906M with CLANG (most recent LLVM/CLANG 3.2-RC2)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-12-05 22:50:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gecko

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Florian Smeets freebsd_committer freebsd_triage 2012-12-07 12:39:59 UTC
State Changed
From-To: open->closed

Should be fixed. Please update your ports and try again.