Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] toolchain: Allow ld64.so linker
@ 2013-12-03 11:26 Anton Blanchard
  2013-12-03 11:28 ` Thomas Petazzoni
  2013-12-03 12:11 ` Peter Korsgaard
  0 siblings, 2 replies; 9+ messages in thread
From: Anton Blanchard @ 2013-12-03 11:26 UTC (permalink / raw)
  To: buildroot

From: Jeremy Kerr <jk@ozlabs.org>

The glibc dynamic linkers for ppc64 and s390x are named ld64.so.*
so modify the check_glibc test to match them.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Anton Blanchard <anton@samba.org>
---

diff --git a/toolchain/helpers.mk b/toolchain/helpers.mk
index a8944ce..faa9d90 100644
--- a/toolchain/helpers.mk
+++ b/toolchain/helpers.mk
@@ -204,7 +204,7 @@ check_glibc_rpc_feature = \
 #
 check_glibc = \
 	SYSROOT_DIR="$(strip $1)"; \
-	if test `find $${SYSROOT_DIR}/ -maxdepth 2 -name 'ld-linux*.so.*' -o -name 'ld.so.*' | wc -l` -eq 0 ; then \
+	if test `find $${SYSROOT_DIR}/ -maxdepth 2 -name 'ld-linux*.so.*' -o -name 'ld.so.*' -o -name 'ld64.so.*' | wc -l` -eq 0 ; then \
 		echo "Incorrect selection of the C library"; \
 		exit -1; \
 	fi; \

^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] toolchain: Allow ld64.so linker
@ 2013-12-02  6:23 Anton Blanchard
  2013-12-02 10:09 ` Thomas Petazzoni
  0 siblings, 1 reply; 9+ messages in thread
From: Anton Blanchard @ 2013-12-02  6:23 UTC (permalink / raw)
  To: buildroot

From: Jeremy Kerr <jk@ozlabs.org>
    
Expand the glibc dynamic linker check to allow ld64.so.
    
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Anton Blanchard <anton@samba.org>
---

diff --git a/toolchain/helpers.mk b/toolchain/helpers.mk
index a8944ce..faa9d90 100644
--- a/toolchain/helpers.mk
+++ b/toolchain/helpers.mk
@@ -204,7 +204,7 @@ check_glibc_rpc_feature = \
 #
 check_glibc = \
 	SYSROOT_DIR="$(strip $1)"; \
-	if test `find $${SYSROOT_DIR}/ -maxdepth 2 -name 'ld-linux*.so.*' -o -name 'ld.so.*' | wc -l` -eq 0 ; then \
+	if test `find $${SYSROOT_DIR}/ -maxdepth 2 -name 'ld-linux*.so.*' -o -name 'ld.so.*' -o -name 'ld64.so.*' | wc -l` -eq 0 ; then \
 		echo "Incorrect selection of the C library"; \
 		exit -1; \
 	fi; \

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

end of thread, other threads:[~2013-12-03 12:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-03 11:26 [Buildroot] [PATCH] toolchain: Allow ld64.so linker Anton Blanchard
2013-12-03 11:28 ` Thomas Petazzoni
2013-12-03 12:11 ` Peter Korsgaard
  -- strict thread matches above, loose matches on Subject: below --
2013-12-02  6:23 Anton Blanchard
2013-12-02 10:09 ` Thomas Petazzoni
2013-12-03 11:14   ` Anton Blanchard
2013-12-03 11:21     ` Thomas Petazzoni
2013-12-03 11:28       ` Anton Blanchard
2013-12-03 12:16         ` Thomas Petazzoni

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