unit test failures (llvm/clang/scan-build/clang/clang++)
Stephan Bergmann
sbergman at redhat.com
Mon Nov 23 02:25:50 PST 2015
On 11/23/2015 11:14 AM, Maarten Hoes wrote:
> On Mon, Nov 23, 2015 at 11:09 AM, Stephan Bergmann <sbergman at redhat.com
> <mailto:sbergman at redhat.com>> wrote:
> >
> > On 11/23/2015 11:02 AM, Maarten Hoes wrote:
> >>
> >> On Mon, Nov 23, 2015 at 10:51 AM, Stephan Bergmann
> <sbergman at redhat.com <mailto:sbergman at redhat.com>
> >> <mailto:sbergman at redhat.com <mailto:sbergman at redhat.com>>> wrote:
> >> >
> >> > On 11/23/2015 10:42 AM, Maarten Hoes wrote:
> >> >>
> >> >> On Mon, Nov 23, 2015 at 10:39 AM, Stephan Bergmann
> >> <sbergman at redhat.com <mailto:sbergman at redhat.com>
> <mailto:sbergman at redhat.com <mailto:sbergman at redhat.com>>
> >> >> > The Clang included in Fedora 23 is known to be broken,
> >> >> <https://bugzilla.redhat.com/show_bug.cgi?id=1282645#c3> "Clang
> fails to
> >> >> link boost library."
> >> >>
> >> >> Instead of using the pre-build binaries/packages of Fedora, I
> build from
> >> >> source. Of course, that doesnt mean it couldnt still be broken ;-)
> >> >
> >> >
> >> > See my recipe in the "By the way" paragraph in the bug I linked.
> >>
> >> Thanks. So that works around the clang bug, only to uncover a bug in the
> >> Fedora 23 GNU libstdc++ ? Looks like Im screwed.
> >
> >
> > Note that the libstdc++ issue is in debug-mode--only code, so LO is
> only affected (and the little additional patch I presented to fix things
> up only needed) with --enable-dbgutil.
> >
> Ah. And, perhaps, affected with '--enable-debug' ? Im using that. So
> just omitting '--enable-debug' should make the clang build succeed ? Or
> am I (once again) missing the point here ?
No, not affected by --enable-debug.
And the 'add the patch <http://reviews.llvm.org/D12834?id=34645> "add
gcc abi_tag support'" part of the recipe is required independent of LO
--enable-dbgutil, only the "plus a little patch..." part can presumably
be ignored in the (implicit) --disable-dbgutil case.
(There may also be other ways how to make Clang on Fedora 23 work, like
overriding libstdc++'s _GLIBCXX_USE_CXX11_ABI setting, but I haven't
explored that.)
More information about the LibreOffice
mailing list