From owner-freebsd-bugs@FreeBSD.ORG Wed Nov 24 00:20:20 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 025771065673; Wed, 24 Nov 2010 00:20:20 +0000 (UTC) (envelope-from arundel@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E6DFB8FC12; Wed, 24 Nov 2010 00:20:19 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oAO0KJoS006748; Wed, 24 Nov 2010 00:20:19 GMT (envelope-from arundel@freefall.freebsd.org) Received: (from arundel@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oAO0KJsf006664; Wed, 24 Nov 2010 00:20:19 GMT (envelope-from arundel) Date: Wed, 24 Nov 2010 00:20:19 GMT Message-Id: <201011240020.oAO0KJsf006664@freefall.freebsd.org> To: hsu@bbnetworks.net, arundel@FreeBSD.org, freebsd-bugs@FreeBSD.org From: arundel@FreeBSD.org Cc: Subject: Re: misc/118121: [build] RELENG_7 kernel compile fails with -Os X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2010 00:20:20 -0000 Synopsis: [build] RELENG_7 kernel compile fails with -Os State-Changed-From-To: open->closed State-Changed-By: arundel State-Changed-When: Wed Nov 24 00:14:35 UTC 2010 State-Changed-Why: I tried to reproduce this under HEAD (r215432; amd64) and TARGET buildkernel still fails! HOWEVER: since share/examples/etc/make.conf states the following: # CFLAGS controls the compiler settings used when compiling C code. # Note that optimization settings other than -O and -O2 are not recommended # or supported for compiling the world or the kernel - please revert any # nonstandard optimization settings to "-O" or "-O2 -fno-strict-aliasing" # before submitting bug reports without patches to the developers. i'm closing this PR. quite obviosly that statement applies even more so to COPTFLAGS. two more reasons for closing this PR are: 1) nobody will care to fix code that gets broken by -Os 2) gcc will eventually be removed from the src in favour if clang http://www.freebsd.org/cgi/query-pr.cgi?pr=118121