[LLVMbugs] [Bug 9747] New: building LLVM-GCC failed on fedora
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Apr 18 10:26:32 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=9747
Summary: building LLVM-GCC failed on fedora
Product: tools
Version: 2.9
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: llvm-gcc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: ali.2006.amin at gmail.com
CC: llvmbugs at cs.uiuc.edu
I have built LLVM and also installed it.
LLVM-version - 2.9
llvm-gcc-4.2-2.8
I am configured building LLVM-GCC using following command -
export LLVMOBJDIR=/home/ali/Desktop/obj_files/ - path to object files of LLVM
export BUILDOPTIONS=LLVM_VERSION_INFO=2.9
../llvm-gcc-4.2-2.8.source/configure --prefix=`pwd`/../install
--enable-llvm=$LLVMOBJDIR --enable-languages=c,c++ --enable-checking
--host=x86_64-fedora-linux --build=x86_64-fedora-linux
and then 'make $BUILDOPTIONS' performs certain compilations and at end I get an
error.
c++ -c -g -DIN_GCC -W -Wall -Wwrite-strings -pedantic -Wno-long-long
-Wno-variadic-macros -Wmissing-format-attribute -fno-common -DHAVE_CONFIG_H
-Wno-unused -DTARGET_NAME=\"x86_64-fedora-linux\"
-DTARGET_CANONICAL_NAME=\"x86_64-fedora-linux-gnu\" -frandom-seed=0 -I. -I.
-I../../llvm-gcc-4.2-2.8.source/gcc -I../../llvm-gcc-4.2-2.8.source/gcc/.
-I../../llvm-gcc-4.2-2.8.source/gcc/../include
-I../../llvm-gcc-4.2-2.8.source/gcc/../libcpp/include
-I../../llvm-gcc-4.2-2.8.source/gcc/../libdecnumber -I../libdecnumber
-I/home/ali/Desktop/obj_files//include -I/home/ali/Desktop/llvm-2.9/include
-DENABLE_LLVM -I/home/ali/Desktop/obj_files/../llvm-2.9/include
-I/home/ali/Desktop/obj_files/include -DNDEBUG -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DLLVM_VERSION_INFO='"2.9"'
-I. -I. -I../../llvm-gcc-4.2-2.8.source/gcc
-I../../llvm-gcc-4.2-2.8.source/gcc/.
-I../../llvm-gcc-4.2-2.8.source/gcc/../include
-I../../llvm-gcc-4.2-2.8.source/gcc/../libcpp/include
-I../../llvm-gcc-4.2-2.8.source/gcc/../libdecnumber -I../libdecnumber
-I/home/ali/Desktop/obj_files//include -I/home/ali/Desktop/llvm-2.9/include
../../llvm-gcc-4.2-2.8.source/gcc/llvm-backend.cpp -o llvm-backend.o
In file included from ../../llvm-gcc-4.2-2.8.source/gcc/llvm-backend.cpp:23:
../../llvm-gcc-4.2-2.8.source/gcc/llvm-internal.h:40:35: error:
llvm/System/DataTypes.h: No such file or directory
../../llvm-gcc-4.2-2.8.source/gcc/llvm-backend.cpp:52:33: error:
llvm/System/Program.h: No such file or directory
In file included from ../../llvm-gcc-4.2-2.8.source/gcc/llvm-backend.cpp:24:
../../llvm-gcc-4.2-2.8.source/gcc/llvm-debug.h:59: error: ‘DIFactory’ does not
name a type
../../llvm-gcc-4.2-2.8.source/gcc/llvm-backend.cpp: In function ‘void
llvm_pch_write_init()’:
../../llvm-gcc-4.2-2.8.source/gcc/llvm-backend.cpp:630: error:
‘llvm::sys::Program’ has not been declared
../../llvm-gcc-4.2-2.8.source/gcc/llvm-backend.cpp: In function ‘void
llvm_asm_file_start()’:
../../llvm-gcc-4.2-2.8.source/gcc/llvm-backend.cpp:836: error:
‘llvm::sys::Program’ has not been declared
make[3]: *** [llvm-backend.o] Error 1
make[3]: Leaving directory `/home/ali/Desktop/obj-gcc/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/ali/Desktop/obj-gcc'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/ali/Desktop/obj-gcc'
make: *** [all] Error 2
note - [root at localhost obj-gcc]# uname -a
Linux localhost.localdomain 2.6.27.41-170.2.117.fc10.x86_64 #1 SMP Thu Dec 10
10:36:29 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
[I am using pentium 4 single core machine.]
--
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