From owner-freebsd-current@FreeBSD.ORG Thu Jun 10 22:41:15 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B756016A4D2 for ; Thu, 10 Jun 2004 22:41:15 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 926F643D58 for ; Thu, 10 Jun 2004 22:41:15 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.10/8.12.10) with ESMTP id i5AMeZRH010552; Thu, 10 Jun 2004 15:40:35 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.10/8.12.3/Submit) id i5AMeZbU010551; Thu, 10 Jun 2004 15:40:35 -0700 Date: Thu, 10 Jun 2004 15:40:35 -0700 From: Brooks Davis To: Andy Farkas Message-ID: <20040610224035.GA6638@Odin.AC.HMC.Edu> References: <20040611080128.I11503@hewey.af.speednet.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline In-Reply-To: <20040611080128.I11503@hewey.af.speednet.com.au> User-Agent: Mutt/1.5.4i cc: freebsd-current@freebsd.org Subject: Re: kernel compile warnings X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 22:41:15 -0000 --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 11, 2004 at 08:14:21AM +1000, Andy Farkas wrote: >=20 > I noticed a few "strange looking warnings" fly by during a buildkernel so > I checked the script-file: >=20 > # grep "warning:" mkbk.out-20040610 | grep -v dereferencing | wc -l > 50 >=20 > Some examples of the three largest offenders: >=20 > src/sys/dev/drm/mga_state.c:250: warning: inlining failed in call to `mga= _g200_emit_pipe' > src/sys/dev/drm/r128_state.c:102: warning: inlining failed in call to`r12= 8_emit_context' These are pretty harmless. Functions over a certain size are not inlined even if the programmer says to. gcc is just telling the programmer they were ignored. > src/sys/dev/ie/if_ie.c:763: warning: passing arg 1 of `bcopy' discards qu= alifiers from pointer target type This driver one of the problem children of the tree. The cards it supports have generally been out of production for quite some time and there aren't a whole lot of users left (certaintly not a lot of users who are going to want to run 5.x on their hardware :). > Are the Gods aware of these and should they be fixed? In theory they should be fixed, but I doubt it will happen any time soon. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAyONiXY6L6fI4GtQRAuBqAJ41Yn0KTjwGGMMm1JCEmbUhTNUQIwCgxRa1 jC9CRqytTCOUlaS4jYHJknU= =nbAu -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1--