[clang] OpenOffice does not work with clang-compiled
libgcc_s.so.1
Renato Botelho
rbgarga at gmail.com
Wed Jul 27 20:40:18 UTC 2011
On Wed, Jul 27, 2011 at 7:19 AM, Alexey Shuvaev
<shuvaev at physik.uni-wuerzburg.de> wrote:
> Hello list!
>
> I have decided that clang in mature enough to give it a try on a main
> desktop. Everything is working fine except OpenOffice. The problem was
> already reported [1] and even analyzed [2]. Although the OP has reported [3]
> that since r218915 he has no problems anymore, I still have :(
> Note, that according to [4] it seems it was not specifically fixed upstream.
>
> So, if I compile the whole world (and kernel) with clang, soffice.bin
> dumps core. If I recompile the world with gcc and replace /lib/libgcc_s.so.1
> with the new one, OpenOffice works fine again. Here are some information
> about the system that may be useful:
>
> ~> uname -a
> FreeBSD lexx.ifp.tuwien.ac.at 9.0-BETA1 FreeBSD 9.0-BETA1 #0 r224414: Tue Jul 26 16:00:43 CEST 2011 root at lexx.ifp.tuwien.ac.at:/usr/obj/usr/src/sys/GENERIC amd64
>
> ~> gcc --version
> gcc (GCC) 4.2.2 20070831 prerelease [FreeBSD]
> Copyright (C) 2007 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> ~> clang --version
> FreeBSD clang version 3.0 (trunk 135360) 20110717
> Target: x86_64-unknown-freebsd9.0
> Thread model: posix
>
> ~> cat /etc/make.conf
> SUP_UPDATE= YES
> PORTSSUPFILE= /root/ports-supfile
> DOCSUPFILE= /root/doc-supfile
> DOC_LANG= en_US.ISO8859-1
>
> .if ${.CURDIR:M*/usr/ports*}
> .include "/etc/ports.conf"
> .endif
>
> # Building base with clang
> .if ${.CURDIR:M*/usr/src*}
> .if !defined(CC) || ${CC} == "cc"
> CC= clang
> .endif
> .if !defined(CXX) || ${CXX} == "c++"
> CXX= clang++
> .endif
> .if !defined(CPP) || ${CPP} == "cpp"
> CPP= clang -E
> .endif
> # Don't die on warnings
> NO_WERROR=
> WERROR=
> .endif
> # added by use.perl 2011-07-18 17:50:51
> PERL_VERSION=5.14.1
>
> I don't have much time recently, so any further debugging will be on a
> "best effort" basis. Anyway I thought it is better to post it here, so
> it won't be just lost. If necessary I can file a PR about it.
Hello,
I had a similar problem in the past, but IIRC after rebuild openoffice
it started to work again. The machine where it happened is not
available anymore.
Regards
--
Renato Botelho
More information about the freebsd-current
mailing list