[head tinderbox] failure on mips/mips

Dimitry Andric dim at FreeBSD.org
Fri Nov 8 15:25:07 UTC 2013


On 08 Nov 2013, at 16:08, Adrian Chadd <adrian at freebsd.org> wrote:
> On 8 November 2013 02:32, FreeBSD Tinderbox <tinderbox at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20131108/a1c8b4fc/attachment.sig>


More information about the freebsd-current mailing list