From owner-freebsd-testing@FreeBSD.ORG Sun Mar 29 21:45:33 2015 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5158CED4; Sun, 29 Mar 2015 21:45:33 +0000 (UTC) Received: from st11p02mm-asmtp002.mac.com (st11p02mm-asmtpout002.mac.com [17.172.220.237]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 222A8E29; Sun, 29 Mar 2015 21:45:32 +0000 (UTC) Received: from fukuyama.hsd1.ca.comcast.net (c-73-162-13-215.hsd1.ca.comcast.net [73.162.13.215]) by st11p02mm-asmtp002.mac.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Dec 4 2014)) with ESMTPSA id <0NLZ00887TQY2050@st11p02mm-asmtp002.mac.com>; Sun, 29 Mar 2015 21:45:01 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-03-29_03:2015-03-28,2015-03-29,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1503290229 Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: Fails to build sys/i386/boot2 with gcc 4.9 From: Rui Paulo In-reply-to: Date: Sun, 29 Mar 2015 14:44:58 -0700 Content-transfer-encoding: quoted-printable Message-id: References: <20683705-0EBA-4B8F-A0CE-9C06B8003BBE@FreeBSD.org> <20150329082734.GA13058@vlakno.cz> To: Craig Rodrigues X-Mailer: Apple Mail (2.2070.6) Cc: "freebsd-testing@freebsd.org" , FreeBSD Toolchain , Dimitry Andric , Warner Losh X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Mar 2015 21:45:33 -0000 On Mar 29, 2015, at 13:29, Craig Rodrigues wrote: >=20 > Just out of curiousity, what is it about newer compilers that cause > the size of boot2 to increase so much? Code generation is different, especially with regards to optimisations. = Longer code might be faster because the compiler decided to inline a few = functions. Unfortunately, I never saw any difference between -Os and = -O2 in all of my tests (boot2 and other code). -- Rui Paulo