Build werror in tc-arm.c with your commit
Jiong Wang
jiong.wang@arm.com
Mon Jul 14 14:05:00 GMT 2014
On 14/07/14 15:00, Hans-Peter Nilsson wrote:
> After a commit in (this] revision range,
> bffebb6..8335d6aa master -> origin/master
>
> coinciding with a matching commit of yours according to the
> changelog, I get a "-Werror"-induced compilation error in
> tc-arm.c for arm-unknown-eabi on an x86_64-linux host (but -m32)
> using "gcc version 4.7.2 (Debian 4.7.2-5)":
>
> gcc -O2 -m32 -DHAVE_CONFIG_H -I. -I/tmp/hpautotest-binutils/bsrc/src/gas -I. -I/tmp/hpautotest-binutils/bsrc/src/gas -I../bfd -I/tmp/hpautotest-binutils/bsrc/src/gas/config -I/tmp/hpautotest-binutils/bsrc/src/gas/../include -I/tmp/hpautotest-binutils/bsrc/src/gas/.. -I/tmp/hpautotest-binutils/bsrc/src/gas/../bfd -DLOCALEDIR="\"/usr/local/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -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 '/tmp/hpautotest-binutils/bsrc/src/gas/'`config/tc-arm.c
> /tmp/hpautotest-binutils/bsrc/src/gas/config/tc-arm.c: In function 'add_to_lit_pool':
> /tmp/hpautotest-binutils/bsrc/src/gas/config/tc-arm.c:3240:48: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
> /tmp/hpautotest-binutils/bsrc/src/gas/config/tc-arm.c:3244:52: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
Hi Hans,
yes, Will noticed this also.
and the fix is waiting for approval
https://sourceware.org/ml/binutils/2014-07/msg00128.html
>
> brgds, H-P
>
>
>
More information about the Binutils
mailing list