[LLVMbugs] [Bug 5013] New: Can't build llvm-gcc from CMake build

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Sep 20 03:30:56 PDT 2009


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

           Summary: Can't build llvm-gcc from CMake build
           Product: Build scripts
           Version: 2.6
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: autoconf
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: ewmailing at gmail.com
                CC: llvmbugs at cs.uiuc.edu


I built llvm on Snow Leopard using CMake. (The autoconf didn't work for me: bug
5012.)
I am now trying to build llvm-gcc.

As I understand it, I am required to pass the build directory of llvm using
--enable-llvm=$LLVMOBJDIR

I pointed it to my CMake build directory, but the build fails.




gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../../llvm-gcc-4.2_release_26/libiberty/../include  -W -Wall -pedantic
-Wwrite-strings -Wstrict-prototypes -Wc++-compat
../../../llvm-gcc-4.2_release_26/libiberty/pex-unix.c -o pex-unix.o
rm -f ./libiberty.a pic/./libiberty.a
ar rc ./libiberty.a \
          ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o ./argv.o
./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./fdmatch.o ./fibheap.o
./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o
./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o
./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o
./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o
./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o
./ternary.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o
./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o  ./mempcpy.o ./stpncpy.o
./strndup.o ./strverscmp.o
ranlib ./libiberty.a
if [ x"" != x ]; then \
          cd pic; \
          ar rc ./libiberty.a \
            ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o ./argv.o
./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./fdmatch.o ./fibheap.o
./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o
./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o
./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o
./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o
./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o
./ternary.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o
./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o  ./mempcpy.o ./stpncpy.o
./strndup.o ./strverscmp.o; \
          ranlib ./libiberty.a; \
          cd ..; \
        else true; fi
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2
/bin/sh ../llvm-gcc-4.2_release_26/mkinstalldirs /opt/local /opt/local
/bin/sh: line 0: cd: ./fixincludes: No such file or directory
make[1]: *** [install-fixincludes] Error 1
make: *** [install] Error 2


-- 
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