Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Nov 2013 16:24:37 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        "freebsd-mips@freebsd.org" <mips@freebsd.org>, FreeBSD Tinderbox <tinderbox@freebsd.org>, "current@freebsd.org" <current@freebsd.org>
Subject:   Re: [head tinderbox] failure on mips/mips
Message-ID:  <52263E13-2EAE-4468-987B-2023FDC5FF1C@FreeBSD.org>
In-Reply-To: <CAJ-Vmonwm8zZrwhHF2c2Cx4MFKs%2BRsmAXDAM9B-TS96zD_2tFQ@mail.gmail.com>
References:  <201311081032.rA8AWwAT038235@freebsd-current.sentex.ca> <CAJ-Vmonwm8zZrwhHF2c2Cx4MFKs%2BRsmAXDAM9B-TS96zD_2tFQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_FDBD8745-1F73-49DF-A9B8-EBE886BF1C6C
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 08 Nov 2013, at 16:08, Adrian Chadd <adrian@freebsd.org> wrote:
> On 8 November 2013 02:32, FreeBSD Tinderbox <tinderbox@freebsd.org> =
wrote:
>=20
> [snip]
>=20
>> cc  -c -O -pipe  -std=3Dc99 -g -Wall -Wredundant-decls =
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes =
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign =
-fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option   =
-nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq =
-I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS =
-include opt_global.h -fno-common -finline-limit=3D8000 --param =
inline-unit-growth=3D100 --param large-function-growth=3D1000 --param =
max-inline-insns-single=3D1000  -fno-pic -mno-abicalls -G0 =
-DKERNLOADADDR=3D0x80050000 -march=3Dmips32 -msoft-float -ffreestanding =
-Werror  /src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c =
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal =
-I/src/sys/contrib/dev/ath/ath_hal
>> cc1: warnings being treated as errors
>> /src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c: In function =
'ar9300_chip_reset':
>> /src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c:1337: warning: =
inlining failed in call to 'ar9300_init_pll': --param =
max-inline-insns-single limit reached [-Winline]
>> /src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c:2011: warning: =
called from here [-Winline]
>> *** Error code 1
>=20
> ?!?!?!??!

Apparently gcc cannot inline this function, with the current inlining
limits.  Maybe the inline should be dropped, if the function is that
large.... :-)

-Dimitry


--Apple-Mail=_FDBD8745-1F73-49DF-A9B8-EBE886BF1C6C
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)

iEYEARECAAYFAlJ9AkUACgkQsF6jCi4glqPLCQCgtV+our864v+ogkM0dvbDI4Dp
4ekAn0yPDavdLrGkSoNPHxkQy8CpzU1H
=GPLH
-----END PGP SIGNATURE-----

--Apple-Mail=_FDBD8745-1F73-49DF-A9B8-EBE886BF1C6C--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52263E13-2EAE-4468-987B-2023FDC5FF1C>