This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: Adding SH support to glibc-2.1.3


Hi Andreas,

Thank you for your valuable comments on our libc patch for SH.
I'd like to fix our patch according to your suggestions ASAP.

I want to clarify one point:

>> diff -u -r -N glibc-2.1.3-original/sysdeps/unix/sysv/linux/sh/getgroups.c glibc-2.1.3/sysdeps/unix/sysv/linux/sh/getgroups.c
>> --- glibc-2.1.3-original/sysdeps/unix/sysv/linux/sh/getgroups.c	Thu Jan  1 09:00:00 1970
>> +++ glibc-2.1.3/sysdeps/unix/sysv/linux/sh/getgroups.c	Sun Mar 12 04:09:09 2000
>> @@ -0,0 +1,2 @@
>> +/* We also have to rewrite the kernel gid_t to the user land type.  */
>> +#include <sysdeps/unix/sysv/linux/i386/getgroups.c>
>
>Is this really needed?  What kernel version are you supporting?  If
>you start with glibc 2.2 and Linux 2.4 this might not be necessary.

Of course our official target is Linux kernel 2.3 (and now 2.4) but we
have some 2.2-based implementations too. I'd like to support them also.

> Looking forward to the integration of your patch into 2.2!

Now we can make glibc-2.2 successfully in SH box though many things
should be corrected.
Thanks again for your advice.

Regards,

	kaz

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