This is the mail archive of the libc-hacker@sources.redhat.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] |
Other format: | [Raw text] |
On Tue, Jul 29, 2003 at 08:59:18PM +0100, Philip Blundell wrote: > I needed this patch to compile on Alpha, otherwise I was seeing > undefined references to __GI___pwrite64. Alpha doesn't declare > __NR_pread64 or __NR_pwrite64, so these lines in syscalls.list were > previously ignored and the generic sysdeps/unix/sysv/linux/pwrite.c was > used instead. Alpha does declare them (e.g. 2.6.0-test2): #define __NR_pread64 349 #define __NR_pwrite64 350 This means you should do something similar to e.g. sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (either exactly what ppc64 does plus your patch below, or replace pread64/pwrite64 with pread/pwrite and vice versa and you don't need syscalls.list change). > 2003-07-29 Philip Blundell <philb@gnu.org> > > * sysdeps/unix/sysv/linux/alpha/syscalls.list (pread): Syscall > name is pread, not pread64. > (pwrite): Likewise vs pwrite64. > > --- sysdeps/unix/sysv/linux/alpha/syscalls.list 24 Jun 2003 16:26:34 -0000 1.59 > +++ sysdeps/unix/sysv/linux/alpha/syscalls.list 29 Jul 2003 19:23:02 -0000 > @@ -22,8 +22,8 @@ > llseek EXTRA lseek C:3 __libc_lseek __lseek lseek __libc_lseek64 __llseek llseek __lseek64 lseek64 > lseek llseek - > posix_fadvise64 - fadvise64 4 posix_fadvise64 posix_fadvise > -pread - pread64 C:4 __libc_pread __libc_pread64 __pread pread __pread64 pread64 > -pwrite - pwrite64 C:4 __libc_pwrite __libc_pwrite64 __pwrite pwrite __pwrite64 pwrite64 > +pread - pread C:4 __libc_pread __libc_pread64 __pread pread __pread64 pread64 > +pwrite - pwrite C:4 __libc_pwrite __libc_pwrite64 __pwrite pwrite __pwrite64 pwrite64 > fstatfs - fstatfs i:ip __fstatfs fstatfs __fstatfs64 fstatfs64 > statfs - statfs i:sp __statfs statfs statfs64 > getrlimit - getrlimit 2 __getrlimit getrlimit getrlimit64 Jakub
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |