sindhya / iphone-dev

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

gperf not tested in config #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
the gperf command is not check by configure for step "Configure and make
LLVM-GCC" 

This resulted in a build failure with gpref command not found error, half
way through the build.

After installing gpref, from the current Fedora 7 repo.
$ gperf -v
GNU gperf 3.0.2
...
I got half way through $ make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn
where it failed with:
make[1]: Entering directory
`/home/gax/work/iphone/iphone-dev/llvm-gcc-4.0-iphone-build/gcc'
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long -Wno-variadic-macros -Wold-style-definition   
-DHAVE_CONFIG_H -DENABLE_LLVM -I/home/gax/work/iphone/llvm-svn/include 
-D_DEBUG  -D_GNU_SOURCE -D__STDC_LIMIT_MACROS
-DLLVM_VERSION_INFO='"2.0-svn-iphone-dev-0.3-svn"'   -I. -Icp
-I../../llvm-gcc-4.0-iphone/gcc -I../../llvm-gcc-4.0-iphone/gcc/cp
-I../../llvm-gcc-4.0-iphone/gcc/../include
-I../../llvm-gcc-4.0-iphone/gcc/../libcpp/include 
-I/home/gax/work/iphone/llvm-svn/include
-I/home/gax/work/iphone/llvm-svn/include
../../llvm-gcc-4.0-iphone/gcc/cp/except.c -o cp/except.o
../../llvm-gcc-4.0-iphone/gcc/cp/except.c: In function ‘nothrow_libfn_p’:
../../llvm-gcc-4.0-iphone/gcc/cp/except.c:918: warning: implicit
declaration of function ‘libc_name_p’
c++   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-Wno-variadic-macros -Wold-style-definition    -DHAVE_CONFIG_H  -o
cc1plus-dummy \
              cp/cp-lang.o stub-objc.o cp/call.o cp/decl.o cp/expr.o
cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o
cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o
cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o
cp/optimize.o cp/mangle.o cp/cp-objcp-common.o cp/name-lookup.o
cp/cxx-pretty-print.o cp/cp-gimplify.o tree-mudflap.o attribs.o c-common.o
c-format.o c-pragma.o c-semantics.o c-lex.o c-dump.o darwin-c.o
c-pretty-print.o c-opts.o c-pch.o c-incpath.o cppdefault.o c-ppoutput.o
c-cppbuiltin.o prefix.o c-gimplify.o tree-inline.o dummy-checksum.o
llvm-main.o  libbackend.a ../libcpp/libcpp.a
/home/gax/work/iphone/llvm-svn/Release/lib/libLLVMBitReader.a
/home/gax/work/iphone/llvm-svn/Release/lib/libLLVMipo.a
/home/gax/work/iphone/llvm-svn/Release/lib/libLLVMBitWriter.a
/home/gax/work/iphone/llvm-svn/Release/lib/LLVMARM.o
/home/gax/work/iphone/llvm-svn/Release/lib/libLLVMSelectionDAG.a
/home/gax/work/iphone/llvm-svn/Release/lib/libLLVMCodeGen.a
/home/gax/work/iphone/llvm-svn/Release/lib/libLLVMScalarOpts.a
/home/gax/work/iphone/llvm-svn/Release/lib/libLLVMTransformUtils.a
/home/gax/work/iphone/llvm-svn/Release/lib/libLLVMipa.a
/home/gax/work/iphone/llvm-svn/Release/lib/libLLVMAnalysis.a
/home/gax/work/iphone/llvm-svn/Release/lib/libLLVMTarget.a
/home/gax/work/iphone/llvm-svn/Release/lib/libLLVMCore.a
/home/gax/work/iphone/llvm-svn/Release/lib/libLLVMSupport.a
/home/gax/work/iphone/llvm-svn/Release/lib/libLLVMSystem.a
../libcpp/libcpp.a   ../libiberty/libiberty.a
-L/home/gax/work/iphone/llvm-svn/Release/lib  -lpthread -ldl -lm -lelf  \

cp/except.o: In function `nothrow_libfn_p':
/home/gax/work/iphone/iphone-dev/llvm-gcc-4.0-iphone-build/gcc/../../llvm-gcc-4.
0-iphone/gcc/cp/except.c:918:
undefined reference to `libc_name_p'
collect2: ld returned 1 exit status
make[1]: *** [cc1plus-dummy] Error 1
make[1]: Leaving directory
`/home/gax/work/iphone/iphone-dev/llvm-gcc-4.0-iphone-build/gcc'
make: *** [all-gcc] Error 2

if the gperf error is not related to the last "make" error, maybe this
issue needs to be split.

Original issue reported on code.google.com by gaxze...@gmail.com on 16 Sep 2007 at 4:09

GoogleCodeExporter commented 9 years ago
This issue is intermittent and not specific to LLVM-GCC. I can try to massage 
the makefiles to prevent it 
from thinking the gperf-generated files are out of date and trying to 
regenerate them.

Original comment by nightwat...@gmail.com on 16 Sep 2007 at 2:46