From owner-freebsd-questions@FreeBSD.ORG Fri Nov 3 22:19:49 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8C9716A50C for ; Fri, 3 Nov 2006 22:19:49 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B49B43DA8 for ; Fri, 3 Nov 2006 22:18:51 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by nf-out-0910.google.com with SMTP id i2so1606725nfe for ; Fri, 03 Nov 2006 14:18:51 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=hAfNOB8pwK1D9N0/fsHv2xhHEBoAPQXouw78kFog5lyeNH6t8vJwcsA7qKtF1DE/2vtXJoNqQ+5wd00PGu7kSC6i68VJpLnQKbTtFKteyeICzkqLYiMgkL0Y5iWobtKr4ToWKdEVS+SaMJkCAPK9ZHDKwb1Qy3z5+kSk+a/tq4A= Received: by 10.78.23.16 with SMTP id 16mr206602huw.1162592330981; Fri, 03 Nov 2006 14:18:50 -0800 (PST) Received: by 10.78.167.16 with HTTP; Fri, 3 Nov 2006 14:18:50 -0800 (PST) Message-ID: Date: Sat, 4 Nov 2006 01:18:50 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: Eric In-Reply-To: <454BAD30.1070301@mikestammer.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <454BA917.1040201@mikestammer.com> <454BAA8F.5050507@mikestammer.com> <454BAD30.1070301@mikestammer.com> X-Google-Sender-Auth: 24237b2c2e2302af Cc: FreeBSD Questions Subject: Re: Athlon64 3200+ make.conf settings X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2006 22:19:49 -0000 On 11/3/06, Eric wrote: > Andrew Pantyukhin wrote: > > > > Yes, very nice :-) > > > > Beware that in some rare cases you might experience > > software failures because of CPUTYPE being set. > > It's not very clear whether it's worth having a > > marginal boost in performance along with some > > instability. I usually gamble on performance, but > > YMMV. > > ok cool. > > One more question and I will leave you alone. when i do a test compile i > am seeing this: > > Build iozone for FreeBSD > > cc -c -O2 -fno-strict-aliasing -pipe -march=athlon-mp -Dunix -Dbsd4_2 > -DHAVE_ANSIC_C -DNAME='"freebsd"' -DSHARED_MEM iozone.c -o iozone_freebsd.o > iozone.c: In function `initfile': > iozone.c:16548: warning: passing arg 2 of `mmap' makes integer from > pointer without a cast > cc -c -O2 -fno-strict-aliasing -pipe -march=athlon-mp -Dunix -Dbsd4_2 > -DHAVE_ANSIC_C -DSHARED_MEM libbif.c -o libbif.o > > Building fileop for FreeBSD > > cc -c -O -O2 -fno-strict-aliasing -pipe -march=athlon-mp fileop.c -o > fileop_freebsd.o > > > is march correct? did the compiler determine athlon-mp due to what i > added or should that say athlon64? It happens, some cputypes are just aliases, though I thought athlon-mp and athlon64 are in different groups. More info on type groups here: http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html