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]

tilepro-linux: Broken in TC_CONS_FIX_NEW


Hi!

The recent change (gas TC_PARSE_CONS_EXPRESSION communication with
TC_CONS_FIX_NEW) left tilepro-linux non-compiling (cf.
http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=198396):

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/tilepro-linux/_install_/share/locale\""  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT read.o -MD -MP -MF .deps/read.Tpo -c -o read.o /home/vaxbuild/repos/binutils_gdb/gas/read.c
/home/vaxbuild/repos/binutils_gdb/gas/read.c: In function âemit_expr_fixâ:
/home/vaxbuild/repos/binutils_gdb/gas/read.c:4425:69: error: macro "TC_CONS_FIX_NEW" passed 5 arguments, but takes just 4
   TC_CONS_FIX_NEW (frag, p - frag->fr_literal + offset, size, exp, r);
                                                                     ^
/home/vaxbuild/repos/binutils_gdb/gas/read.c:4425:3: error: âTC_CONS_FIX_NEWâ undeclared (first use in this function)
   TC_CONS_FIX_NEW (frag, p - frag->fr_literal + offset, size, exp, r);
   ^
/home/vaxbuild/repos/binutils_gdb/gas/read.c:4425:3: note: each undeclared identifier is reported only once for each function it appears in
/home/vaxbuild/repos/binutils_gdb/gas/read.c:4417:7: error: unused variable âoffsetâ [-Werror=unused-variable]
   int offset = 0;
       ^
/home/vaxbuild/repos/binutils_gdb/gas/read.c:4414:29: error: unused parameter âexpâ [-Werror=unused-parameter]
 emit_expr_fix (expressionS *exp, unsigned int nbytes, fragS *frag, char *p,
                             ^
/home/vaxbuild/repos/binutils_gdb/gas/read.c:4414:62: error: unused parameter âfragâ [-Werror=unused-parameter]
 emit_expr_fix (expressionS *exp, unsigned int nbytes, fragS *frag, char *p,
                                                              ^
cc1: all warnings being treated as errors
make[3]: *** [read.o] Error 1


Probably quite easy to fix, maybe I'll find some time tonight to look
at it.

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw@lug-owl.de              +49-172-7608481
Signature of:  The course of history shows that as a government grows, liberty
the second  : decreases."  (Thomas Jefferson)

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]