From owner-freebsd-current@FreeBSD.ORG Tue Sep 6 14:21:52 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 12704106566B; Tue, 6 Sep 2011 14:21:52 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-ey0-f172.google.com (mail-ey0-f172.google.com [209.85.215.172]) by mx1.freebsd.org (Postfix) with ESMTP id 618FD8FC20; Tue, 6 Sep 2011 14:21:50 +0000 (UTC) Received: by eye4 with SMTP id 4so3747677eye.31 for ; Tue, 06 Sep 2011 07:21:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=0AyuWnVAifAR8YwnloZwbN43KdZuCsDPMXKVpTmdOww=; b=xhO9a5cv4p54xil7AKsXeKAKLZHAdr/GghCVgzryjF0pMC7cgag5c+PrhSClQt2JSu LhmIawYNS74tZHYT/Vdw3JZpLhJRTJJ60/XejlONHBF1ed0xwzw1P8yYHyHJVSGryn9P piOY5UI2heoFLJl7GHcL9aJjs7gqs6Rniz+CE= Received: by 10.204.145.25 with SMTP id b25mr2834645bkv.50.1315318909808; Tue, 06 Sep 2011 07:21:49 -0700 (PDT) Received: from vux.3501.lan ([46.247.128.50]) by mx.google.com with ESMTPS id j1sm610191bks.3.2011.09.06.07.21.47 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 06 Sep 2011 07:21:48 -0700 (PDT) Message-ID: <4E662C7A.3020404@gmail.com> Date: Tue, 06 Sep 2011 17:21:46 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0.1) Gecko/20110905 Thunderbird/6.0.1 MIME-Version: 1.0 To: Olivier Smedts 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> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 14:21:52 -0000 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.