This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: glibc-2.0.99 build problems
- To: Ulrich Drepper <drepper@cygnus.com>
- Subject: Re: glibc-2.0.99 build problems
- From: Matt McLean <keys@yikes.com>
- Date: Sun, 25 Oct 1998 14:32:23 -0800 (PST)
- cc: Jack Howarth <howarth@bromo.med.uc.edu>, libc-alpha@cygnus.com
On 24 Oct 1998, Ulrich Drepper wrote:
> Matt McLean <keys@yikes.com> writes:
>
> > Try this patch, I think the part that fixes this is where the extra
> > pread/write get removed in the syscalls list. The other pread/write entry
> > has already been fixed for this.
>
> The patch seems not to be 100% ok.
>
> > * sysdeps/unix/sysv/linux/powerpc/setgid.c: New file.
> > * sysdeps/unix/sysv/linux/powerpc/setresgid.c: New file.
> > * sysdeps/unix/sysv/linux/powerpc/setresuid.c: New file.
> > * sysdeps/unix/sysv/linux/powerpc/setuid.c: New file.
> > * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_setgid,
> > s_setresgid, s_setresuid, and s_setuid.
>
> Why do you do this? For PPCs the size of the uid_t and gid_t tpy ein
> the kernel and userland is the same. Therefore you shouldn't need the
> wrappers.
>
> If this
>
> > -s_pread64 pread64 pread 4 __syscall_pread64
> > -s_pwrite64 pwrite64 pwrite 4 __syscall_pwrite64
>
> fixes the problem it's fine.
>
> Could someone give me a final analysis?
Whoops, my mistake...
10-25-98 Matt McLean <keys@yikes.com>
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Remove extraneous
pread64 and pwrite 64.
Index: sysdeps/unix/sysv/linux/powerpc/syscalls.list
===================================================================
RCS file: /glibc/cvsfiles/libc/sysdeps/unix/sysv/linux/powerpc/syscalls.list,v
retrieving revision 1.8
diff -u -r1.8 syscalls.list
--- libc/sysdeps/unix/sysv/linux/powerpc/syscalls.list 1998/10/22 14:38:02 1.8
+++ libc/sysdeps/unix/sysv/linux/powerpc/syscalls.list 1998/10/25 21:03:20
@@ -1,10 +1,8 @@
# File name Caller Syscall name # args Strong name Weak names
+s_chown chown chown 3 __syscall_chown
s_ioctl ioctl ioctl 3 __syscall_ioctl
s_llseek llseek _llseek 5 __sys_llseek
-s_chown chown chown 3 __syscall_chown
-s_pread64 pread64 pread 4 __syscall_pread64
-s_pwrite64 pwrite64 pwrite 4 __syscall_pwrite64
# System calls with wrappers.
rt_sigaction - rt_sigaction 4 __syscall_rt_sigaction