[LLVMdev] Trouble Building llvm-gcc-4.2
edwintorok at gmail.com
Fri Apr 3 08:51:00 PDT 2009
On 2009-04-03 18:39, David Greene wrote:
> I'm still trying to debug the validator buildbot.
> I'm getting this error when building some variants of llvm-gcc-4.2:
> /bin/sh ../../src/gcc/mkconfig.sh bconfig.h
> gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros
> -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute
> -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../src/gcc
> -I../../src/gcc/build -I../../src/gcc/../include
> -I../../src/gcc/../libcpp/include -I../../src/gcc/../libdecnumber
> -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -o
> build/errors.o ../../src/gcc/errors.c
> build/genmodes -h > tmp-modes.h
> /bin/sh: line 1: build/genmodes: No such file or directory
> make: *** [s-modes-h] Error 127
> Google turned up a gcc bug in which a maintainer explained that doing
> a ./configure in the source directory could cause this. Except the buildbot
> doesn't do that.
> Anyone seen this before and have any idea how to fix it?
Yes, when I didn't have flex installed.
Though gcc's configure script should detect that, shouldn't it?
More information about the llvm-dev