This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi! With GCC 4.8.1 on my i686 builder targeting ppc-linux, I got: gcc -DHAVE_CONFIG_H -I. -I/home/vaxbuild/repos/binutils_gdb/gas -I. -I/home/vaxbuild/repos/binutils_gdb/gas -I../bfd -I/home/vaxbuild/repos/binutils_gdb/gas/config -I/home/vaxbuild/repos/binutils_gdb/gas/../include -I/home/vaxbuild/repos/binutils_gdb/gas/.. -I/home/vaxbuild/repos/binutils_gdb/gas/../bfd -DLOCALEDIR="\"/home/vaxbuild/build/ppc-linux/_install_/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT tc-ppc.o -MD -MP -MF .deps/tc-ppc.Tpo -c -o tc-ppc.o `test -f 'config/tc-ppc.c' || echo '/home/vaxbuild/repos/binutils_gdb/gas/'`config/tc-ppc.c /home/vaxbuild/repos/binutils_gdb/gas/config/tc-ppc.c: In function âppc_elf_localentryâ: /home/vaxbuild/repos/binutils_gdb/gas/config/tc-ppc.c:2272:28: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] if (exp.X_add_number != PPC64_LOCAL_ENTRY_OFFSET (encoded)) ^ cc1: all warnings being treated as errors make[3]: *** [tc-ppc.o] Error 1 (See http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=24877) This should probably fix it: 2013-11-08 Jan-Benedict Glaw <jbglaw@lug-owl.de * config/tc-ppc.c (ppc_elf_localentry): Add cast. diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index 822f5a2..7c99e43 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -2269,7 +2269,7 @@ ppc_elf_localentry (int ignore ATTRIBUTE_UNUSED) { unsigned char encoded = PPC64_SET_LOCAL_ENTRY_OFFSET (exp.X_add_number); - if (exp.X_add_number != PPC64_LOCAL_ENTRY_OFFSET (encoded)) + if (exp.X_add_number != (offsetT) PPC64_LOCAL_ENTRY_OFFSET (encoded)) as_bad (_(".localentry expression for `%s' " "is not a valid power of 2"), S_GET_NAME (sym)); else MfG, JBG -- Jan-Benedict Glaw jbglaw@lug-owl.de +49-172-7608481 Signature of: Eine Freie Meinung in einem Freien Kopf the second : fÃr einen Freien Staat voll Freier BÃrger.
Attachment:
signature.asc
Description: Digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |