Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 209779 Details for
Bug 274269
sys-libs/glibc 2.10.1 build fails due to missing __call_fallocate symbol
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0077_all_i386-glibc-no-fallocate.patch
0077_all_i386-glibc-no-fallocate.patch (text/plain), 1.48 KB, created by
SpanKY
on 2009-11-09 22:36:53 UTC
(
hide
)
Description:
0077_all_i386-glibc-no-fallocate.patch
Filename:
MIME Type:
Creator:
SpanKY
Created:
2009-11-09 22:36:53 UTC
Size:
1.48 KB
patch
obsolete
>Fix building on x86 when older linux headers lack __NR_fallocate define. > >URL: http://bugs.gentoo.org/274269 >Reported-by: Mikael Magnusson <mikachu@gmail.com> > >2009-11-09 Mike Frysinger <vapier@gentoo.org> > > * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Call > internal_fallocate if __NR_fallocate is not defined. > * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate): Call > internal_fallocate64 if __NR_fallocate is not defined. > >diff --git a/sysdeps/unix/sysv/linux/i386/fallocate.c b/sysdeps/unix/sysv/linux/i386/fallocate.c >index 7a943e4..36dfe59 100644 >--- a/sysdeps/unix/sysv/linux/i386/fallocate.c >+++ b/sysdeps/unix/sysv/linux/i386/fallocate.c >@@ -28,5 +28,9 @@ extern int __call_fallocate (int fd, int mode, __off64_t offset, __off64_t len) > int > fallocate (int fd, int mode, __off_t offset, __off_t len) > { >+#ifdef __NR_fallocate > return __call_fallocate (fd, mode, offset, len); >+#else >+ return internal_fallocate (fd, offset, len); >+#endif > } >diff --git a/sysdeps/unix/sysv/linux/i386/fallocate64.c b/sysdeps/unix/sysv/linux/i386/fallocate64.c >index 4998f5e..4da583b 100644 >--- a/sysdeps/unix/sysv/linux/i386/fallocate64.c >+++ b/sysdeps/unix/sysv/linux/i386/fallocate64.c >@@ -28,5 +28,9 @@ extern int __call_fallocate (int fd, int mode, __off64_t offset, __off64_t len) > int > fallocate64 (int fd, int mode, __off64_t offset, __off64_t len) > { >+#ifdef __NR_fallocate > return __call_fallocate (fd, mode, offset, len); >+#else >+ return internal_fallocate64 (fd, offset, len); >+#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 274269
:
195610
|
209779
|
209781