[PATCH] sigsegv: fix build on arceb

2022-04-15 Thread Fabrice Fontaine
Fix the following build failure on arceb with diffutils 3.8: sigsegv.c:979:28: error: 'struct vma_struct' has no member named 'is_near_this' http://autobuild.buildroot.org/results/8c5b8b37eb3c2667c75666079b056df7e0023e05 Signed-off-by: Fabrice Fontaine --- m4/stack-directi

Re: [PATCH] lib/getrandom.c: fix build with uclibc < 1.0.35

2021-11-30 Thread Fabrice Fontaine
Le mar. 30 nov. 2021 à 22:46, Paul Eggert a écrit : > > On 11/30/21 13:36, Fabrice Fontaine wrote: > > Should I send a new patch ? > > Would something like the following work? Yes, I can confirm that the build failure is fixed with this patch. > > diff --git a/l

Re: [PATCH] lib/getrandom.c: fix build with uclibc < 1.0.35

2021-11-30 Thread Fabrice Fontaine
Le mar. 30 nov. 2021 à 22:00, Paul Eggert a écrit : > > On 11/30/21 09:29, Fabrice Fontaine wrote: > > > > +#include > > #include > > This surely isn't the right fix, as is supposed to > include on uClibc. See gnulib/lib/sys_random.in.h's commen

[PATCH] lib/getrandom.c: fix build with uclibc < 1.0.35

2021-11-30 Thread Fabrice Fontaine
een patched with https://github.com/wbx-github/uclibc-ng/commit/00972c02c2b6e0a95d5def4a71bdfb188e091782 Fixes: - http://autobuild.buildroot.org/results/adecc3e5def140348dfff30961fe6514c9a8e7b5 Signed-off-by: Fabrice Fontaine --- lib/getrandom.c | 1 + 1 file changed, 1 insertion(+) diff -

[PATCH] m4/stack-direction.m4: fix build on or1k

2021-11-11 Thread Fabrice Fontaine
has no member named 'is_near_this' 979 | : vma.is_near_this (addr, &vma)) |^ Fixes: - http://autobuild.buildroot.org/results/5427e52489d29ed4f18b4a70b3c36f0f7bb0ddd9 Signed-off-by: Fabrice Fontaine --- m4/stack-direction.m4

[PATCH] m4/stack-direction.m4: fix build on microblazeel

2021-11-11 Thread Fabrice Fontaine
has no member named 'is_near_this' 979 | : vma.is_near_this (addr, &vma)) |^ Fixes: - http://autobuild.buildroot.org/results/5ecd55b7c72f9630a7acc72341ccb60e94ddb574 Signed-off-by: Fabrice Fontaine --- m4/stack-dire

[PATCH] lib/pthread-cond.c: use tv.nsec instead of tv.usec

2021-04-05 Thread Fabrice Fontaine
x27;? 121 | duration.tv_usec = 0; |^~~ | tv_sec Signed-off-by: Fabrice Fontaine --- lib/pthread-cond.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pthread-cond.c b/lib/pthread-cond.c index baa7c60bb..c2c00be03 100644 --- a/lib/pthread-cond.c +

[PATCH] m4/pthread-cond.m4: fix build without threads

2021-04-04 Thread Fabrice Fontaine
ueabihf/bin/ld: src/libsinglebin_sort.a(libsinglebin_sort_a-sort.o): in function `single_binary_main_sort': sort.c:(.text+0x5a24): undefined reference to `pthread_cond_init Fixes: - http://autobuild.buildroot.org/results/acb58a76642c6ffd8f0b752349a6e754fc011e86 Signed-off-by: Fabrice Fontaine ---