[LLVMdev] build broken (a different way)

Dan Gohman gohman at apple.com
Fri Oct 3 10:40:03 PDT 2008


I briefly saw something like this but it went away when I tried
to investigate it. I've seen a few other strange things happen
recently that make me suspect that Makefile dependencies may not
be working properly. Does the problem go away if you do a clean
build?

Also, does your LLVM build use srcdir != objdir?

Dan

On Thu, October 2, 2008 4:40 pm, John Regehr wrote:
> I get the output below on Ubuntu Hardy on ia32 from svn 56984.
>
> John
>
>
> make[2]: Entering directory `/home/regehr/llvm-gcc/build/gcc'
> /home/regehr/llvm-gcc/build/./gcc/xgcc
> -B/home/regehr/llvm-gcc/build/./gcc/ -B/home/regehr/i686-pc-linux-gnu/bin/
> -B/home/regehr/i686-pc-linux-gnu/lib/ -isystem
> /home/regehr/i686-pc-linux-gnu/include -isystem
> /home/regehr/i686-pc-linux-gnu/sys-include -O2 -O2 -g -O2  -DIN_GCC    -W
> -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wold-style-definition  -isystem ./include  -I. -I. -I../../gcc
> -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include
> -I../../gcc/../libdecnumber -I../libdecnumber -I/home/regehr/llvm/include
> -I/home/regehr/llvm/include  -g0 -finhibit-size-directive
> -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss
> -fno-toplevel-reorder  -fno-omit-frame-pointer \
>  	  -c ../../gcc/crtstuff.c -DCRT_BEGIN \
>  	  -o crtbegin.o
> cc1: X86ATTAsmPrinter.cpp:543: void
> llvm::X86ATTAsmPrinter::printMemReference(const llvm::MachineInstr*,
> unsigned int, const char*): Assertion `isMem(MI, Op) && "Invalid memory
> reference!"' failed.
> ../../gcc/crtstuff.c:378: internal compiler error: Aborted
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://developer.apple.com/bugreporter> for instructions.
> make[2]: *** [crtbegin.o] Error 1
> make[2]: Leaving directory `/home/regehr/llvm-gcc/build/gcc'
> make[1]: *** [install-gcc] Error 2
> make[1]: Leaving directory `/home/regehr/llvm-gcc/build'
> make: *** [install] Error 2
> regehr at john-home:~/llvm-gcc/build$
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>





More information about the llvm-dev mailing list