[llvm-bugs] [Bug 30904] New: Clang 3.7+ x86 cause build failure with LibreOffice (x86-64 works)

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 3 13:10:45 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=30904

            Bug ID: 30904
           Summary: Clang 3.7+ x86 cause build failure with LibreOffice
                    (x86-64 works)
           Product: new-bugs
           Version: 3.7
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: lukebenes at hotmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Steps to Reproduce:

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


Expected Results:
Build complete without error like:
clang 3.6 
gcc 4.8.4 


Actual results:
With clang 3.7+

[build CUT] sw_ww8export
[build DEP] LNK:CppunitTest/libtest_sw_uiwriter.so
[build LNK] CppunitTest/libtest_sw_uiwriter.so
File tested,Execution Time (ms)
n325936.doc:
437
testTscp::Import_Export_Import finished in: 298ms
testFdo45724::Import finished in: 1ms
File tested,Execution Time (ms)
Segmentation fault (core dumped)

No core file identified in directory
/core/workdir/CppunitTest/sw_ww8export.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:
make CppunitTest_sw_ww8export CPPUNITTRACE="gdb --args"
    # for interactive debugging on Linux
make CppunitTest_sw_ww8export VALGRIND=memcheck
    # for memory checking
make CppunitTest_sw_ww8export DEBUGCPPUNIT=TRUE
    # for exception catching

make[1]: *** [/core/workdir/CppunitTest/sw_ww8export.test] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [build] Error 2
luke at luke-X555LAB:~/u64/lo/core$

-- 
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/20161103/36cf7ed2/attachment.html>


More information about the llvm-bugs mailing list