building seamonkey with clang

Cary cary at SDF.ORG
Mon Aug 19 23:17:11 UTC 2013


Hello,

Several attempts to build the current port of seamonkey on 9.1-release have 
all failed at the same point.
I have rebuilt clang and have no idea what else
can be done.
Here is the error:


Assertion failed: (isa<Argument>(Val) && "Unknown live-in to the entry block"),
function solveBlockValueNonLocal, file /usr/src/lib/clang/libllvmanalysis/../../
../contrib/llvm/lib/Analysis/LazyValueInfo.cpp, line 605.
Stack dump:
0.      Program arguments: /usr/bin/clang++ -cc1 -triple i386-unknown-freebsd9.0
 -emit-obj -disable-free -main-file-name nsMsgMaildirStore.cpp -pic-level 2 -rel
axed-aliasing -masm-verbose -mconstructor-aliases -target-cpu i486 -momit-leaf-f
rame-pointer -ffunction-sections -fdata-sections -coverage-file nsMsgMaildirStor
e.o -resource-dir /usr/bin/../lib/clang/3.1 -dependency-file .deps/nsMsgMaildirS
tore.o.pp -MT nsMsgMaildirStore.o -sys-header-deps -MP -isystem /usr/local/inclu
de -isystem /usr/local/include -include ../../../mozilla/mozilla-config.h -D MOZ
_GLUE_IN_PROGRAM -D MOZILLA_INTERNAL_API -D _IMPL_NS_COM -D EXPORT_XPT_API -D EX
PORT_XPTC_API -D _IMPL_NS_GFX -D _IMPL_NS_WIDGET -D IMPL_XREAPI -D IMPL_NS_NET -
D IMPL_THEBES -D MOZ_SUITE=1 -D OSTYPE="FreeBSD9" -D OSARCH=FreeBSD -D NO_NSPR_1
0_SUPPORT -D HAVE_MOVEMAIL -D NDEBUG -D TRIMMED -D MOZILLA_CLIENT -I /usr/ports/
www/seamonkey/work/comm-release/mailnews/local/src -I . -I ../../../mozilla/dist
/include -I ../../../mozilla/dist/include/nsprpub -I /usr/local/include/nspr -I
/usr/local/include/nss -I /usr/local/include/nss/nss -I /usr/local/include -I /u
sr/local/include -fmodule-cache-path /var/tmp/clang-module-cache -O3 -Wall -Wpoi
nter-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 -st
d=gnu++0x -fdeprecated-macro -fdebug-compilation-dir /usr/ports/www/seamonkey/wo
rk/comm-release/obj-i386-portbld-freebsd9.1 -ferror-limit 19 -fmessage-length 80
 -fvisibility hidden -mstackrealign -fno-rtti -fgnu-runtime -fobjc-runtime-has-a
rc -fobjc-runtime-has-weak -fobjc-dispatch-method=non-legacy -fdiagnostics-show-
option -fcolor-diagnostics -o nsMsgMaildirStore.o -x c++ /usr/ports/www/seamonke
y/work/comm-release/mailnews/local/src/nsMsgMaildirStore.cpp
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'CallGraph Pass Manager' on module '/usr/ports/www/seamonke
y/work/comm-release/mailnews/local/src/nsMsgMaildirStore.cpp'.
4.      Running pass 'Value Propagation' on function '@_ZN17nsMsgMaildirStore10C
opyFolderEP12nsIMsgFolderS1_bP12nsIMsgWindowP25nsIMsgCopyServiceListener'
clang++: error: unable to execute command: Abort trap: 6 (core dumped)
clang++: error: clang frontend command failed due to signal (use -v to see invoc
ation)
clang++: note: diagnostic msg: Please submit a bug report to http://llvm.org/bug
s/ and include command line arguments and all diagnostic information.
clang++: note: diagnostic msg: Preprocessed source(s) and associated run script(
s) are located at:
clang++: note: diagnostic msg: /tmp/nsMsgMaildirStore-SbFLtj.ii
clang++: note: diagnostic msg: /tmp/nsMsgMaildirStore-SbFLtj.sh
gmake[6]: *** [nsMsgMaildirStore.o] Error 254
gmake[6]: Leaving directory /usr/ports/www/seamonkey/work/comm-release/obj-i386
gmake[6]: Leaving directory /usr/ports/www/seamonkey/work/comm-release/obj-i386
-portbld-freebsd9.1/mailnews/local/src'
gmake[5]: *** [local/src_libs] Error 2
gmake[5]: Leaving directory /usr/ports/www/seamonkey/work/comm-release/obj-i386
-portbld-freebsd9.1/mailnews'
gmake[4]: *** [libs_tier_platform] Error 2
gmake[4]: Leaving directory /usr/ports/www/seamonkey/work/comm-release/obj-i386
-portbld-freebsd9.1/mozilla'
gmake[3]: *** [tier_platform] Error 2
gmake[3]: Leaving directory /usr/ports/www/seamonkey/work/comm-release/obj-i386
-portbld-freebsd9.1/mozilla'
gmake[2]: *** [default] Error 2
gmake[2]: Leaving directory /usr/ports/www/seamonkey/work/comm-release/obj-i386
-portbld-freebsd9.1/mozilla'
gmake[1]: *** [default] Error 2
gmake[1]: Leaving directory /usr/ports/www/seamonkey/work/comm-release/obj-i386
-portbld-freebsd9.1'
gmake: *** [build] Error 2
*** [do-build] Error code 1

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

Stop in /usr/ports/www/seamonkey.


-- 
cary at sdf.org
SDF Public Access UNIX System - http://sdf.org


More information about the freebsd-ports mailing list