All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] uclibc: add fix for ARM specific static linking issues
@ 2017-02-17 19:24 Waldemar Brodkorb
  2017-02-20 20:36 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Waldemar Brodkorb @ 2017-02-17 19:24 UTC (permalink / raw)
  To: buildroot

Fixes:
  http://autobuild.buildroot.net/results/fb14e37aaf453874d1c33e5ed73b9c751ace5ae3
  http://autobuild.buildroot.net/results/774a8dd489760bc213ac7cf3e8040cee6a4e2437

And hopefully all other static ARM issues with uClibc-ng.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
It would be nice if the autobuild ARM toolchains could be rebuild,
if the patch is accepted and applied.
---
 .../0002-arm-fix-static-linking-issues.patch       | 38 ++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 package/uclibc/0002-arm-fix-static-linking-issues.patch

diff --git a/package/uclibc/0002-arm-fix-static-linking-issues.patch b/package/uclibc/0002-arm-fix-static-linking-issues.patch
new file mode 100644
index 0000000..5480b0d
--- /dev/null
+++ b/package/uclibc/0002-arm-fix-static-linking-issues.patch
@@ -0,0 +1,38 @@
+From 94810a91c48ac62daed55b4aec70d04a44c10795 Mon Sep 17 00:00:00 2001
+From: Waldemar Brodkorb <wbx@openadk.org>
+Date: Thu, 16 Feb 2017 20:22:21 +0100
+Subject: [PATCH] arm: fix static linking issues
+
+As reported by Buildroot developers these files causing static
+linking issues. The original contribution with the ARM unwind-resume
+rework and GNU libc sync was made before the combined libc change.
+But the patch was applied later, after the libc change and
+it seems the test coverage for static linking didn't catch it in
+the regression testing. Remove the files.
+
+Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
+---
+ libpthread/nptl/sysdeps/arm/pt-arm-unwind-resume.c | 2 --
+ libpthread/nptl/sysdeps/arm/rt-arm-unwind-resume.c | 1 -
+ 2 files changed, 3 deletions(-)
+ delete mode 100644 libpthread/nptl/sysdeps/arm/pt-arm-unwind-resume.c
+ delete mode 100644 libpthread/nptl/sysdeps/arm/rt-arm-unwind-resume.c
+
+diff --git a/libpthread/nptl/sysdeps/arm/pt-arm-unwind-resume.c b/libpthread/nptl/sysdeps/arm/pt-arm-unwind-resume.c
+deleted file mode 100644
+index fd0cec4..0000000
+--- a/libpthread/nptl/sysdeps/arm/pt-arm-unwind-resume.c
++++ /dev/null
+@@ -1,2 +0,0 @@
+-__asm__ (".set __libgcc_s_init, pthread_cancel_init");
+-#include <arm-unwind-resume.c>
+diff --git a/libpthread/nptl/sysdeps/arm/rt-arm-unwind-resume.c b/libpthread/nptl/sysdeps/arm/rt-arm-unwind-resume.c
+deleted file mode 100644
+index 2641dc5..0000000
+--- a/libpthread/nptl/sysdeps/arm/rt-arm-unwind-resume.c
++++ /dev/null
+@@ -1 +0,0 @@
+-#include <arm-unwind-resume.c>
+-- 
+2.1.4
+
-- 
2.1.4

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

* [Buildroot] [PATCH] uclibc: add fix for ARM specific static linking issues
  2017-02-17 19:24 [Buildroot] [PATCH] uclibc: add fix for ARM specific static linking issues Waldemar Brodkorb
@ 2017-02-20 20:36 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-02-20 20:36 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri, 17 Feb 2017 20:24:04 +0100, Waldemar Brodkorb wrote:
> Fixes:
>   http://autobuild.buildroot.net/results/fb14e37aaf453874d1c33e5ed73b9c751ace5ae3
>   http://autobuild.buildroot.net/results/774a8dd489760bc213ac7cf3e8040cee6a4e2437
> 
> And hopefully all other static ARM issues with uClibc-ng.
> 
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
> ---
> It would be nice if the autobuild ARM toolchains could be rebuild,
> if the patch is accepted and applied.
> ---
>  .../0002-arm-fix-static-linking-issues.patch       | 38 ++++++++++++++++++++++
>  1 file changed, 38 insertions(+)
>  create mode 100644 package/uclibc/0002-arm-fix-static-linking-issues.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2017-02-20 20:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-17 19:24 [Buildroot] [PATCH] uclibc: add fix for ARM specific static linking issues Waldemar Brodkorb
2017-02-20 20:36 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.