Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] uclibc: fix static builds
@ 2023-05-11  8:28 Waldemar Brodkorb
  2023-05-12 17:13 ` Peter Korsgaard
  2023-06-12 20:22 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Waldemar Brodkorb @ 2023-05-11  8:28 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
 .../0001-gettimeofday-fix-static-build.patch  | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 package/uclibc/0001-gettimeofday-fix-static-build.patch

diff --git a/package/uclibc/0001-gettimeofday-fix-static-build.patch b/package/uclibc/0001-gettimeofday-fix-static-build.patch
new file mode 100644
index 0000000000..f09d77b057
--- /dev/null
+++ b/package/uclibc/0001-gettimeofday-fix-static-build.patch
@@ -0,0 +1,28 @@
+From b19f8f360970ffd0c1a6ac41e07c66dc39790b16 Mon Sep 17 00:00:00 2001
+From: Waldemar Brodkorb <wbx@openadk.org>
+Date: Wed, 10 May 2023 08:35:25 +0200
+Subject: [PATCH] gettimeofday: fix static build
+
+Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
+---
+ libc/sysdeps/linux/common/gettimeofday.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/libc/sysdeps/linux/common/gettimeofday.c b/libc/sysdeps/linux/common/gettimeofday.c
+index e5141088e..12473a8e6 100755
+--- a/libc/sysdeps/linux/common/gettimeofday.c
++++ b/libc/sysdeps/linux/common/gettimeofday.c
+@@ -9,8 +9,9 @@
+ #include <sys/syscall.h>
+ #include <sys/time.h>
+ 
++#ifdef SHARED
+ #include "ldso.h"
+-
++#endif
+ 
+ 
+ #ifdef __VDSO_SUPPORT__
+-- 
+2.30.2
+
-- 
2.30.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH] uclibc: fix static builds
  2023-05-11  8:28 [Buildroot] [PATCH] uclibc: fix static builds Waldemar Brodkorb
@ 2023-05-12 17:13 ` Peter Korsgaard
  2023-06-12 20:22 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-05-12 17:13 UTC (permalink / raw)
  To: Waldemar Brodkorb; +Cc: buildroot

>>>>> "Waldemar" == Waldemar Brodkorb <wbx@openadk.org> writes:

 > Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>

Committed, thanks.

It would have been good with some autobuilders references, does this fix
all the static uclibc-1.0.43 issues?

http://autobuild.buildroot.net/?reason=uclibc-1.0.43&static=1

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH] uclibc: fix static builds
  2023-05-11  8:28 [Buildroot] [PATCH] uclibc: fix static builds Waldemar Brodkorb
  2023-05-12 17:13 ` Peter Korsgaard
@ 2023-06-12 20:22 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-06-12 20:22 UTC (permalink / raw)
  To: Waldemar Brodkorb; +Cc: buildroot

>>>>> "Waldemar" == Waldemar Brodkorb <wbx@openadk.org> writes:

 > Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>

Committed to 2023.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-06-12 20:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-11  8:28 [Buildroot] [PATCH] uclibc: fix static builds Waldemar Brodkorb
2023-05-12 17:13 ` Peter Korsgaard
2023-06-12 20:22 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox