gnu/stubs.h misgenerated using 3.4ish gcc

Alexandre Oliva aoliva@redhat.com
Wed May 12 22:23:00 GMT 2004


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: stubs-rewrite.patch
Type: text/x-patch
Size: 1382 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20040512/0612ceaa/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


More information about the Libc-alpha mailing list