Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-3683

Build fails due to compilation issue

    XMLWordPrintableJSON

Details

    Description

      This problem happens in the release builds.
      http://sandbox.jenkins.cloudera.com/view/Impala/view/Evergreen-cdh5-2.6.0_5.8.x/job/impala-cdh5-2.6.0_5.8.0-core/147/console

      -- Toolchain build.
      -- Downloading and extracting dependencies.
      -- Toolchain bootstrap complete.
      -- Setup toolchain link flags -Wl,-rpath,/data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/gcc-4.9.2/lib64 -L/data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/gcc-4.9.2/lib64
      -- Setup toolchain link flags -Wl,-rpath,/data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/gcc-4.9.2/lib64 -L/data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/gcc-4.9.2/lib64
      -- The C compiler identification is GNU
      -- The CXX compiler identification is GNU
      -- Check for working C compiler: /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/gcc-4.9.2/bin/gcc
      -- Check for working C compiler: /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/gcc-4.9.2/bin/gcc -- broken
      CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:32 (MESSAGE):
        The C compiler
        "/data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/gcc-4.9.2/bin/gcc"
        is not able to compile a simple test program.
      
        It fails with the following output:
      
         Change Dir: /data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/CMakeFiles/CMakeTmp
      
        
      
        Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
      
        /usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make
        CMakeFiles/cmTryCompileExec.dir/build
      
        gmake[1]: Entering directory
        `/data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/CMakeFiles/CMakeTmp'
      
      
        /usr/bin/cmake -E cmake_progress_report
        /data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/CMakeFiles/CMakeTmp/CMakeFiles
        1
      
        Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o
      
        
        /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/gcc-4.9.2/bin/gcc
        -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -c
        /data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/CMakeFiles/CMakeTmp/testCCompiler.c
      
      
        Linking C executable cmTryCompileExec
      
        /usr/bin/cmake -E cmake_link_script
        CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
      
        
        /data/jenkins/workspace/impala-umbrella-build-and-test/Impala-Toolchain/gcc-4.9.2/bin/gcc
        -fPIC CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -o cmTryCompileExec
        -rdynamic
      
        /usr/bin/ld: cannot find -lgcc_s
      
        collect2: error: ld returned 1 exit status
      
        gmake[1]: Leaving directory
        `/data/jenkins/workspace/impala-umbrella-build-and-test/repos/Impala/CMakeFiles/CMakeTmp'
      
      
        gmake[1]: *** [cmTryCompileExec] Error 1
      
        gmake: *** [cmTryCompileExec/fast] Error 2
      
        
      
        
      
        CMake will not be able to correctly generate this project.
      Call Stack (most recent call first):
        CMakeLists.txt:43 (project)
      

      Attachments

        Activity

          People

            alex.behm Alexander Behm
            tarasbob Taras Bobrovytsky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: