[LLVMbugs] [Bug 14727] New: 'make check' fails because of wrong path to g++

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Dec 27 16:20:58 PST 2012


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

             Bug #: 14727
           Summary: 'make check' fails because of wrong path to g++
           Product: Build scripts
           Version: 3.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Makefiles
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sergstesh at yahoo.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9764
  --> http://llvm.org/bugs/attachment.cgi?id=9764
autogenerated 'configure' wrapper used to run 'configure'

While building LLVM-3.2 with my AppsFromScratch I've noticed that 'make check'
fails in something related to OCaml bindings, and the error message and its
context are:


cat -n /mnt/sdb8/sergei/AFSWD_debug/build/llvm-3.2/make_check.log | head -21
     1  llvm[0]: Running test suite
     2  make[1]: Entering directory
`/mnt/sdb8/sergei/AFSWD_debug/build/llvm-3.2/test'
     3  Making LLVM 'lit.site.cfg' file...
     4  Making LLVM unittest 'lit.site.cfg' file...
     5  ( ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; ulimit -v
1024000 ; \
     6            /mnt/sdb8/sergei/AFSWD_debug/build/llvm-3.2/utils/lit/lit.py
-s -v . )
     7  -- Testing: 6841 tests, 2 threads --
     8  Testing: 0
     9  FAIL: LLVM :: Bindings/Ocaml/analysis.ml (354 of 6841)
    10  ******************** TEST 'LLVM :: Bindings/Ocaml/analysis.ml' FAILED
********************
    11  Script:
    12  --
    13  /mnt/sdb8/sergei/AFSWD_debug/20121021/ocaml-3.12.1/bin/ocamlopt -cc
"/mnt/sdb8/sergei/AFSWD_debug/20121021/g++-4.5.4/binsh/g++
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/autogen-5.16.2/include
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/binutils-2.22/include
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/cloog-ppl-0.15.11/include
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/dejagnu-1.5/include
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/expect-5.45/include
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/flex-2.5.37/include
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/gc-7.2/include
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/g++-4.5.4/include
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/gettext-0.18.1.1/include
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/glpk-4.47/include
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/gmp-5.0.5/include
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/guile-2.0.6/include/guile/2.0
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/libelf-0.8.13/include
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/libelf-0.8.13/include/libelf
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/libffi-3.0.11/lib/libffi-3.0.11/include
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/libiconv_pre-1.14/include
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/libtool-2.4.2/include
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/libunistring-0.9.3/include
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/mpc-1.0.1/include
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/mpfr-3.1.1/include
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/ncurses-5.9/include
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/ncurses-5.9/include/ncurses
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/ppl-0.12.1/include
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/readline-6.2/include
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/tcl-8.5.12/include
-I/mnt/sdb8/sergei/AFSWD_debug/20121021/zlib-1.2.7/include
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/autogen-5.16.2/lib
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/binutils-2.22/lib
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/bison-2.6.5/lib
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/cloog-ppl-0.15.11/lib
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/flex-2.5.37/lib
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/gc-7.2/lib
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/g++-4.5.4/lib
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/g++-4.5.4/lib/g++/i686-pc-linux-gnu/4.5.4
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/gettext-0.18.1.1/lib
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/glpk-4.47/lib
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/gmp-5.0.5/lib
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/guile-2.0.6/lib
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/libelf-0.8.13/lib
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/libffi-3.0.11/lib
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/libiconv_pre-1.14/lib
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/libtool-2.4.2/lib
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/libunistring-0.9.3/lib
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/mpc-1.0.1/lib
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/mpfr-3.1.1/lib
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/ncurses-5.9/lib
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/ppl-0.12.1/lib
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/readline-6.2/lib
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/tcl-8.5.12/lib
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/tcl-8.5.12/lib/expect5.45
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/tcl-8.5.12/lib/tcl8.5/graphviz
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/tcl-8.5.12/lib/tcl8.5/graphviz/tcl
-L/mnt/sdb8/sergei/AFSWD_debug/20121021/zlib-1.2.7/lib -D_FILE_OFFSET_BITS=64
-D_REENTRANT" -I /mnt/sdb8/sergei/AFSWD_debug/build/llvm-3.2/Release/lib/ocaml
-warn-error A llvm.cmxa llvm_analysis.cmxa
/mnt/sdb8/sergei/AFSWD_debug/build/llvm-3.2/test/Bindings/Ocaml/analysis.ml -o
/mnt/sdb8/sergei/AFSWD_debug/build/llvm-3.2/test/Bindings/Ocaml/Output/analysis.ml.tmp
    14 
/mnt/sdb8/sergei/AFSWD_debug/build/llvm-3.2/test/Bindings/Ocaml/Output/analysis.ml.tmp
    15  --
    16  Exit Code: 2
    17  Command Output (stderr):
    18  --
    19  sh: /mnt/sdb8/sergei/AFSWD_debug/20121021/g++-4.5.4/binsh/g++: No such
file or directory
    20  File "caml_startup", line 1, characters 0-1:
    21  Error: Error during linking
.

The essence of failure is
"/mnt/sdb8/sergei/AFSWD_debug/20121021/g++-4.5.4/binsh/g++" - it is a wrong
path somehow calculated by build system.

The wrong path appears despite the fact that I explicitly specify correct path
through CXX, and g++ can be found through $PATH - please see to be attached
autognerated 'configure' wrapper.

The correct path is /mnt/sdb8/sergei/AFSWD_debug/20121021/gcc-4.5.4/binsh/g++ .

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list