Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 46848 Details for
Bug 52764
sys-libs/glibc-2.3.3_pre20040207 build failure (with fix)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
cleaned-up version of the patch from glibc mailinglist
glibc-2.3.4-alpha-stat64.patch (text/plain), 2.93 KB, created by
Stefan Knoblich (RETIRED)
on 2004-12-24 20:10:04 UTC
(
hide
)
Description:
cleaned-up version of the patch from glibc mailinglist
Filename:
MIME Type:
Creator:
Stefan Knoblich (RETIRED)
Created:
2004-12-24 20:10:04 UTC
Size:
2.93 KB
patch
obsolete
>diff -Naur glibc-2.3.4-20041102.orig/sysdeps/unix/sysv/linux/alpha/fxstat.c glibc-2.3.4-20041102/sysdeps/unix/sysv/linux/alpha/fxstat.c >--- glibc-2.3.4-20041102.orig/sysdeps/unix/sysv/linux/alpha/fxstat.c 2004-12-24 21:20:33.000000000 +0000 >+++ glibc-2.3.4-20041102/sysdeps/unix/sysv/linux/alpha/fxstat.c 2004-12-24 21:39:43.000000000 +0000 >@@ -40,12 +40,14 @@ > > if (vers == _STAT_VER_KERNEL64 && !__libc_missing_axp_stat64) > { >+#ifdef __ASSUME_STAT64_SYSCALL > result = INTERNAL_SYSCALL (fstat64, err, 2, fd, buf); > if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) > return result; > errno_out = INTERNAL_SYSCALL_ERRNO (result, err); > if (errno_out != ENOSYS) > goto fail; >+#endif > __libc_missing_axp_stat64 = 1; > } > >diff -Naur glibc-2.3.4-20041102.orig/sysdeps/unix/sysv/linux/alpha/lxstat.c glibc-2.3.4-20041102/sysdeps/unix/sysv/linux/alpha/lxstat.c >--- glibc-2.3.4-20041102.orig/sysdeps/unix/sysv/linux/alpha/lxstat.c 2004-12-24 21:20:33.000000000 +0000 >+++ glibc-2.3.4-20041102/sysdeps/unix/sysv/linux/alpha/lxstat.c 2004-12-24 21:39:33.000000000 +0000 >@@ -40,12 +40,14 @@ > > if (vers == _STAT_VER_KERNEL64 && !__libc_missing_axp_stat64) > { >+#ifdef __ASSUME_STAT64_SYSCALL > result = INTERNAL_SYSCALL (lstat64, err, 2, name, buf); > if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) > return result; > errno_out = INTERNAL_SYSCALL_ERRNO (result, err); > if (errno_out != ENOSYS) > goto fail; >+#endif > __libc_missing_axp_stat64 = 1; > } > >diff -Naur glibc-2.3.4-20041102.orig/sysdeps/unix/sysv/linux/alpha/xstat.c glibc-2.3.4-20041102/sysdeps/unix/sysv/linux/alpha/xstat.c >--- glibc-2.3.4-20041102.orig/sysdeps/unix/sysv/linux/alpha/xstat.c 2004-12-24 21:20:34.000000000 +0000 >+++ glibc-2.3.4-20041102/sysdeps/unix/sysv/linux/alpha/xstat.c 2004-12-24 21:39:24.000000000 +0000 >@@ -40,12 +40,14 @@ > > if (vers == _STAT_VER_KERNEL64 && !__libc_missing_axp_stat64) > { >+#ifdef __ASSUME_STAT64_SYSCALL > result = INTERNAL_SYSCALL (stat64, err, 2, name, buf); > if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1)) > return result; > errno_out = INTERNAL_SYSCALL_ERRNO (result, err); > if (errno_out != ENOSYS) > goto fail; >+#endif > __libc_missing_axp_stat64 = 1; > } > >diff -Naur glibc-2.3.4-20041102.orig/sysdeps/unix/sysv/linux/kernel-features.h glibc-2.3.4-20041102/sysdeps/unix/sysv/linux/kernel-features.h >--- glibc-2.3.4-20041102.orig/sysdeps/unix/sysv/linux/kernel-features.h 2004-12-24 21:20:34.000000000 +0000 >+++ glibc-2.3.4-20041102/sysdeps/unix/sysv/linux/kernel-features.h 2004-12-24 21:30:37.000000000 +0000 >@@ -419,3 +419,8 @@ > #if __LINUX_KERNEL_VERSION >= 0x020609 && defined __alpha__ > #define __ASSUME_IEEE_RAISE_EXCEPTION 1 > #endif >+ >+/* Starting with version 2.6.5, {l,f,}stat64 syscalls are available on alpha. */ >+#if __LINUX_KERNEL_VERSION >= 0x020605 && defined __alpha__ >+#define __ASSUME_STAT64_SYSCALL 1 >+#endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 52764
:
33365
|
46848
|
47258