This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Re: Build broken (was: [PATCH 02/11] Generate pass-instances.def)


On Wed, 2013-07-31 10:34:10 +0200, Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote:
> On Tue, 2013-07-30 20:50:27 -0400, David Malcolm <dmalcolm@redhat.com> wrote:
> [...]
> > Committed to trunk as r201359, having double-checked that it
> > bootstrapped by itself on top of what had gone before, and that the
> > testsuite results were unaffected by it (on x86_64-unknown-linux-gnu).
> 
> [...]
> mawk -f ../../../../gcc/gcc/gen-pass-instances.awk \
>           ../../../../gcc/gcc/passes.def > pass-instances.def
> g++ -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I. -I. -I../../../../gcc/gcc -I../../../../gcc/gcc/. -I../../../../gcc/gcc/../include -I../../../../gcc/gcc/../libcpp/include  -I../../../../gcc/gcc/../libdecnumber -I../../../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I../../../../gcc/gcc/../libbacktrace    ../../../../gcc/gcc/passes.c -o passes.o
> ./pass-instances.def: In constructor âgcc::pass_manager::pass_manager(gcc::context*)â:
> ./pass-instances.def:36:14: error: âpass_warn_unused_resulâ was not declared in this scope
>    NEXT_PASS (pass_warn_unused_resul, 1);
>               ^
[...]
> It seems this does only happen on one of the three running build
> clients. That one is using `mawk' instead of `gawk', what the two
> other builders (which are not affected) use.

Jup, that's it. With `mawk', it seems it's always missing the last
byte of the pass name. This is (one small fragment of) the diff
between gawk and mawk output:

-         NEXT_PASS (pass_forwprop, 1);
+         NEXT_PASS (pass_forwpro, 1);

All other content is wrong in the same way. Maybe they're counting the
line terminating '\n' differently?

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw@lug-owl.de              +49-172-7608481
  Signature of:                        Lauf nicht vor Deinem GlÃck davon:
  the second  :                             Es kÃnnte hinter Dir stehen!

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]