bring mips*-linux back to a buildable state

Alexandre Oliva aoliva@redhat.com
Tue Jul 20 09:23:00 GMT 2004


On Jul 19, 2004, Andreas Jaeger <aj@suse.de> wrote:

> Alexandre Oliva <aoliva@redhat.com> writes:
>> These patches gets all 3 ABIs of mips64-linux to build and work again.

> Can you send them separtly, so that it's easier to comment on them?

As soon as syou get syscall-*.h to include sgidefs.h, you get a
problem at install time if sgidefs.h happens to have been installed
before: syscall-*.h is (re)built at install time, and, because of the
include flags we had, it would end up with a dependency on sgidefs.h
in the install tree.  After installing the generated syscall-*.h file,
we'd install a new copy of sgidefs.h, which would get a newer
timestamp than the generated syscall-*.h, so we'd create it again,
install it again, install sgidefs.h again.  Wash, rinse and repeat
indefinitely.

The fix is to make sure syscall-*.h does not get sgidefs.h from the
install tree.

While at that, I noticed other syscall-*.h rules had been updated so
as to sort the syscall names in the generated header file, so I did
the same in the mips rules.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mips64-syscall-sgidefs.patch
Type: text/x-patch
Size: 1987 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20040720/fefb5443/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