gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] [PATCH 3/3] Ensure that libgcc is linked dynamically on ARM


From: Will Newton
Subject: [Gcl-devel] [PATCH 3/3] Ensure that libgcc is linked dynamically on ARM
Date: Mon, 16 Jun 2014 15:36:59 +0100

If libgcc is not dynamically linked or linked dynamically with
--as-needed then the required functions from that library will
not be available for loaded code that needs them.
---
 gcl/configure    | 1 +
 gcl/configure.in | 1 +
 2 files changed, 2 insertions(+)

diff --git a/gcl/configure b/gcl/configure
index b5b50a1..bf6746c 100755
--- a/gcl/configure
+++ b/gcl/configure
@@ -2883,6 +2883,7 @@ case $canonical in
        use=sparc-linux;;
 
      arm*linux*)
+       TLDFLAGS="-shared-libgcc" # Make sure the linker does not drop libgcc 
dependency
        use=arm-linux;;
 
      aarch64*linux*)
diff --git a/gcl/configure.in b/gcl/configure.in
index ea0fe6f..4a95aa0 100644
--- a/gcl/configure.in
+++ b/gcl/configure.in
@@ -179,6 +179,7 @@ case $canonical in
        use=sparc-linux;;
 
      arm*linux*)
+       TLDFLAGS="-shared-libgcc" # Make sure the linker does not drop libgcc 
dependency
        use=arm-linux;;
 
      aarch64*linux*)
-- 
1.9.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]