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

[-- Attachment #1 --]
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:
> 
> [snip]
> 
>> cc  -c -O -pipe  -std=c99 -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=8000 --param inline-unit-growth=100 --param large-function-growth=1000 --param max-inline-insns-single=1000  -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x80050000 -march=mips32 -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
> 
> ?!?!?!??!

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

-Dimitry


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)

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

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