Re: Building with external toolchain was broken 6 months ago wit
On Mar 20, 2014, at 8:25 AM, David Chisnall <theraven@FreeBSD.org> wrote:
> On 20 Mar 2014, at 14:08, John Baldwin <jhb@freebsd.org> wrote:
> =
>> No, the compiler should provide a working "wmmintrin.h" header in one of
>> its built-in paths if it supports the AES instructions. This is akin to
>> saying that code that uses "stdio.h" should use -I/usr/src/include.
> =
> It does, however our build system then explicitly says to the compiler 'd=
on't use your built-it paths because they may contain declarations that con=
tradict the FreeBSD ones' by means of the sysroot argument. When not using=
an external toolchain, we put the compiler's internal headers inside the s=
ysroot.
Sounds like we=92re building the sysroot wrong then.
Warner
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 10 之 13 篇):