Skip to contentSkip to conversation

gdb-cross-sdk hacking around gcc-4.3 warnings?

DISCUSSION Tom Rini 3 participants 9 messages Dec 4, 2008

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

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!

Signature · 1 line
Tom Rini
#1 lore raw

IIRC yes. if thats the only patch needed then please go ahead and reenable it.

Quoted 16 lines · Tom Rini

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!

--
Tom Rini

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#2 lore raw
In reply to Tom Rini
Quoted 7 lines · Tom Rini

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.

regards,

Koen

#7 lore raw
In reply to Tom Rini
Quoted 7 lines · Tom Rini

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!

Also: ~lart me for not stating *why* the commit was made.

Maybe we should follow the cairo commit message policy that requires people to add a short 'why' section in each commit message to reduce confusion.

regards,

Koen

author
#8 lore raw

On Thu, Dec 04, 2008 at 06:32:33PM +0100, Koen Kooi wrote:
[snip]

Quoted 3 lines

Maybe we should follow the cairo commit message policy that requires people to add a short 'why' section in each commit message to reduce confusion.

This sounds good. Is it possible to modify the template git gives you when you're doing a commit?

Signature · 1 line
Tom Rini
author
#3 lore raw
In reply to Koen Kooi
Quoted 9 lines · Koen Kooi
Quoted 7 lines · Tom Rini

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!

Quoted 4 lines

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) ?

Signature · 1 line
Tom Rini
#4 lore raw
Quoted 2 lines

Tangentally, what're a powerpc / avr32 target that should build (I'll fix db1200 / MIPS if that's broken, again) ?

mpc8313e-rdb is what I have used in past.

-Khem

#5 lore raw
In reply to Tom Rini
Quoted 9 lines · Tom Rini
Quoted 8 lines · Koen Kooi
Quoted 7 lines · Tom Rini

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!

Quoted 8 lines
Quoted 4 lines

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) ?

Which arm? IIRC it broke on an armv7 build.

regards,

Koen

author
#6 lore raw
Quoted 15 lines · Koen Kooi
Quoted 14 lines · Tom Rini
Quoted 12 lines · Koen Kooi
Quoted 7 lines · Tom Rini

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.

Quoted 5 lines
Quoted 3 lines

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) ?

Which arm? IIRC it broke on an armv7 build.

I saw it break, then fixed it, on v6

Signature · 1 line
Tom Rini