<html>
    <head>
      <base href="http://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 --- - clangg++ error building Chromium on Linux"
   href="http://llvm.org/bugs/show_bug.cgi?id=15681">15681</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clangg++ error building Chromium on Linux
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.2
          </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>-New Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>johnb316@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=10292" name="attach_10292" title="Preprocessed source code to build abort.o">attachment 10292</a> <a href="attachment.cgi?id=10292&action=edit" title="Preprocessed source code to build abort.o">[details]</a></span>
Preprocessed source code to build abort.o

I tried to build Chromium 26.0.1410.43 from source on 64-bit Slackware Linux
using clang as the C++ compiler. After the Chromium build script downloaded a
prebuilt clang, the following errors were thrown as the build started:

<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a>  CXX(target)
out/Release/obj.target/allocator/third_party/tcmalloc/chromium/src/base/abort.o
  CXX(target)
out/Release/obj.target/allocator/third_party/tcmalloc/chromium/src/base/elf_mem_image.o
clang: warning: argument unused during compilation: '-fno-ipa-cp'
clang: warning: argument unused during compilation: '-fno-ipa-cp'
/usr/bin/clang: symbol lookup error:
/tmp/buildpkgs/chromium/chromium-26.0.1410.43/tools/clang/scripts/../../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so:
undefined symbol:
_ZNK5clang13SourceManager14getPresumedLocENS_14SourceLocationEb
clang: error: unable to execute command: Program could not be executed
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2 (tags/RELEASE_32/final)
Target: x86_64-slackware-linux-gnu
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
/usr/bin/clang: symbol lookup error:
/tmp/buildpkgs/chromium/chromium-26.0.1410.43/tools/clang/scripts/../../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so:
undefined symbol:
_ZNK5clang13SourceManager14getPresumedLocENS_14SourceLocationEb
clang: error: unable to execute command: Program could not be executed
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2 (tags/RELEASE_32/final)
Target: x86_64-slackware-linux-gnu
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/abort-t94ibA.cpp
clang: note: diagnostic msg: /tmp/abort-t94ibA.sh
clang: note: diagnostic msg: 

********************
make: ***
[out/Release/obj.target/allocator/third_party/tcmalloc/chromium/src/base/abort.o]
Error 255
make: *** Waiting for unfinished jobs....
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/elf_mem_image-SILiKz.cpp
clang: note: diagnostic msg: /tmp/elf_mem_image-SILiKz.sh
clang: note: diagnostic msg: 

********************
make: ***
[out/Release/obj.target/allocator/third_party/tcmalloc/chromium/src/base/elf_mem_image.o]
Error 255

As requested, the files listed in the error message are attached.</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>