Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 633106 Details for
Bug 717548
app-emulation/qemu: qemu-alpha linux-user breaks emerge with python3.6+ inside alpha chroot
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-linux-user-syscall.c-add-target-to-host-mapping-for-.patch
0001-linux-user-syscall.c-add-target-to-host-mapping-for-.patch (text/plain), 1.39 KB, created by
Sergei Trofimovich (RETIRED)
on 2020-04-15 18:32:54 UTC
(
hide
)
Description:
0001-linux-user-syscall.c-add-target-to-host-mapping-for-.patch
Filename:
MIME Type:
Creator:
Sergei Trofimovich (RETIRED)
Created:
2020-04-15 18:32:54 UTC
Size:
1.39 KB
patch
obsolete
>From ce7ae180620a2fbf66232c3556678fbf4f136a5c Mon Sep 17 00:00:00 2001 >From: Sergei Trofimovich <slyfox@gentoo.org> >Date: Wed, 15 Apr 2020 19:28:42 +0100 >Subject: [PATCH] linux-user/syscall.c: add target-to-host mapping for > epoll_create1() >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Noticed by Barnabás Virágh as a python-3.7 failue on qemu-alpha. > >The bug shows up on alpha as it's one of the targets where >EPOLL_CLOEXEC differs from other targets: > sysdeps/unix/sysv/linux/alpha/bits/epoll.h: EPOLL_CLOEXEC = 01000000 > sysdeps/unix/sysv/linux/bits/epoll.h: EPOLL_CLOEXEC = 02000000 > >Bug: https://bugs.gentoo.org/717548 >Reported-by: Barnabás Virágh >Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> >--- > linux-user/syscall.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/linux-user/syscall.c b/linux-user/syscall.c >index 674f70e70a..05f03919ff 100644 >--- a/linux-user/syscall.c >+++ b/linux-user/syscall.c >@@ -12012,7 +12012,7 @@ static abi_long do_syscall1(void *cpu_env, int num, abi_long arg1, > #endif > #if defined(TARGET_NR_epoll_create1) && defined(CONFIG_EPOLL_CREATE1) > case TARGET_NR_epoll_create1: >- return get_errno(epoll_create1(arg1)); >+ return get_errno(epoll_create1(target_to_host_bitmask(arg1, fcntl_flags_tbl))); > #endif > #if defined(TARGET_NR_epoll_ctl) > case TARGET_NR_epoll_ctl: >-- >2.26.1 >
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 717548
:
633068
|
633070
| 633106