gnu/stubs.h misgenerated using 3.4ish gcc

Daniel Jacobowitz drow@false.org
Wed May 12 22:32:00 GMT 2004


On Wed, May 12, 2004 at 07:23:52PM -0300, Alexandre Oliva wrote:
> Recent versions of GCC don't necessarily output Makefile dependencies
> in the order the glibc stubs generating script expects.  For example,
> for setlogin, I had:
> 
> $(common-objpfx)posix/setlogin.os:  \
>  ./../include/libc-symbols.h \
> [...] \
>   [...] ../sysdeps/generic/setlogin.c \
> [...]
>   [...] ../include/stub-tag.h
> 
> This causes the stubs extractor to look for __stub_warning in
> libc-symbols.h.  Oops.
> 
> This patch fixes the problem.  Ok to install?

Are you sure that isn't a GCC bug also?  If my make-fu is up to par, it
will break pattern rules.  Not the best way to write them, necessarily,
but:

a.o: a.h b.h a.c

%.o:
        echo $<

produces a.h.

-- 
Daniel Jacobowitz



More information about the Libc-alpha mailing list