[LLVMbugs] [Bug 15681] New: clangg++ error building Chromium on Linux

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 4 18:53:33 PDT 2013


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

            Bug ID: 15681
           Summary: clangg++ error building Chromium on Linux
           Product: clang
           Version: 3.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: johnb316 at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10292
  --> http://llvm.org/bugs/attachment.cgi?id=10292&action=edit
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:

http://llvm.org/bugs/  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
http://llvm.org/bugs/ 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
http://llvm.org/bugs/ 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.

-- 
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/20130405/f59f3330/attachment.html>


More information about the llvm-bugs mailing list