CVS 2.20 ARM build error
Joel Sherrill
joel.sherrill@oarcorp.com
Thu Dec 17 13:28:00 GMT 2009
Hi,
2.20 doesn't build for arm with GCC's head
cc1: warnings being treated as errors
/users/joel/test-gcc/binutils-2.20/gas/config/tc-arm.c: In function
‘make_mapping_symbol’:
/users/joel/test-gcc/binutils-2.20/gas/config/tc-arm.c:2489:77: error:
suggest braces around empty body in an ‘if’ statement
I added braces and gcc was happy.
if (frag->tc_frag_data.last_map != NULL) {
know (S_GET_VALUE (frag->tc_frag_data.last_map) < S_GET_VALUE (symbolP));
}
The same code is at 2496 on the head. So it will need
braces also.
I haven't built all targets yet but it looks like gcc
is getting pickier. It might be worth thinking of
a 2.20.1 to pick up any bug fixes and address build
issues introduced by gcc 4.5. It is not a pressing
need today but something to keep in mind when 4.5
gets closer.
--joel
More information about the Binutils
mailing list