diff mbox series

[uclibc-ng-devel] xtensa failures in buildroot

Message ID 20191012104532.GU29045@waldemar-brodkorb.de
State Rejected
Headers show
Series [uclibc-ng-devel] xtensa failures in buildroot | expand

Commit Message

Waldemar Brodkorb Oct. 12, 2019, 10:45 a.m. UTC
Hi Max,

is attached patch okay for you?
Fixes the recent br errors for uClibc-ng.

best regards
 Waldemar

Comments

Max Filippov Oct. 12, 2019, 3:26 p.m. UTC | #1
Hi Waldemar,

On Sat, Oct 12, 2019 at 3:45 AM Waldemar Brodkorb <wbx@uclibc-ng.org> wrote:
> is attached patch okay for you?
> Fixes the recent br errors for uClibc-ng.

There's a fix for this issue in the linux mainline, which I also posted
to the buildroot ML:
http://lists.busybox.net/pipermail/buildroot/2019-September/260914.html

--
Thanks.
-- Max
diff mbox series

Patch

diff -Nur uClibc-ng-1.0.31.orig/libc/sysdeps/linux/xtensa/vfork.S uClibc-ng-1.0.31/libc/sysdeps/linux/xtensa/vfork.S
--- uClibc-ng-1.0.31.orig/libc/sysdeps/linux/xtensa/vfork.S	2018-11-14 04:07:32.000000000 +0100
+++ uClibc-ng-1.0.31/libc/sysdeps/linux/xtensa/vfork.S	2019-10-12 11:26:24.520642468 +0200
@@ -20,8 +20,9 @@ 
 #define _SIGNAL_H
 #include <bits/signum.h>
 #define __ASSEMBLY__
-#include <linux/sched.h>
 
+#define CLONE_VM	0x00000100	/* set if VM shared between processes */
+#define CLONE_VFORK	0x00004000	/* set if the parent wants the child to wake it up on mm_release */
 
 /*
    Clone the calling process, but without copying the whole address space.