salah1979 / iphone-dev

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

failed during make LLVM-GCC #101

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Followed intructions on "building" wiki page
2. Entered: make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn

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

Expected: make to compile without errors

Error:

[dkgamez@localhost llvm-gcc-4.0-iphone]$ make
LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn
make[1]: Entering directory
`/home/dkgamez/iphone/iphone-dev/build/llvm-gcc-4.0-iphone/libiberty'
if [ x"" != x ] && [ ! -d pic ]; then \
          mkdir pic; \
        else true; fi
touch stamp-picdir
CONFIG_FILES=
CONFIG_HEADERS=config.h:../../../llvm-gcc-4.0-iphone/libiberty/config.in
/bin/sh ./config.status
config.status: creating config.h
config.status: executing default commands
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/regex.c -o pic/regex.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/regex.c -o regex.o
In file included from
../../../llvm-gcc-4.0-iphone/libiberty/../include/xregex.h:26,
                 from ../../../llvm-gcc-4.0-iphone/libiberty/regex.c:199:
../../../llvm-gcc-4.0-iphone/libiberty/../include/xregex2.h:548: warning:
ISO C90 does not support ‘static’ or type qualifiers in parameter array
declarators
In file included from ../../../llvm-gcc-4.0-iphone/libiberty/regex.c:653:
../../../llvm-gcc-4.0-iphone/libiberty/regex.c: In function
‘byte_compile_range’:
../../../llvm-gcc-4.0-iphone/libiberty/regex.c:4552: warning: signed and
unsigned type in conditional expression
../../../llvm-gcc-4.0-iphone/libiberty/regex.c:4562: warning: signed and
unsigned type in conditional expression
../../../llvm-gcc-4.0-iphone/libiberty/regex.c:4562: warning: signed and
unsigned type in conditional expression
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/cplus-dem.c -o
pic/cplus-dem.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/cplus-dem.c -o cplus-dem.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/cp-demangle.c -o
pic/cp-demangle.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/cp-demangle.c -o cp-demangle.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/md5.c -o pic/md5.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/md5.c -o md5.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/alloca.c -o pic/alloca.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/alloca.c -o alloca.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/argv.c -o pic/argv.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/argv.c -o argv.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/choose-temp.c -o
pic/choose-temp.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/choose-temp.c -o choose-temp.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/concat.c -o pic/concat.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/concat.c -o concat.o
../../../llvm-gcc-4.0-iphone/libiberty/concat.c: In function 
‘concat_length’:
../../../llvm-gcc-4.0-iphone/libiberty/concat.c:112: warning: traditional C
rejects ISO C style function definitions
../../../llvm-gcc-4.0-iphone/libiberty/concat.c: In function ‘concat_copy’:
../../../llvm-gcc-4.0-iphone/libiberty/concat.c:127: warning: traditional C
rejects ISO C style function definitions
../../../llvm-gcc-4.0-iphone/libiberty/concat.c: In function ‘concat_copy2’:
../../../llvm-gcc-4.0-iphone/libiberty/concat.c:146: warning: traditional C
rejects ISO C style function definitions
../../../llvm-gcc-4.0-iphone/libiberty/concat.c: In function ‘concat’:
../../../llvm-gcc-4.0-iphone/libiberty/concat.c:157: warning: traditional C
rejects ISO C style function definitions
../../../llvm-gcc-4.0-iphone/libiberty/concat.c: In function ‘reconcat’:
../../../llvm-gcc-4.0-iphone/libiberty/concat.c:194: warning: traditional C
rejects ISO C style function definitions
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/cp-demint.c -o
pic/cp-demint.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/cp-demint.c -o cp-demint.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/dyn-string.c -o
pic/dyn-string.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/dyn-string.c -o dyn-string.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/fdmatch.c -o pic/fdmatch.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/fdmatch.c -o fdmatch.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/fibheap.c -o pic/fibheap.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/fibheap.c -o fibheap.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/floatformat.c -o
pic/floatformat.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/floatformat.c -o floatformat.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/fnmatch.c -o pic/fnmatch.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/fnmatch.c -o fnmatch.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/fopen_unlocked.c -o
pic/fopen_unlocked.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/fopen_unlocked.c -o
fopen_unlocked.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/getopt.c -o pic/getopt.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/getopt.c -o getopt.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/getopt1.c -o pic/getopt1.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/getopt1.c -o getopt1.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/getpwd.c -o pic/getpwd.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/getpwd.c -o getpwd.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/getruntime.c -o
pic/getruntime.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/getruntime.c -o getruntime.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/hashtab.c -o pic/hashtab.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/hashtab.c -o hashtab.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/hex.c -o pic/hex.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/hex.c -o hex.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/lbasename.c -o
pic/lbasename.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/lbasename.c -o lbasename.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/lrealpath.c -o
pic/lrealpath.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/lrealpath.c -o lrealpath.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/make-relative-prefix.c -o
pic/make-relative-prefix.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/make-relative-prefix.c -o
make-relative-prefix.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/make-temp-file.c -o
pic/make-temp-file.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/make-temp-file.c -o
make-temp-file.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/objalloc.c -o
pic/objalloc.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/objalloc.c -o objalloc.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/obstack.c -o pic/obstack.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/obstack.c -o obstack.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/partition.c -o
pic/partition.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/partition.c -o partition.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/physmem.c -o pic/physmem.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/physmem.c -o physmem.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/pex-unix.c -o
pic/pex-unix.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/pex-unix.c -o pex-unix.o
../../../llvm-gcc-4.0-iphone/libiberty/pex-unix.c: In function ‘pexecute’:
../../../llvm-gcc-4.0-iphone/libiberty/pex-unix.c:94: warning: variable
‘out’ might be clobbered by ‘longjmp’ or ‘vfork’
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/safe-ctype.c -o
pic/safe-ctype.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/safe-ctype.c -o safe-ctype.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/sort.c -o pic/sort.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/sort.c -o sort.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/spaces.c -o pic/spaces.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/spaces.c -o spaces.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/splay-tree.c -o
pic/splay-tree.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/splay-tree.c -o splay-tree.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/strerror.c -o
pic/strerror.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/strerror.c -o strerror.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/strsignal.c -o
pic/strsignal.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/strsignal.c -o strsignal.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/ternary.c -o pic/ternary.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/ternary.c -o ternary.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/xatexit.c -o pic/xatexit.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/xatexit.c -o xatexit.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/xexit.c -o pic/xexit.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/xexit.c -o xexit.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/xmalloc.c -o pic/xmalloc.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/xmalloc.c -o xmalloc.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/xmemdup.c -o pic/xmemdup.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/xmemdup.c -o xmemdup.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/xstrdup.c -o pic/xstrdup.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/xstrdup.c -o xstrdup.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/xstrerror.c -o
pic/xstrerror.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/xstrerror.c -o xstrerror.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic  ../../../llvm-gcc-4.0-iphone/libiberty/mkstemps.c -o
pic/mkstemps.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I.
-I../../../llvm-gcc-4.0-iphone/libiberty/../include  -W -Wall -Wtraditional
-pedantic ../../../llvm-gcc-4.0-iphone/libiberty/mkstemps.c -o mkstemps.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 ./physmem.o ./pex-unix.o
./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o
./strsignal.o ./ternary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o
./xstrdup.o ./xstrerror.o  ./mkstemps.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 ./physmem.o ./pex-unix.o
./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o
./strsignal.o ./ternary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o
./xstrdup.o ./xstrerror.o  ./mkstemps.o; \
          ranlib ./libiberty.a; \
          cd ..; \
        else true; fi
rm -f needed-list; touch needed-list; \
        for f in atexit calloc memchr memcmp memcpy memmove memset rename
strchr strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf
vprintf vfork waitpid bcmp bcopy bzero; do \
          for g in ./mkstemps.o ; do \
            case "$g" in \
              *$f*) echo $g >> needed-list ;; \
            esac; \
          done; \
        done
echo ./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 ./physmem.o ./pex-unix.o ./safe-ctype.o ./sort.o
./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./ternary.o
./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o >
required-list
make[1]: Leaving directory
`/home/dkgamez/iphone/iphone-dev/build/llvm-gcc-4.0-iphone/libiberty'
make[1]: Entering directory
`/home/dkgamez/iphone/iphone-dev/build/llvm-gcc-4.0-iphone/fixincludes'
gcc -c -g -O2   -DHAVE_CONFIG_H -I.
-I../../../llvm-gcc-4.0-iphone/fixincludes -I../include
-I../../../llvm-gcc-4.0-iphone/fixincludes/../include
../../../llvm-gcc-4.0-iphone/fixincludes/fixincl.c
gcc -c -g -O2   -DHAVE_CONFIG_H -I.
-I../../../llvm-gcc-4.0-iphone/fixincludes -I../include
-I../../../llvm-gcc-4.0-iphone/fixincludes/../include
../../../llvm-gcc-4.0-iphone/fixincludes/fixtests.c
gcc -c -g -O2   -DHAVE_CONFIG_H -I.
-I../../../llvm-gcc-4.0-iphone/fixincludes -I../include
-I../../../llvm-gcc-4.0-iphone/fixincludes/../include
../../../llvm-gcc-4.0-iphone/fixincludes/fixfixes.c
gcc -c -g -O2   -DHAVE_CONFIG_H -I.
-I../../../llvm-gcc-4.0-iphone/fixincludes -I../include
-I../../../llvm-gcc-4.0-iphone/fixincludes/../include
../../../llvm-gcc-4.0-iphone/fixincludes/server.c
gcc -c -g -O2   -DHAVE_CONFIG_H -I.
-I../../../llvm-gcc-4.0-iphone/fixincludes -I../include
-I../../../llvm-gcc-4.0-iphone/fixincludes/../include
../../../llvm-gcc-4.0-iphone/fixincludes/procopen.c
gcc -c -g -O2   -DHAVE_CONFIG_H -I.
-I../../../llvm-gcc-4.0-iphone/fixincludes -I../include
-I../../../llvm-gcc-4.0-iphone/fixincludes/../include
../../../llvm-gcc-4.0-iphone/fixincludes/fixlib.c
gcc -c -g -O2   -DHAVE_CONFIG_H -I.
-I../../../llvm-gcc-4.0-iphone/fixincludes -I../include
-I../../../llvm-gcc-4.0-iphone/fixincludes/../include
../../../llvm-gcc-4.0-iphone/fixincludes/fixopts.c
gcc -g -O2   -o fixincl fixincl.o fixtests.o fixfixes.o server.o procopen.o
fixlib.o fixopts.o ../libiberty/libiberty.a
echo timestamp > full-stamp
srcdir="../../../llvm-gcc-4.0-iphone/fixincludes" /bin/sh
../../../llvm-gcc-4.0-iphone/fixincludes/mkfixinc.sh i686-pc-linux-gnu
CONFIG_FILES=mkheaders CONFIG_HEADERS= ./config.status
config.status: creating mkheaders
make[1]: Leaving directory
`/home/dkgamez/iphone/iphone-dev/build/llvm-gcc-4.0-iphone/fixincludes'
Configuring in gcc
configure: loading cache ./config.cache
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking LIBRARY_PATH variable... ok
checking GCC_EXEC_PREFIX variable... ok
checking whether to place generated files in the source directory... no
checking whether a default linker was specified... yes
(/usr/local/bin/arm-apple-darwin-ld)
checking whether a default assembler was specified... yes
(/usr/local/bin/arm-apple-darwin-as - GNU as)
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for inline... inline
checking for long long int... yes
checking for __int64... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for void *... yes
checking size of void *... 4
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking whether gcc accepts -Wno-long-long... yes
checking whether gcc accepts -Wno-variadic-macros... yes
checking whether gcc accepts -Wold-style-definition... yes
checking valgrind.h usability... no
checking valgrind.h presence... no
checking for valgrind.h... no
checking for dsymutil... no
dsymutil is not available
checking for dsymutil... no
dsymutil is not available
configure: error: You must specify *absolute* path to your LLVM tree with
--enable-llvm=DIR
make: *** [configure-gcc] Error 1
[dkgamez@localhost llvm-gcc-4.0-iphone]$                                  

What version of the product are you using? On what operating system?

Mandriva Linux 2008 KDE (2.6.22.9-desktop586-1mdv)

LLVM svn r42498
iphone-dev svn r209

Please provide any additional information below.

Original issue reported on code.google.com by dkga...@gmail.com on 5 Nov 2007 at 3:46

Attachments:

GoogleCodeExporter commented 8 years ago
Are you sure your LLVMOBJDIR variable is defined correctly?

Original comment by mattgilb...@gmail.com on 5 Nov 2007 at 5:22

GoogleCodeExporter commented 8 years ago
I'm having similar problem on Fedora, I completed every step but this one. Is 
there 
some way to verify whether LLVMOBJDIR points to right location? The error says 
that -
-enable-llvm should be pointing to LLVM tree, i tried replacing 
--enable-llvm=`llvm-
config --obj-root` with --enable-llvm=$LLVMOBJDIR and leaving it there and 
appending 
another --enable-llvm=$LLVMOBJDIR to the end of the command but neither of this 
worked. Could you post list of files or at least directories we have to find in 
LLVMOBJDIR? 

Original comment by rame...@gmail.com on 6 Nov 2007 at 12:49

GoogleCodeExporter commented 8 years ago
I also assume the error occures because dsymutil cannot be located i tried 
finding 
it on entire filesystem but it wasn't found

Original comment by rame...@gmail.com on 6 Nov 2007 at 12:59

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
As per the instructions, I set the LLVMOBJDIR as follows:

LLVMOBJDIR=`pwd`

And here's the console output to double check:

[dkgamez@localhost llvm-gcc-4.0-iphone]$ $LLVMOBJDIR
bash: /home/dkgamez/iphone/llvm-svn: is a directory

The same error is still displayed. 

Original comment by darak...@gmail.com on 6 Nov 2007 at 9:06

GoogleCodeExporter commented 8 years ago
The issue was resolved with the following instruction from the wiki comments:

---------

 Comment by macosxman,  Nov 08 (3 days ago)

dkgamez and simerjots:

instead of:

../../llvm-gcc-4.0-iphone/configure --enable-llvm=`llvm-config --obj-root` \
--enable-languages=c,c++,objc,obj-c++ --target=arm-apple-darwin
--enable-sjlj-exceptions \
--with-heavenly=$HEAVENLY --with-as=/usr/local/bin/arm-apple-darwin-as \
--with-ld=/usr/local/bin/arm-apple-darwin-ld

try:

../../llvm-gcc-4.0-iphone/configure --enable-llvm=$LLVMOBJDIR \
--enable-languages=c,c++,objc,obj-c++ --target=arm-apple-darwin
--enable-sjlj-exceptions \
--with-heavenly=$HEAVENLY --with-as=/usr/local/bin/arm-apple-darwin-as \
--with-ld=/usr/local/bin/arm-apple-darwin-ld

That seemed to fix that problem for me.

Original comment by dkga...@gmail.com on 12 Nov 2007 at 8:17

GoogleCodeExporter commented 8 years ago
Another issue for me was the fact that what $LLVMOBJDIR evaluates to changes 
when I switch directories. Instead 
of assigning it to 'pwd', I specifically assigned it to the absolute path of 
the directory where I installed llvm-svn, 
and that worked.

This is on OS X 10.4

Original comment by allen...@gmail.com on 26 Apr 2008 at 6:37

GoogleCodeExporter commented 8 years ago
Same for me, no it works!!

Original comment by m.mchir...@gmail.com on 27 Mar 2009 at 3:21

GoogleCodeExporter commented 8 years ago
I had this problem too.  Type the following into terminal:
$ `llvm-config --obj-root`
(NOTE: these are /NOT/ single quotes.  This symbol is on the key right below 
escape)
Input the directory returned into where `llvm-config --obj-root` used to be in 
the 
configure command.
Done.

Original comment by sudo.adam.carruthers@gmail.com on 23 Dec 2009 at 1:59

GoogleCodeExporter commented 8 years ago
I got the same problem in Cygwin, even use --enable-llvm=$LLVMOBJDIR instead of 
--enable-llvm=`llvm-config --obj-root`

echo $LLVMOBJDIR
/home/iphone/llvm-svn

`llvm-config --obj-root`
/home/iphone/llvm-svn

and I can't found dsymutil on cygwin's filesystem

LLVM svn r125563

Original comment by rmusique on 16 Feb 2011 at 1:29

GoogleCodeExporter commented 8 years ago
My problem in Cygwin :
/usr/local/include/.... :error expected .....before.....
../../../llvm-gcc-4.0-iphone/libiberty/regex.c:... error:  ..... has no member 
named ..
make[1]:***[regex.o]Error 1
make:***[all-libiberty] Error 2

Original comment by jjjccc...@gmail.com on 20 Mar 2011 at 2:52