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 283d803..0aae9a9 100755
--- a/gcl/configure
+++ b/gcl/configure
@@ -2880,6 +2880,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 a95c75b..3fb4dc6 100644
--- a/gcl/configure.in
+++ b/gcl/configure.in
@@ -169,6 +169,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


_______________________________________________
Gcl-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gcl-devel

Reply via email to