Date: Tue, 6 Sep 2011 15:25:50 +0200 From: Olivier Smedts <olivier@gid0.org> To: Volodymyr Kostyrko <c.kworr@gmail.com> Cc: freebsd-current@freebsd.org, Dimitry Andric <dim@freebsd.org> Subject: Re: Compiling BETA2 with clang fails Message-ID: <CABzXLYPZSN8kzsyauA_TpjkPyo_xA_OXWfCjkLsc=s6vkt-%2BbQ@mail.gmail.com> In-Reply-To: <4E661B1C.2030608@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>
next in thread | previous in thread | raw e-mail | index | archive | help
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.html >>> >>> Nope, my current world was built by gcc. >> >> The problem is not the current world but the bootstrap clang built >> with -march=native (or -march=recent_cpu) on some recent CPUs. >> >> 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 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 ? Cheers -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABzXLYPZSN8kzsyauA_TpjkPyo_xA_OXWfCjkLsc=s6vkt-%2BbQ>
