<div dir="ltr"><br><br>On Mon, Nov 23, 2015 at 11:25 AM, Stephan Bergmann <<a href="mailto:sbergman@redhat.com">sbergman@redhat.com</a>> wrote:<br>><br>> On 11/23/2015 11:14 AM, Maarten Hoes wrote:<br>>><br>>> On Mon, Nov 23, 2015 at 11:09 AM, Stephan Bergmann <<a href="mailto:sbergman@redhat.com">sbergman@redhat.com</a><br>>> <mailto:<a href="mailto:sbergman@redhat.com">sbergman@redhat.com</a>>> wrote:<br>>>  ><br>>>  > On 11/23/2015 11:02 AM, Maarten Hoes wrote:<br>>>  >><br>>>  >> On Mon, Nov 23, 2015 at 10:51 AM, Stephan Bergmann<br>>> <<a href="mailto:sbergman@redhat.com">sbergman@redhat.com</a> <mailto:<a href="mailto:sbergman@redhat.com">sbergman@redhat.com</a>><br>>>  >> <mailto:<a href="mailto:sbergman@redhat.com">sbergman@redhat.com</a> <mailto:<a href="mailto:sbergman@redhat.com">sbergman@redhat.com</a>>>> wrote:<br>>>  >>  ><br>>>  >>  > On 11/23/2015 10:42 AM, Maarten Hoes wrote:<br>>>  >>  >><br>>>  >>  >> On Mon, Nov 23, 2015 at 10:39 AM, Stephan Bergmann<br>>>  >> <<a href="mailto:sbergman@redhat.com">sbergman@redhat.com</a> <mailto:<a href="mailto:sbergman@redhat.com">sbergman@redhat.com</a>><br>>> <mailto:<a href="mailto:sbergman@redhat.com">sbergman@redhat.com</a> <mailto:<a href="mailto:sbergman@redhat.com">sbergman@redhat.com</a>>><br>>>  >>  >>  > The Clang included in Fedora 23 is known to be broken,<br>>>  >>  >> <<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1282645#c3">https://bugzilla.redhat.com/show_bug.cgi?id=1282645#c3</a>> "Clang<br>>> fails to<br>>>  >>  >> link boost library."<br>>>  >>  >><br>>>  >>  >> Instead of using the pre-build binaries/packages of Fedora, I<br>>> build from<br>>>  >>  >> source. Of course, that doesnt mean it couldnt still be broken ;-)<br>>>  >>  ><br>>>  >>  ><br>>>  >>  > See my recipe in the "By the way" paragraph in the bug I linked.<br>>>  >><br>>>  >> Thanks. So that works around the clang bug, only to uncover a bug in the<br>>>  >> Fedora 23 GNU libstdc++ ? Looks like Im screwed.<br>>>  ><br>>>  ><br>>>  > Note that the libstdc++ issue is in debug-mode--only code, so LO is<br>>> only affected (and the little additional patch I presented to fix things<br>>> up only needed) with --enable-dbgutil.<br>>>  ><br>>> Ah. And, perhaps, affected with '--enable-debug' ? Im using that. So<br>>> just omitting '--enable-debug' should make the clang build succeed ? Or<br>>> am I (once again) missing the point here ?<br>><br>><br>> No, not affected by --enable-debug.<br>><br>> And the 'add the patch <<a href="http://reviews.llvm.org/D12834?id=34645">http://reviews.llvm.org/D12834?id=34645</a>> "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.<br>><br>> (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.)<br>><br><br>Alright, thanks for all the help and explanations/clarifications. It's appreciated. But I guess ill wait until that patch trickles down to at least the latest llvm/clang svn version though, so I can just get away with something like 'svn update && make && sudo make install' for llvm/clang. <br><br>Or try doing something like 'make CXXFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0' / 'CXXFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0 ./autogen.sh' or even 'export CXXFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0 && scan-build --use-cc=clang --use-c++=clang++ ./autogen.sh' for the libreoffice build like you mentioned.<br><br><br>Or just try another distro altogether.<br>;-)<br><br>Thanks again,<br><br><br>- Maarten.<br><br></div>