[LLVMbugs] [Bug 22258] New: Clang 3.5 Regression: cannot build LibreOffice

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jan 18 11:36:11 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22258

            Bug ID: 22258
           Summary: Clang 3.5 Regression: cannot build LibreOffice
           Product: clang
           Version: 3.5
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: lukebenes at hotmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I am no longer able to build LibreOffice with newer versions of clang 3.5. When
I upgraded to 3.5.0 final and 3.5.1(rc2), libreoffice generates unit test
error. I tested both the Pre-built Binaries and the Ubuntu nightly packages on
a fresh install of Ubuntu 14.4. All recent builds of clang failed with the same
unit test errors. Reverting back to an earlier build, always resolves the
issue.

Steps to reproduce:
1. $ git clone git://anongit.freedesktop.org/libreoffice/core
2. $ git checkout libreoffice-4-4-0 (optional, master fails with same errors)
3. $ apt-get build-dep libreoffice ( also lo_usefull Shell Script if missing
dep)
4. Remove ccache if it's installed ( ccache generates warning w/ clang)
5. create file autogen.input with CC=clang and CXX=clang++
6 ./autogen.sh && make

Results:
clang 3.5.0 svn201651 - SUCCESS
gcc 4.8.2 - SUCCESS
gcc 4.9.2 - SUCCESS
clang 3.5.0 RELEASE_350/final - FAIL
clang 3.5.1 RELEASE_351/rc2 - FAIL

Build log:

[build CUT] basic_nested_struct
[build CUT] basic_coverage
Segmentation fault (core dumped)

No core file identified in directory
/lo/core/workdir/CppunitTest/basic_nested_struct.test.core
To show backtraces for crashes during test execution,
enable core files with:

   ulimit -c unlimited

Segmentation fault (core dumped)

No core file identified in directory
/lo/core/workdir/CppunitTest/basic_enable.test.core
To show backtraces for crashes during test execution,
enable core files with:

   ulimit -c unlimited

Error: a unit test failed, please do one of:

export DEBUGCPPUNIT=TRUE            # for exception catching
export CPPUNITTRACE="gdb --args"    # for interactive debugging on Linux
export CPPUNITTRACE="\"[full path to devenv.exe]\" /debugexe" # for interactive
debugging in Visual Studio
export VALGRIND=memcheck            # for memory checking

and retry using: make CppunitTest_basic_enable


Error: a unit test failed, please do one of:

export DEBUGCPPUNIT=TRUE            # for exception catching
export CPPUNITTRACE="gdb --args"    # for interactive debugging on Linux
export CPPUNITTRACE="\"[full path to devenv.exe]\" /debugexe" # for interactive
debugging in Visual Studio
export VALGRIND=memcheck            # for memory checking

and retry using: make CppunitTest_basic_nested_struct

make[1]: *** [/lo/core/workdir/CppunitTest/basic_enable.test] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [/lo/core/workdir/CppunitTest/basic_nested_struct.test] Error 1
make: *** [build] Error 2

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150118/8e330ab4/attachment.html>


More information about the llvm-bugs mailing list