From owner-freebsd-current@FreeBSD.ORG Tue Sep 6 13:25:53 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6031A1065678; Tue, 6 Sep 2011 13:25:53 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by mx1.freebsd.org (Postfix) with ESMTP id 0A2B38FC19; Tue, 6 Sep 2011 13:25:52 +0000 (UTC) Received: by qwg2 with SMTP id 2so4356012qwg.17 for ; Tue, 06 Sep 2011 06:25:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.68.232 with SMTP id w40mr3939097qci.137.1315315550630; Tue, 06 Sep 2011 06:25:50 -0700 (PDT) Received: by 10.229.98.137 with HTTP; Tue, 6 Sep 2011 06:25:50 -0700 (PDT) In-Reply-To: <4E661B1C.2030608@gmail.com> References: <4E62915E.1010405@FreeBSD.org> <4E6294E0.5010104@gmail.com> <4E6298DE.5090007@FreeBSD.org> <4E644993.4090703@gmail.com> <4E660BA3.8080103@FreeBSD.org> <4E66162F.8090406@gmail.com> <4E661B1C.2030608@gmail.com> Date: Tue, 6 Sep 2011 15:25:50 +0200 Message-ID: From: Olivier Smedts To: Volodymyr Kostyrko Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, Dimitry Andric Subject: Re: Compiling BETA2 with clang fails X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2011 13:25:53 -0000 2011/9/6 Volodymyr Kostyrko : > 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."