[llvm-bugs] [Bug 28841] New: Cannot build 3.9 on Ubuntu precise

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 4 06:04:11 PDT 2016


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

            Bug ID: 28841
           Summary: Cannot build 3.9 on Ubuntu precise
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: sylvestre at debian.org
                CC: llvm-bugs at lists.llvm.org
            Blocks: 28600
    Classification: Unclassified

On an Ubuntu precise (still supported), using the 4.9 backport (
https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test )

The build of llvm 3.9 is failing with:

  objcopy: unrecognized option '--extract-dwo'


More:
-- Check for working CXX compiler: /usr/bin/g++-4.9
-- Check for working CXX compiler: /usr/bin/g++-4.9 -- broken
CMake Error at /tmp/cmake/share/cmake-3.4/Modules/CMakeTestCXXCompiler.cmake:54
(message):
  The C++ compiler "/usr/bin/g++-4.9" is not able to compile a simple test
  program.

  It fails with the following output:

   Change Dir:
/tmp/buildd/llvm-toolchain-3.9-3.9~svn277639/build-llvm/CMakeFiles/CMakeTmp



  Run Build Command:"/usr/bin/make" "cmTC_bd08e/fast"

  make[2]: Entering directory
  `/tmp/buildd/llvm-toolchain-3.9-3.9~svn277639/build-llvm/CMakeFiles/CMakeTmp'


  /usr/bin/make -f CMakeFiles/cmTC_bd08e.dir/build.make
  CMakeFiles/cmTC_bd08e.dir/build

  make[3]: Entering directory
  `/tmp/buildd/llvm-toolchain-3.9-3.9~svn277639/build-llvm/CMakeFiles/CMakeTmp'


  Building CXX object CMakeFiles/cmTC_bd08e.dir/testCXXCompiler.cxx.o

  /usr/bin/g++-4.9 -std=c++0x -gsplit-dwarf -o
  CMakeFiles/cmTC_bd08e.dir/testCXXCompiler.cxx.o -c
 
"/tmp/buildd/llvm-toolchain-3.9-3.9~svn277639/build-llvm/CMakeFiles/CMakeTmp/testCXXCompiler.cxx"


  objcopy: unrecognized option '--extract-dwo'

  Usage: objcopy [option(s)] in-file [out-file]

-- 
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/20160804/4bc457b1/attachment.html>


More information about the llvm-bugs mailing list