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

Chris Lattner
Thu, 21 Jun 2007 22:01:17 -0000

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

--