FYI, in compiling gas with binutils-2.20, I get the following error,
which then aborts the build:
gcc -DHAVE_CONFIG_H -I. -I../../gas -I. -I../../gas -I../bfd
-I../../gas/config -I../../gas/../include -I../../gas/..
-I../../gas/../bfd
-DLOCALEDIR="\"//opt/ltrx/ixp42x/host/usr/share/locale\"" -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -MT tc-arm.o -MD
-MP -MF .deps/tc-arm.Tpo -c -o tc-arm.o `test -f 'config/tc-arm.c' ||
echo '../../gas/'`config/tc-arm.c
cc1: warnings being treated as errors
../../gas/config/tc-arm.c: In function 'make_mapping_symbol':
../../gas/config/tc-arm.c:2489: warning: empty body in an if-statement
I've configured with:
mkdir arm-linux
cd arm-linux
../configure \
--target=arm-linux \
--prefix=%{LTRX_HOST_DIR}/usr \
--with-lib-path=%{LTRX_HOST_DIR}/lib
I don't get this error at all in binutils-2.19. (Yes, it still does a
-Werror, however).
I'm not sure what the proper fix for this is. But apparently there's
been significant changes to the tc-arm.c file between the two revs.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils