Re: unit test failures (llvm/clang/scan-build/clang/clang++)

2015-11-23 Thread Maarten Hoes
On Mon, Nov 23, 2015 at 12:01 PM, Maarten Hoes wrote: > > 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

Re: unit test failures (llvm/clang/scan-build/clang/clang++)

2015-11-23 Thread Maarten Hoes
On Mon, Nov 23, 2015 at 11:25 AM, Stephan Bergmann wrote: > > On 11/23/2015 11:14 AM, Maarten Hoes wrote: >> >> On Mon, Nov 23, 2015 at 11:09 AM, Stephan Bergmann > > wrote: >> > >> > On 11/23/2015 11:02 AM, Maarten Hoes wrote: >> >> >> >> On Mon, Nov 23, 2015 at 10

Re: unit test failures (llvm/clang/scan-build/clang/clang++)

2015-11-23 Thread Stephan Bergmann
On 11/23/2015 11:14 AM, Maarten Hoes wrote: On Mon, Nov 23, 2015 at 11:09 AM, Stephan Bergmann mailto:sberg...@redhat.com>> wrote: > > On 11/23/2015 11:02 AM, Maarten Hoes wrote: >> >> On Mon, Nov 23, 2015 at 10:51 AM, Stephan Bergmann mailto:sberg...@redhat.com> >>

Re: unit test failures (llvm/clang/scan-build/clang/clang++)

2015-11-23 Thread Maarten Hoes
On Mon, Nov 23, 2015 at 11:09 AM, Stephan Bergmann wrote: > > On 11/23/2015 11:02 AM, Maarten Hoes wrote: >> >> On Mon, Nov 23, 2015 at 10:51 AM, Stephan Bergmann > > wrote: >> > >> > On 11/23/2015 10:42 AM, Maarten Hoes wrote: >> >> >> >> On Mon, Nov 23, 2015 at 10

Re: unit test failures (llvm/clang/scan-build/clang/clang++)

2015-11-23 Thread Stephan Bergmann
On 11/23/2015 11:02 AM, Maarten Hoes wrote: On Mon, Nov 23, 2015 at 10:51 AM, Stephan Bergmann mailto:sberg...@redhat.com>> wrote: > > On 11/23/2015 10:42 AM, Maarten Hoes wrote: >> >> On Mon, Nov 23, 2015 at 10:39 AM, Stephan Bergmann mailto:sberg...@redhat.com> >> > The Clang included in

Re: unit test failures (llvm/clang/scan-build/clang/clang++)

2015-11-23 Thread Maarten Hoes
On Mon, Nov 23, 2015 at 10:51 AM, Stephan Bergmann wrote: > > On 11/23/2015 10:42 AM, Maarten Hoes wrote: >> >> On Mon, Nov 23, 2015 at 10:39 AM, Stephan Bergmann > > The Clang included in Fedora 23 is known to be broken, >> "Clang fails to

Re: unit test failures (llvm/clang/scan-build/clang/clang++)

2015-11-23 Thread Maarten Hoes
On Mon, Nov 23, 2015 at 10:48 AM, Maarten Hoes wrote: > > > > Currently running: > > > > commit 55dd7c5223cc798d7b83559eba48b9d369db928a > > Date: 2015-11-22 16:46:54 +0200 > > OOps. Wrong dir, wrong cmd. This is it: $ svn info Path: . Working Copy Root Path: /home/maarten/src/llvm/llvm URL: ht

Re: unit test failures (llvm/clang/scan-build/clang/clang++)

2015-11-23 Thread Stephan Bergmann
On 11/23/2015 10:42 AM, Maarten Hoes wrote: On Mon, Nov 23, 2015 at 10:39 AM, Stephan Bergmann The Clang included in Fedora 23 is known to be broken, "Clang fails to link boost library." Instead of using the pre-build binaries/packages of

Re: unit test failures (llvm/clang/scan-build/clang/clang++)

2015-11-23 Thread Maarten Hoes
On Mon, Nov 23, 2015 at 10:42 AM, Maarten Hoes wrote: > > Currently running: > > commit 55dd7c5223cc798d7b83559eba48b9d369db928a > Date: 2015-11-22 16:46:54 +0200 > Oh, and that would be : $ clang++ -v clang version 3.8.0 (trunk 253824) Target: x86_64-unknown-linux-gnu Thread model: posix Insta

Re: unit test failures (llvm/clang/scan-build/clang/clang++)

2015-11-23 Thread Maarten Hoes
Hi, On Mon, Nov 23, 2015 at 10:39 AM, Stephan Bergmann wrote: > > On 11/23/2015 09:28 AM, Maarten Hoes wrote: >> >> Im trying to run the llvm/clang static source code analyzer on >> libreoffice ~master, but ran into some unit test failures. I told >> 'scan-build' to use the clang/clang++ compile

Re: unit test failures (llvm/clang/scan-build/clang/clang++)

2015-11-23 Thread Stephan Bergmann
On 11/23/2015 09:28 AM, Maarten Hoes wrote: Im trying to run the llvm/clang static source code analyzer on libreoffice ~master, but ran into some unit test failures. I told 'scan-build' to use the clang/clang++ compilers instead of gcc. I ran the suggested 'make testname DEBUGCPPUNIT=TRUE' comman

Re: unit test failures (llvm/clang/scan-build/clang/clang++)

2015-11-23 Thread Maarten Hoes
On Mon, Nov 23, 2015 at 10:12 AM, Maarten Hoes wrote: > > Thanks. Would this be helpful ? > > > $ nm --dynamic /home/maarten/src/libreoffice/core/instdir/program/liborcus-0.10.so.0 | grep _ZNSt8ios_base7failureC2EPKcRKSt10error_code > U _ZNSt8ios_base7failureC2EPKcRKSt10error_code

Re: unit test failures (llvm/clang/scan-build/clang/clang++)

2015-11-23 Thread Maarten Hoes
Hi, On Mon, Nov 23, 2015 at 10:02 AM, David Tardon wrote: > > The problem is: > > DynamicLibraryManagerException: "Failed to load dynamic library: > /home/maarten/src/libreoffice/core/workdir/LinkTarget/CppunitTest/libtest_sc_rangelst_test.so > /home/maarten/src/libreoffice/core/instdir/program/

Re: unit test failures (llvm/clang/scan-build/clang/clang++)

2015-11-23 Thread David Tardon
Hi, On Mon, Nov 23, 2015 at 09:28:09AM +0100, Maarten Hoes wrote: > Hi, > > > > Im trying to run the llvm/clang static source code analyzer on libreoffice > ~master, but ran into some unit test failures. I told 'scan-build' to use > the clang/clang++ compilers instead of gcc. I ran the suggeste

Re: unit test failures (llvm/clang/scan-build/clang/clang++)

2015-11-23 Thread Maarten Hoes
Oh. Reading back my post, I notice the 'warning: the debug information found in "/usr/lib/debug//usr/lib64/libpcre.so.1.2.5.debug" does not match "/lib64/libpcre.so.1" (CRC mismatch)'. Upgrading/installing these took care of that : 'pcre-8.37-6.fc23.x86_64', 'pcre-debuginfo-8.37-6.fc23.x86_64'. No

unit test failures (llvm/clang/scan-build/clang/clang++)

2015-11-23 Thread Maarten Hoes
Hi, Im trying to run the llvm/clang static source code analyzer on libreoffice ~master, but ran into some unit test failures. I told 'scan-build' to use the clang/clang++ compilers instead of gcc. I ran the suggested 'make testname DEBUGCPPUNIT=TRUE' commands in order to get the backtraces of 'C