[LLVMdev] Error building llvm-gcc
Mike Stump
mrs at apple.com
Wed Apr 16 12:47:28 PDT 2008
On Apr 16, 2008, at 11:47 AM, John Criswell wrote:
> I get the following error building llvm-gcc using gmake (i.e., not
> building the bootstrap target). Any ideas on what I am doing wrong?
One common problem is if you are doing incremental builds, you may
want to try building restrap first and see if that clears the
problem. If not...
If anything, you're trying to build a broken compiler...
You can ignore it by disabling the bootstrap (--disable-bootstrap), or
by fixing the compiler to be other than broken, or by acquiring a non-
broken compiler.
If you want to try fixing it or hunting it down yourself, you can
compile rtl.o with the stage 2 and the stage 3 compilers with -save-
temps and then compare the rtl.s files from each. The difference
between them is the problem, generally indicates a codegen bug in the
compiler, though, sometimes just indicates some random non-determinism
someone put into the compiler.
More information about the llvm-dev
mailing list