This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: gnu/stubs.h misgenerated using 3.4ish gcc
- From: Daniel Jacobowitz <drow at false dot org>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Wed, 12 May 2004 18:32:13 -0400
- Subject: Re: gnu/stubs.h misgenerated using 3.4ish gcc
- References: <orlljx2sjr.fsf@free.redhat.lsd.ic.unicamp.br>
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