<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Clang 4.0 Regression: r279460 causes segmentation fault"
   href="https://llvm.org/bugs/show_bug.cgi?id=30223">30223</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Clang 4.0 Regression: r279460 causes segmentation fault
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Transformation Utilities
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>lukebenes@hotmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I am no longer able to build LibreOffice with newer versions of clang 4.0 after
<a href="http://llvm.org/viewvc/llvm-project?view=revision&revision=279460">http://llvm.org/viewvc/llvm-project?view=revision&revision=279460</a> 

Steps to reproduce:
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

Results:
gcc 5.4.0 - SUCCESS
clang 3.8.0 - SUCCESS
clang 4.0.0 r279459 - SUCCESS
clang 4.0.0 r279460 - FAIL

[CUT] cppcanvas_emfplus

(cppunittester:16425): Gtk-WARNING **: Theme parsing error: <data>:1:59:
'min-width' is not a valid property name

(cppunittester:16425): Gtk-WARNING **: Theme parsing error: <data>:1:76:
'min-height' is not a valid property name
Segmentation fault (core dumped)

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

/lo/core/solenv/gbuild/CppunitTest.mk:101: recipe for target
'/lo/core/workdir/CppunitTest/cppcanvas_emfplus.test' failed
make[1]: *** [/lo/core/workdir/CppunitTest/cppcanvas_emfplus.test] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:261: recipe for target 'build' failed
make: *** [build] Error 2</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>