Re: Compiling BETA2 with clang fails
2011/9/6 Volodymyr Kostyrko <c.kworr@gmail.com>:
> 06.09.2011 16:04, Olivier Smedts wrote:
>
>>>> I think it's more like the following issue, which is not new :
>>>> http://lists.freebsd.org/pipermail/freebsd-current/2011-May/024509.htm=
l
>>>
>>> Nope, my current world was built by gcc.
>>
>> The problem is not the current world but the bootstrap clang built
>> with -march=3Dnative (or -march=3Drecent_cpu) on some recent CPUs.
>>
>> What is your processor ?
>
> Athlon XP 2500+
>
> I noticed breakage on recent intel processors too, but haven't yet stumbl=
ed
> upon them using -march=3Dnative on this one.
Can you compile the Host.cpp file referenced in :
http://lists.freebsd.org/pipermail/freebsd-current/2011-May/024499.html
And see which arch the resulting binary detects ?
%clang++ Host.cpp -o Host
%./Host
cpu =3D corei7
Also, do you have the same problem for a clean buildworld with
"-march=3Dathlon-xp" instead of "-march=3Dnative" in your make.conf ?
Cheers
--=20
Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 ASCII ribbon campaign ( )
e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X
www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \
=A0 "Il y a seulement 10 sortes de gens dans le monde :
=A0 ceux qui comprennent le binaire,
=A0 et ceux qui ne le comprennent pas."
_______________________________________________
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"
討論串 (同標題文章)
完整討論串 (本文為第 17 之 26 篇):