From owner-freebsd-amd64@FreeBSD.ORG Sat Mar 5 06:51:04 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0C4916A4CF for ; Sat, 5 Mar 2005 06:51:04 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 545D743D55 for ; Sat, 5 Mar 2005 06:51:04 +0000 (GMT) (envelope-from astrodog@gmail.com) Received: by wproxy.gmail.com with SMTP id 70so1027038wra for ; Fri, 04 Mar 2005 22:51:03 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=sIRMWEQObwlCCXn+RjMR/4j5eBQUL/iwsxzf3DwDG1rAxMsLFfZEPfBdvFkKWAj5Cmbp9qDIanLPUglgGrV5TFUwJlJCMN7BZmjONLucgzF9W4WIQj/vt7ENtGuxcSkYARnncnJdvaNcN6BxOHHoJRg4C8u+OYxBeSMpzwJKNJE= Received: by 10.54.24.48 with SMTP id 48mr2197wrx; Fri, 04 Mar 2005 22:51:03 -0800 (PST) Received: by 10.54.40.69 with HTTP; Fri, 4 Mar 2005 22:51:03 -0800 (PST) Message-ID: <2fd864e05030422514452e184@mail.gmail.com> Date: Sat, 5 Mar 2005 00:51:03 -0600 From: Astrodog To: freebsd-amd64@freebsd.org In-Reply-To: <20050305043006.GN83265@afflictions.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20050305043006.GN83265@afflictions.org> Subject: Re: Is -O2 supported for world? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Astrodog List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2005 06:51:04 -0000 On Fri, 4 Mar 2005 23:30:07 -0500, Damian Gerow wrote: > I'm a little fuzzy on whether -O2 is supported for world or not: I seem to > remember on x86 it is, but the only references I've seen to amd64 were > speaking about ports. > > Is -O2 optimization supported in amd64? It most definitely doesn't work: > > /usr/src/lib/libc/i386/sys/_amd64_get_fsbase.c: In function `_amd64_get_fsbase': > /usr/src/lib/libc/i386/sys/_amd64_get_fsbase.c:40: warning: dereferencing type-punned pointer will break strict-aliasing rules > > without -fno-strict-aliasing. Not that I have any serious desire to run > with -O2, just curious. > > - Damian > _______________________________________________ > freebsd-amd64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" > As I understand it, AMD64 will not compile with -O2.