Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Sep 2011 17:21:46 +0300
From:      Volodymyr Kostyrko <c.kworr@gmail.com>
To:        Olivier Smedts <olivier@gid0.org>
Cc:        freebsd-current@freebsd.org, Dimitry Andric <dim@freebsd.org>
Subject:   Re: Compiling BETA2 with clang fails
Message-ID:  <4E662C7A.3020404@gmail.com>
In-Reply-To: <CABzXLYPZSN8kzsyauA_TpjkPyo_xA_OXWfCjkLsc=s6vkt-%2BbQ@mail.gmail.com>
References:  <j3u29f$bv8$1@dough.gmane.org> <4E62915E.1010405@FreeBSD.org> <4E6294E0.5010104@gmail.com> <4E6298DE.5090007@FreeBSD.org> <4E644993.4090703@gmail.com> <4E660BA3.8080103@FreeBSD.org> <CABzXLYPUPvubXa4a%2BRkAftCOCyr===v6SOw=o=qtZ%2BHDTiJywg@mail.gmail.com> <4E66162F.8090406@gmail.com> <CABzXLYOxgYbFtSJ%2BVHwLHRYmUsC2jVGhuJOmG-KGPiqjACH9AQ@mail.gmail.com> <4E661B1C.2030608@gmail.com> <CABzXLYPZSN8kzsyauA_TpjkPyo_xA_OXWfCjkLsc=s6vkt-%2BbQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
06.09.2011 16:25, Olivier Smedts wrote:
>>> What is your processor ?
>>
>> Athlon XP 2500+
>>
>> I noticed breakage on recent intel processors too, but haven't yet stumbled
>> upon them using -march=native on this one.
>
> Can you compile the Host.cpp file referenced in :
> http://lists.freebsd.org/pipermail/freebsd-current/2011-May/024499.html

Ah, thanks for the link. Missed that one. I'll post results when I'll 
have access to that machine.

> And see which arch the resulting binary detects ?
>
> %clang++ Host.cpp -o Host
> %./Host
> cpu = corei7
>
> Also, do you have the same problem for a clean buildworld with
> "-march=athlon-xp" instead of "-march=native" in your make.conf ?

You mean like fully rebuilding system with gcc and -march=athlon-xp and 
then try again?

-- 
Sphinx of black quartz judge my vow.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E662C7A.3020404>