[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

binutils-2.20 gas arm-linux compilation bug

From: Danny Sung
Subject: binutils-2.20 gas arm-linux compilation bug
Date: Fri, 16 Oct 2009 10:38:59 -0700
User-agent: Thunderbird (X11/20071019)

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 \

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]