Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 2010 00:20:19 GMT
From:      arundel@FreeBSD.org
To:        hsu@bbnetworks.net, arundel@FreeBSD.org, freebsd-bugs@FreeBSD.org
Subject:   Re: misc/118121: [build] RELENG_7 kernel compile fails with -Os
Message-ID:  <201011240020.oAO0KJsf006664@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011240020.oAO0KJsf006664>