This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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: gnu/stubs.h misgenerated using 3.4ish gcc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]