cc1: warnings being treated as errors or1k-jtag.c: In function ‘jp1_ll_read_jp1’: or1k-jtag.c:372: error: ‘data’ may be used uninitialized in this function make2: or1k-jtag.o ?? 1 make2:?????? `/home/liunx/Work/OpenRisc1K/or32-build/gdb-6.8/gdb' make1: all-gdb ?? 2 make1:?????? `/home/liunx/Work/OpenRisc1K/or32-build/gdb-6.8' make: *** all ?? 2
I use the build script on ubuntu9.10,above is the output...
Now fixed with --disable-werror during configure in toolchain script.
Ok, unfortunately it doesn't look like I'm able to re-open this bug. I'll see if we can manually do it somehow. Sorry for that, I should have asked first if you wanted this one closed too.
I was thinking of patching it, but if you fix the one in the or1k dependent code there's others in the distribution gdb code, so the --disable-werror was the most convenient way.
But will see what we can do in regard to re-opening the bug.
Julius