public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Kernel 3.10-rc1 build warning on 32-bit ppc associated with commit 3925f46
@ 2013-05-14 15:29 Larry Finger
  2013-05-14 23:33 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 3+ messages in thread
From: Larry Finger @ 2013-05-14 15:29 UTC (permalink / raw)
  To: Anshuman Khandual, Benjamin Herrenschmidt; +Cc: LKML

Hi,

When building 3.10-rc1 on a PowerBook G4, I get the following warning:

cc1: warnings being treated as errors
arch/powerpc/perf/core-book3s.c: In function ‘power_pmu_bhrb_read’:
arch/powerpc/perf/core-book3s.c:1479: error: integer constant is too large for 
‘long’ type
make[2]: *** [arch/powerpc/perf/core-book3s.o] Error 1
make[1]: *** [arch/powerpc/perf] Error 2
make[1]: *** Waiting for unfinished jobs....
   LD      arch/powerpc/platforms/powermac/built-in.o
   LD      arch/powerpc/platforms/built-in.o
make[1]: Leaving directory `/home/finger/wireless-testing'
make: *** [debian/stamp/build/kernel] Error 2

The code in question came from commit 3925f46 entitled "powerpc/perf: Enable 
branch stack sampling framework". The gcc version is 4.4.5 running with a Mint 9 
distribution.

I have disabled the "-Werror" switch so that the build can continue. That 
Kconfig question about disabling WERROR is a bit confusing with its double 
negative construction.

Thanks,

Larry

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Kernel 3.10-rc1 build warning on 32-bit ppc associated with commit 3925f46
  2013-05-14 15:29 Kernel 3.10-rc1 build warning on 32-bit ppc associated with commit 3925f46 Larry Finger
@ 2013-05-14 23:33 ` Benjamin Herrenschmidt
  2013-05-15  3:07   ` Larry Finger
  0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Herrenschmidt @ 2013-05-14 23:33 UTC (permalink / raw)
  To: Larry Finger; +Cc: Anshuman Khandual, LKML

On Tue, 2013-05-14 at 10:29 -0500, Larry Finger wrote:
> Hi,
> 
> When building 3.10-rc1 on a PowerBook G4, I get the following warning:

Thanks. Should be fixed now, let me know if it's not.

Cheers,
Ben.

> cc1: warnings being treated as errors
> arch/powerpc/perf/core-book3s.c: In function ‘power_pmu_bhrb_read’:
> arch/powerpc/perf/core-book3s.c:1479: error: integer constant is too large for 
> ‘long’ type
> make[2]: *** [arch/powerpc/perf/core-book3s.o] Error 1
> make[1]: *** [arch/powerpc/perf] Error 2
> make[1]: *** Waiting for unfinished jobs....
>    LD      arch/powerpc/platforms/powermac/built-in.o
>    LD      arch/powerpc/platforms/built-in.o
> make[1]: Leaving directory `/home/finger/wireless-testing'
> make: *** [debian/stamp/build/kernel] Error 2
> 
> The code in question came from commit 3925f46 entitled "powerpc/perf: Enable 
> branch stack sampling framework". The gcc version is 4.4.5 running with a Mint 9 
> distribution.
> 
> I have disabled the "-Werror" switch so that the build can continue. That 
> Kconfig question about disabling WERROR is a bit confusing with its double 
> negative construction.
> 
> Thanks,
> 
> Larry
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Kernel 3.10-rc1 build warning on 32-bit ppc associated with commit 3925f46
  2013-05-14 23:33 ` Benjamin Herrenschmidt
@ 2013-05-15  3:07   ` Larry Finger
  0 siblings, 0 replies; 3+ messages in thread
From: Larry Finger @ 2013-05-15  3:07 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: Anshuman Khandual, LKML

On 05/14/2013 06:33 PM, Benjamin Herrenschmidt wrote:
> On Tue, 2013-05-14 at 10:29 -0500, Larry Finger wrote:
>> Hi,
>>
>> When building 3.10-rc1 on a PowerBook G4, I get the following warning:
>
> Thanks. Should be fixed now, let me know if it's not.

It is now fixed. Thanks for a quick response.

Larry



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-05-15  3:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-14 15:29 Kernel 3.10-rc1 build warning on 32-bit ppc associated with commit 3925f46 Larry Finger
2013-05-14 23:33 ` Benjamin Herrenschmidt
2013-05-15  3:07   ` Larry Finger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox