Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 May 2013 07:14:14 GMT
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/178332: www/libxul: Assertion failed: (TheLoop->getLoopPreheader() && "No preheader!!"), function canVectorize, file /usr/src/lib/clang/libllvmvectorize/../../../contrib/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp, line 2171.
Message-ID:  <201305040714.r447EEP7057089@red.freebsd.org>
Resent-Message-ID: <201305041130.r44BU3ur064490@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         178332
>Category:       ports
>Synopsis:       www/libxul: Assertion failed: (TheLoop->getLoopPreheader() && "No preheader!!"), function canVectorize, file /usr/src/lib/clang/libllvmvectorize/../../../contrib/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp, line 2171.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 04 11:30:02 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     O. Hartmann
>Release:        FreeBSD 10.0-CURRENT/amd64
>Organization:
FU Berlin
>Environment:
FreeBSD 10.0-CURRENT #1 r250222: Fri May  3 23:09:26 CEST 2013 amd64
>Description:
Updating ports according to ports/UPDATING and the changes to security/libgcrypt, the port www/libxul refuses to compile on FreeBSD 10.0-CURRENT with the error shown below. This error is reproducable on a couple of other FreeBSD 10.0 boxes having port www/libxul installed.

[...]
In file included from /usr/ports/www/libxul/work/mozilla-esr10/js/src/jsinterp.cpp:95:
./vm/String-inl.h:59:24: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion]
                return NULL;
                ~~~~~~ ^~~~
                       false
In file included from /usr/ports/www/libxul/work/mozilla-esr10/js/src/jsinterp.cpp:52:
In file included from ./jsarray.h:45:
In file included from ./jscntxt.h:50:
In file included from ./jsatom.h:53:
./vm/String.h:580:12: warning: private field 'inlineStorageExtension' is not used [-Wunused-private-field]
    jschar inlineStorageExtension[INLINE_EXTENSION_CHARS];
           ^
Assertion failed: (TheLoop->getLoopPreheader() && "No preheader!!"), function canVectorize, file /usr/src/lib/clang/libllvmvectorize/../../../contrib/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp, line 2171.
Stack dump:
0.      Program arguments: /usr/bin/c++ -cc1 -triple x86_64-unknown-freebsd10.0 -emit-obj -disable-free -main-file-name jsinterp.cpp -mrelocation-model pic -pic-level 2 -relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu penryn -coverage-file /usr/ports/www/libxul/work/mozilla-esr10/jsinterp.o -resource-dir /usr/bin/../lib/clang/3.3 -dependency-file .deps/jsinterp.pp -MT jsinterp.o -sys-header-deps -isystem /usr/local/include -isystem /usr/local/include -include ./js-confdefs.h -D OSTYPE="FreeBSD10" -D OSARCH=FreeBSD -D EXPORT_JS_API -D IMPL_MFBT -D JS_HAS_CTYPES -D DLL_PREFIX="lib" -D DLL_SUFFIX=".so" -D NDEBUG -D TRIMMED -D USE_SYSTEM_MALLOC=1 -D ENABLE_JIT=1 -D ENABLE_ASSEMBLER=1 -D MOZILLA_CLIENT -I /usr/local/lib/libffi-3.0.13/include -I . -I . -I . -I ./../../dist/include -I ./../../dist/include/nsprpub -I /usr/local/include/nspr -I . -I ./assembler -I ./yarr -I /usr/local/include -I /usr/local/include -O3 -Wall -Wpointer-arith -Woverloaded-virtual
  -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -Wno-return-type-c-linkage -fdeprecated-macro -fdebug-compilation-dir /usr/ports/www/libxul/work/mozilla-esr10 -ferror-limit 19 -fmessage-length 152 -fvisibility hidden -mstackrealign -fno-rtti -fobjc-runtime=gnustep -fobjc-default-synthesize-properties -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -backend-option -vectorize-loops -o jsinterp.o -x c++ /usr/ports/www/libxul/work/mozilla-esr10/js/src/jsinterp.cpp 
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'CallGraph Pass Manager' on module '/usr/ports/www/libxul/work/mozilla-esr10/js/src/jsinterp.cpp'.
4.      Running pass 'Loop Pass Manager' on function '@_ZN2js9InterpretEP9JSContextPNS_10StackFrameENS_10InterpModeE'
5.      Running pass 'Loop Vectorization' on basic block '%do_getter_setter'
c++: error: unable to execute command: Abort trap
c++: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 3.3 (trunk 178860) 20130405
Target: x86_64-unknown-freebsd10.0
Thread model: posix
c++: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
c++: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
c++: note: diagnostic msg: /tmp/jsinterp-gcBxU5.cpp
c++: note: diagnostic msg: /tmp/jsinterp-gcBxU5.sh
c++: note: diagnostic msg: 

********************
gmake[3]: *** [jsinterp.o] Error 254
gmake[3]: Leaving directory `/usr/ports/www/libxul/work/mozilla-esr10/js/src'
gmake[2]: *** [libs_tier_js] Error 2
gmake[2]: Leaving directory `/usr/ports/www/libxul/work/mozilla-esr10'
gmake[1]: *** [tier_js] Error 2
gmake[1]: Leaving directory `/usr/ports/www/libxul/work/mozilla-esr10'
gmake: *** [default] Error 2
*** [do-build] Error code 1

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

Stop in /usr/ports/www/libxul.

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

===>>> Killing background jobs
Terminated

>How-To-Repeat:
Install or reinstall port www/libxul on most recent FreeBSD 10.0-CURRENT/amd64 (CLANG 3.3) with recently updated ports. 
>Fix:
Not known.

>Release-Note:
>Audit-Trail:
>Unformatted:



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