Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Nov 2013 08:05:22 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Dimitry Andric <dim@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:  <CAJ-Vmond-OVkMtb%2BHJ5O8zMuSV61KXkMtRwGjrt-oM03QiFw0A@mail.gmail.com>
In-Reply-To: <52263E13-2EAE-4468-987B-2023FDC5FF1C@FreeBSD.org>
References:  <201311081032.rA8AWwAT038235@freebsd-current.sentex.ca> <CAJ-Vmonwm8zZrwhHF2c2Cx4MFKs%2BRsmAXDAM9B-TS96zD_2tFQ@mail.gmail.com> <52263E13-2EAE-4468-987B-2023FDC5FF1C@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Can someone please take care of this? I'm a little busy for the next
couple days.

Feel free to commit to the contrib code.

Thanks!



-adrian


On 8 November 2013 07:24, Dimitry Andric <dim@freebsd.org> wrote:
> On 08 Nov 2013, at 16:08, Adrian Chadd <adrian@freebsd.org> wrote:
>> On 8 November 2013 02:32, FreeBSD Tinderbox <tinderbox@freebsd.org> wrot=
e:
>>
>> [snip]
>>
>>> 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/a=
ltq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -inclu=
de opt_global.h -fno-common -finline-limit=3D8000 --param inline-unit-growt=
h=3D100 --param large-function-growth=3D1000 --param max-inline-insns-singl=
e=3D1000  -fno-pic -mno-abicalls -G0 -DKERNLOADADDR=3D0x80050000 -march=3Dm=
ips32 -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 'ar=
9300_chip_reset':
>>> /src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c:1337: warning: i=
nlining failed in call to 'ar9300_init_pll': --param max-inline-insns-singl=
e limit reached [-Winline]
>>> /src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c:2011: warning: c=
alled 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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmond-OVkMtb%2BHJ5O8zMuSV61KXkMtRwGjrt-oM03QiFw0A>