From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 9 20:10:40 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06F52106564A for ; Fri, 9 Dec 2011 20:10:40 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 3B4448FC17 for ; Fri, 9 Dec 2011 20:10:39 +0000 (UTC) Received: by wgbdr11 with SMTP id dr11so6264073wgb.31 for ; Fri, 09 Dec 2011 12:10:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=y6CX8bcTBCpIgKVJxD+ki/vvouel9QPYmfeOpj48JJU=; b=B5MvGR9dz9uABcKwUJjDyiSH+3NL2rGvyq1ScsSNb/dODqSiyTV+bgU6+Mf6g+Krmh mcJF4SkIGpAfQgdjhzS1JPEGV8fVbCVbYMK8EzFNUDvKIBIoH2lCZj4cpUsdx/Tysy3t 9Nn76GYlgljWFKo2gNK8GstaiWRlTMGYJ8/Fk= MIME-Version: 1.0 Received: by 10.227.208.13 with SMTP id ga13mr9024968wbb.4.1323461438339; Fri, 09 Dec 2011 12:10:38 -0800 (PST) Received: by 10.180.101.102 with HTTP; Fri, 9 Dec 2011 12:10:38 -0800 (PST) In-Reply-To: <20111209181550.GA3555@reks> References: <20111119100150.GA1560@reks> <20111208090159.GA1924@cq1> <4EE0EB8C.7050800@freebsd.org> <6D023449-EDEA-4B1C-975D-54AA2F4328CE@semihalf.com> <20111209181550.GA3555@reks> Date: Fri, 9 Dec 2011 15:10:38 -0500 Message-ID: From: Ryan Stone To: Gleb Kurtsou Content-Type: text/plain; charset=ISO-8859-1 Cc: mdf@freebsd.org, freebsd-hackers@freebsd.org, Piotr Nowak , Rafal Jaworowski , Nathan Whitehorn , Arnaud Lacombe Subject: Re: gcc 4.2 miscompilation with -O2 -fno-omit-frame-pointer on amd64 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2011 20:10:40 -0000 On Fri, Dec 9, 2011 at 1:15 PM, Gleb Kurtsou wrote: > -fno-omit-frame-pointer is there for kernel debugger to be able to > generate backtraces. It's also needed by the DTrace stack() action, hwpmc callchain capture and stack(9). Disabling it as anything other than a very short-term bandaid is a non-starter.