9.0 RC1/Clang / illegal instruction (Signal 4) in gengtype while building cc_tools on i586.

Patrick Lamaiziere patfbsd at davenulle.org
Sun Oct 23 13:38:22 UTC 2011


Le Sun, 23 Oct 2011 12:11:05 +0200,
Roman Divacky <rdivacky at freebsd.org> a écrit :

> > Long nops are supported only on specific CPUs. Unconditional use of
> > them is a plain bug, like unconditional use of cmovXX.
> 
> Yes, it's a bug, I filed http://llvm.org/bugs/show_bug.cgi?id=11212
> upstream. Patric, as a temporary workaround please add
> "-no-integrated-as" to your CFLAGS, that will make clang use gnu as
> instead of its own intergrated assembler, thus avoiding this problem.

Unless you think that it will be helpful to test with the workaround, I
would prefer to test patches from llvm (it takes days to build FreeBSD
on a net5501...).

This proves it is useful to test with uncommon hardware, and I would
like to check the crypto engine, hifn(4) and glxsb(4) built with
llvm (that worked fine around january).

Thanks a lot, regards.


More information about the freebsd-current mailing list