[LLVMdev] hacked up llvm-gcc bootstraps on linux-x86_64

Chris Lattner sabre at nondot.org
Thu Jun 21 15:01:17 PDT 2007


On Thu, 21 Jun 2007, [UTF-8] Rafael Esp?ndola wrote:
> Bugs 1519 and 1521 currently prevent a clean bootstrap on Linux
> x86_64. I was able to hack it to work :-)
>
> The attached patch includes two parts. One is a tentative fix bug
> 1519: just set LastFieldStartsAtNonByteBoundry in
> allFieldsAreNotBitFields.

Cool, I'll let Duncan or Devang comment on this patch, it looks simple 
enough, but they are the experts on the code.

> The other one is a plain hack. llvm-gcc and gcc disagree on how to
> pass some structures, so stage2 gcc fails to use the libcpp compiled
> by gcc. So I just copied a function form libcpp to gcc itself :-)

I'm not opposed to this as a short-term hack.  Do you think we should 
commit it until PR1521 is resolved?

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list