[LLVMdev] llvm-gcc won't bootstrap

David A. Greene greened at obbligato.org
Thu Apr 19 21:14:30 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Devang Patel wrote:

> unwind-dw2.c is compiled using newly built llvm-gcc which uses your  
> version of llvm for optimization and code generation.  So there may be  
> a bug somewhere in your version of llvm that is mis-compiling llvm-gcc  
> that is used to compile unwind-dw2.c.

Yes, I know the difference is our llvm.  But it's not running through
the optimizer or machine code generator as I'm compiling with -O0 and
- -emit-llvm.  In fact the thing never gets beyond gcc-to-llvm
translation.

I was on to something this afternoon, it looked like an actual gcc
frontend bug.  It may be that our llvm changes the memory layout
just right to expose the problem.  I'll take up the investigation
tomorrow and see if I can fix it.

                              -Dave
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGKD4mgQsI8xjTYs8RAnm7AKCHk0tbuM/QKo934TwCNDKSa7T4GwCcDVhj
4LW26xMl/clqqxDUKm4AByY=
=HDZG
-----END PGP SIGNATURE-----



More information about the llvm-dev mailing list