[LLVMdev] about llvm2.7's inline assembly

Anton Korobeynikov anton at korobeynikov.info
Mon Jul 12 01:11:21 PDT 2010


> IIRC the fixincludes hack was done so that the asm would not crash the
> compiler,
> the problem being that "int" (32 bits) is being passed to the asm even on 64
> bit machines; it should be "long".  But the asm itself is coming from glibc.
Yes, however from the original report it's unclear how the versions of
llvm-gcc were built.
It's possible e.g. that 2.6 one was some pre-packaged one bringing the
"fixed" header from other version of glibc.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-dev mailing list