cwalls251 / iphone-dev

Automatically exported from code.google.com/p/iphone-dev
0 stars 0 forks source link

Latest LLVM breaks iphone-dev compile #74

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Upgrade to the latest rev of LLVM-SVN (r42824)
2. Upgrade to the latest rev of the iphone-dev tree
3. Compile LLVM, follow build instructions for iphone-dev

What is the expected output? What do you see instead?

Blows up building GCC 4.0

Please provide any additional information below.

 c++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall
-Wwrite-strings -pedantic -Wno-long-long -Wno-variadic-macros
-DHAVE_CONFIG_H -Wno-unused -DTARGET_NAME=\"arm-apple-darwin\" -DNDEBUG
-DENABLE_LLVM -I/downloads/iphone-dev/llvm-svn/include  -D_DEBUG 
-D_GNU_SOURCE -D__STDC_LIMIT_MACROS
-DLLVM_VERSION_INFO='"2.0-svn-iphone-dev-0.3-svn"'   -I. -I.
-I../../../llvm-gcc-4.0-iphone/gcc -I../../../llvm-gcc-4.0-iphone/gcc/.
-I../../../llvm-gcc-4.0-iphone/gcc/../include
-I../../../llvm-gcc-4.0-iphone/gcc/../libcpp/include 
-I/downloads/iphone-dev/llvm-svn/include
-I/downloads/iphone-dev/llvm-svn/include
../../../llvm-gcc-4.0-iphone/gcc/llvm-backend.cpp -o llvm-backend.o
../../../llvm-gcc-4.0-iphone/gcc/llvm-backend.cpp: In function 'void
llvm_initialize_backend()':
../../../llvm-gcc-4.0-iphone/gcc/llvm-backend.cpp:191: error:
'createBFS_DAGScheduler' was not declared in this scope
../../../llvm-gcc-4.0-iphone/gcc/llvm-backend.cpp: In function 'void
emit_global_to_llvm(tree_node*)':
../../../llvm-gcc-4.0-iphone/gcc/llvm-backend.cpp:862: warning: comparison
between signed and unsigned integer expressions
make[1]: *** [llvm-backend.o] Error 1
make[1]: Leaving directory
`/home/downloads/iphone-dev/iphone-dev/build/llvm-gcc-4.0-iphone/gcc'
make: *** [all-gcc] Error 2

Original issue reported on code.google.com by x...@hdm.io on 10 Oct 2007 at 3:35

GoogleCodeExporter commented 8 years ago
I confirm this - getting the same error (Mac OS X 10.4.10)

../../../llvm-gcc-4.0-iphone/gcc/llvm-backend.cpp: In function 'void 
llvm_initialize_backend()':
../../../llvm-gcc-4.0-iphone/gcc/llvm-backend.cpp:191: error: 
'createBFS_DAGScheduler' was not declared in 
this scope
make[1]: *** [llvm-backend.o] Error 1
make: *** [all-gcc] Error 2

Original comment by slavi...@gmail.com on 12 Oct 2007 at 10:36

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
same here on a fresh install

Original comment by goog...@gmail.com on 15 Oct 2007 at 4:08

GoogleCodeExporter commented 8 years ago
Confirmed on Ubuntu 7.10 with gcc 4.1.3 and llvm-gcc r43030.

Original comment by Phi...@gmail.com on 16 Oct 2007 at 12:53

GoogleCodeExporter commented 8 years ago
Duplicate of issue 70

Original comment by Phi...@gmail.com on 16 Oct 2007 at 1:09