[oe] gdb-cross-sdk hacking around gcc-4.3 warnings?

Tom Rini trini at kernel.crashing.org
Thu Dec 4 19:28:00 UTC 2008


On Thu, Dec 04, 2008 at 06:06:03PM +0100, Koen Kooi wrote:
> On 04-12-08 09:02, Tom Rini wrote:
>> Hello, I see that in
>> http://gitweb.openembedded.net/?p=openembedded.git;a=commit;h=6348b3baf7a61fc07626a3ecb29b539d438cfb4f
>> we dropped -Werror from gdb-cross-sdk.  Was this for gcc-4.3 support?
>> If so, could we replace that by importing
>> http://patches.ubuntu.com/g/gdb/extracted/gcc-4.3-build-error.patch
>> instead?  I'll do the work, just don't want to step on anyones toes if
>> there was a different reason behind the change, thanks!
>
> I'm not fond of enabling -Werror in crossbuilders, since simple,  
> harmless warnings will break your build.
> If you are *completely* sure your patch removes *all* -Werror related  
> problems, then go ahead.

Checked with an ARM and x86 build now, so yes, I'm pretty confident.
Tangentally, what're a powerpc / avr32 target that should build (I'll fix
db1200 / MIPS if that's broken, again) ?

-- 
Tom Rini




More information about the Openembedded-devel mailing list