Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jul 2012 08:21:40 +0200
From:      Yamagi Burmeister <lists@yamagi.org>
To:        jakub_lach@mailplus.pl
Cc:        bapt@FreeBSD.org, freebsd-office@freebsd.org
Subject:   Libreoffice 3.5.4.2 build fails on current (canvas part)
Message-ID:  <20120702082140.c6b1f8f43d6d7661f97157c7@yamagi.org>

next in thread | raw e-mail | index | archive | help
--Signature=_Mon__2_Jul_2012_08_21_40_+0200_BQ4h6wuan195+QNl
Content-Type: multipart/mixed;
	boundary="Multipart=_Mon__2_Jul_2012_08_21_40_+0200_XxveDor_48zSNOHZ"


--Multipart=_Mon__2_Jul_2012_08_21_40_+0200_XxveDor_48zSNOHZ
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello,
sorry for the top post but I wasn't subscripted to the list before and
have no mail to reply to. And the mail program has no option to set the
message-if by hand...

I stumpled over the same problem (LibreOffice fails on clang) yesterday
and did some investigation. Both the clang of 9-STABLE r237002 and an
up to date lang/clang from ports fail with the same problem. When=20
libreoffice-core-3.5.4.2/canvas/source/vcl/services.cxx is compiled,
clang++ stumbles over an assertion and crashes. If llvm and clang are
build without assertion libreoffice builds successfull, but I don't
think that's a good idea...

A full transcript of the failing clang command is attached, if it's
eaten by the mailinglist a copy can be found here:
http://pastebin.com/PB8xdmKU

I hope, this helps.

Thanks for bringing libreoffice to FreeBSD,
Yamagi

--=20
Homepage:  www.yamagi.org
XMPP:      yamagi@yamagi.org
GnuPG/GPG: 0xEFBCCBCB

--Multipart=_Mon__2_Jul_2012_08_21_40_+0200_XxveDor_48zSNOHZ
Content-Type: text/plain;
 name="clang-libreoffice.txt"
Content-Disposition: attachment;
 filename="clang-libreoffice.txt"
Content-Transfer-Encoding: quoted-printable

root@happy:pts/3 ...libreoffice-core-3.5.4.2/canvas> /usr/local/bin/clang -=
cc1 -triple amd64-portbld-freebsd9.0 -emit-obj -disable-free -main-file-nam=
e services.cxx -pic-level 2 -mdisable-fp-elim -relaxed-aliasing -masm-verbo=
se -mconstructor-aliases -target-cpu x86-64 -target-linker-version 2.17.50 =
-momit-leaf-frame-pointer -coverage-file /usr/obj/usr/ports/editors/libreof=
fice/work/libreoffice-core-3.5.4.2/workdir/unxfbsd.pro/CxxObject/canvas/sou=
rce/vcl/services.o -resource-dir /usr/local/bin/../lib/clang/3.1 -dependenc=
y-file /usr/obj/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2=
/workdir/unxfbsd.pro/Dep/CxxObject/canvas/source/vcl/services.d -MP -MT /us=
r/obj/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2/workdir/u=
nxfbsd.pro/CxxObject/canvas/source/vcl/services.o -D CPPU_ENV=3Dgcc3 -D ENA=
BLE_GRAPHITE -D ENABLE_GTK -D FREEBSD -D GCC -D GXX_INCLUDE_PATH=3D/usr/inc=
lude/c++/4.2 -D NDEBUG -D OPTIMIZE -D OSL_DEBUG_LEVEL=3D0 -D PRODUCT -D SUP=
D=3D350 -D UNIX -D UNX -D VCL -D X86_64 -D _PTHREADS -D _REENTRANT -D EXCEP=
TIONS_ON -I /usr/obj/usr/ports/editors/libreoffice/work/libreoffice-core-3.=
5.4.2/canvas/source/vcl/ -I /usr/obj/usr/ports/editors/libreoffice/work/lib=
reoffice-core-3.5.4.2/solver/unxfbsd.pro/inc/stl -I /usr/obj/usr/ports/edit=
ors/libreoffice/work/libreoffice-core-3.5.4.2/solver/unxfbsd.pro/inc/extern=
al -I /usr/obj/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2/=
solver/unxfbsd.pro/inc -I /usr/obj/usr/ports/editors/libreoffice/work/libre=
office-core-3.5.4.2/solenv/inc/unxfbsd -I /usr/obj/usr/ports/editors/libreo=
ffice/work/libreoffice-core-3.5.4.2/solenv/inc -I /usr/obj/usr/ports/editor=
s/libreoffice/work/libreoffice-core-3.5.4.2/res -I /usr/local/include -I /u=
sr/obj/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2/canvas/i=
nc -I /usr/obj/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2/=
solver/unxfbsd.pro/inc/offapi -I /usr/obj/usr/ports/editors/libreoffice/wor=
k/libreoffice-core-3.5.4.2/solver/unxfbsd.pro/inc/udkapi -fmodule-cache-pat=
h /tmp/clang-module-cache -O2 -Wall -Wendif-labels -Wextra -Wshadow -Wsign-=
promo -Woverloaded-virtual -Wno-non-virtual-dtor -Wno-deprecated-declaratio=
ns -std=3Dgnu++0x -fdeprecated-macro -fdebug-compilation-dir /usr/obj/usr/p=
orts/editors/libreoffice/work/libreoffice-core-3.5.4.2/canvas -ferror-limit=
 19 -fmessage-length 0 -mstackrealign -fgnu-runtime -fobjc-runtime-has-arc =
-fobjc-runtime-has-weak -fobjc-dispatch-method=3Dnon-legacy -fcxx-exception=
s -fexceptions -fno-common -fdiagnostics-show-option -fcolor-diagnostics -o=
 /usr/obj/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2/workd=
ir/unxfbsd.pro/CxxObject/canvas/source/vcl/services.o -x c++ /usr/obj/usr/p=
orts/editors/libreoffice/work/libreoffice-core-3.5.4.2/canvas/source/vcl/se=
rvices.cxx

Assertion failed: (EST !=3D EST_Delayed && EST !=3D EST_Uninstantiated), fu=
nction isNothrow, file /usr/obj/usr/ports/lang/clang/work/llvm-3.1.src/tool=
s/clang/lib/CodeGen/../../include/clang/AST/Type.h, line 2873.

Stack dump:

0.      Program arguments: /usr/local/bin/clang -cc1 -triple amd64-portbld-=
freebsd9.0 -emit-obj -disable-free -main-file-name services.cxx -pic-level =
2 -mdisable-fp-elim -relaxed-aliasing -masm-verbose -mconstructor-aliases -=
target-cpu x86-64 -target-linker-version 2.17.50 -momit-leaf-frame-pointer =
-coverage-file /usr/obj/usr/ports/editors/libreoffice/work/libreoffice-core=
-3.5.4.2/workdir/unxfbsd.pro/CxxObject/canvas/source/vcl/services.o -resour=
ce-dir /usr/local/bin/../lib/clang/3.1 -dependency-file /usr/obj/usr/ports/=
editors/libreoffice/work/libreoffice-core-3.5.4.2/workdir/unxfbsd.pro/Dep/C=
xxObject/canvas/source/vcl/services.d -MP -MT /usr/obj/usr/ports/editors/li=
breoffice/work/libreoffice-core-3.5.4.2/workdir/unxfbsd.pro/CxxObject/canva=
s/source/vcl/services.o -D CPPU_ENV=3Dgcc3 -D ENABLE_GRAPHITE -D ENABLE_GTK=
 -D FREEBSD -D GCC -D GXX_INCLUDE_PATH=3D/usr/include/c++/4.2 -D NDEBUG -D =
OPTIMIZE -D OSL_DEBUG_LEVEL=3D0 -D PRODUCT -D SUPD=3D350 -D UNIX -D UNX -D =
VCL -D X86_64 -D _PTHREADS -D _REENTRANT -D EXCEPTIONS_ON -I /usr/obj/usr/p=
orts/editors/libreoffice/work/libreoffice-core-3.5.4.2/canvas/source/vcl/ -=
I /usr/obj/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2/solv=
er/unxfbsd.pro/inc/stl -I /usr/obj/usr/ports/editors/libreoffice/work/libre=
office-core-3.5.4.2/solver/unxfbsd.pro/inc/external -I /usr/obj/usr/ports/e=
ditors/libreoffice/work/libreoffice-core-3.5.4.2/solver/unxfbsd.pro/inc -I =
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2/solenv=
/inc/unxfbsd -I /usr/obj/usr/ports/editors/libreoffice/work/libreoffice-cor=
e-3.5.4.2/solenv/inc -I /usr/obj/usr/ports/editors/libreoffice/work/libreof=
fice-core-3.5.4.2/res -I /usr/local/include -I /usr/obj/usr/ports/editors/l=
ibreoffice/work/libreoffice-core-3.5.4.2/canvas/inc -I /usr/obj/usr/ports/e=
ditors/libreoffice/work/libreoffice-core-3.5.4.2/solver/unxfbsd.pro/inc/off=
api -I /usr/obj/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2=
/solver/unxfbsd.pro/inc/udkapi -fmodule-cache-path /tmp/clang-module-cache =
-O2 -Wall -Wendif-labels -Wextra -Wshadow -Wsign-promo -Woverloaded-virtual=
 -Wno-non-virtual-dtor -Wno-deprecated-declarations -std=3Dgnu++0x -fdeprec=
ated-macro -fdebug-compilation-dir /usr/obj/usr/ports/editors/libreoffice/w=
ork/libreoffice-core-3.5.4.2/canvas -ferror-limit 19 -fmessage-length 0 -ms=
tackrealign -fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak -f=
objc-dispatch-method=3Dnon-legacy -fcxx-exceptions -fexceptions -fno-common=
 -fdiagnostics-show-option -fcolor-diagnostics -o /usr/obj/usr/ports/editor=
s/libreoffice/work/libreoffice-core-3.5.4.2/workdir/unxfbsd.pro/CxxObject/c=
anvas/source/vcl/services.o -x c++ /usr/obj/usr/ports/editors/libreoffice/w=
ork/libreoffice-core-3.5.4.2/canvas/source/vcl/services.cxx=20

1.      <eof> parser at end of file

2.      Per-file LLVM IR generation

Abort (core dumped)

--Multipart=_Mon__2_Jul_2012_08_21_40_+0200_XxveDor_48zSNOHZ--

--Signature=_Mon__2_Jul_2012_08_21_40_+0200_BQ4h6wuan195+QNl
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAk/xPfoACgkQWTjlg++8y8shSACgy3PApk1uvuL5bAdMDTmCez5y
9ysAn038N9069Th9uH+/Vmq11uAk6EaX
=JaJn
-----END PGP SIGNATURE-----

--Signature=_Mon__2_Jul_2012_08_21_40_+0200_BQ4h6wuan195+QNl--



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