From owner-freebsd-arm@freebsd.org Sun Feb 7 01:57:27 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA1FFA9F34E for ; Sun, 7 Feb 2016 01:57:27 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC9FA15FF for ; Sun, 7 Feb 2016 01:57:27 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=6DR2x44n0eXl8IOzeQ8H9e0PmCOW6JAY/wAjW8KOLGw=; b=sbuYR3XxaKHN4xTvOPKHcTK2Gg ncel9sX9K4UAksH9lWLzIjhMQsABbU5TYYvuP+i7SxPNKGlboHLtIDG4BmBe0JN9LbkDw/UPL2n8Z rlNNriAvvfeyLJsD1+oGnJdtYMWt7+JUVt171czS9/fRoGMCQhMJpBHg4wGF630Lk7Pw=; Received: from [114.121.133.53] (port=29752 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86) (envelope-from ) id 1aSEbO-002iIw-Ak; Sat, 06 Feb 2016 18:57:26 -0700 Date: Sun, 7 Feb 2016 09:57:21 +0800 From: Erich Dollansky To: Warner Losh Cc: "freebsd-arm@freebsd.org" Subject: Re: clang++: error: the clang compiler does not support '-march=native' Message-ID: <20160207095721.57fc3502@X220.alogt.com> In-Reply-To: References: <20160207050149.39f7e280@X220.alogt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Authenticated-Sender: sl-508-2.slc.westdc.net: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2016 01:57:27 -0000 Hi, On Sat, 6 Feb 2016 15:49:14 -0700 Warner Losh wrote: > On Sat, Feb 6, 2016 at 2:01 PM, Erich Dollansky > > wrote: > > > Hi, > > > > compiling on a Raspberry Pi B 2 on FreeBSD 11 gives me above's error > > message. > > > > A Internet search shows that this message does not exist. > > > > The program compiles using the same make file on FreeBSD 10 both on > > x86 and an Raspberry Pi B using the default compilers. > > > > Did support for 'march' get removed? > > > > As far as I can tell, it has never worked for either gcc or clang. > this is what I would have liked to find out. Intel claims speed gains of some 40% on their CPUs depending on the work load using gcc. Getting a few per cent on a Raspberry for free would make a real difference. Erich