[PATCH 04/12] Temporarily disable libdl for bfin

Joel Sherrill joel.sherrill at oarcorp.com
Fri Mar 6 14:55:10 UTC 2015


There is an issue linking dl0* which has not been resolved.
This issue is being tracked but is not considered a release
blocker. This patch is a workaround which disables libdl
for the bfin until the ticket is resolved.

updates 2252.
---
 cpukit/configure.ac              | 5 ++++-
 testsuites/libtests/configure.ac | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/cpukit/configure.ac b/cpukit/configure.ac
index 5067315..f4d4e7b 100644
--- a/cpukit/configure.ac
+++ b/cpukit/configure.ac
@@ -376,9 +376,12 @@ AM_CONDITIONAL([RPCTOOLS],[test "$RPCGEN" = rpcgen \
 # reloc backends
 AC_MSG_CHECKING([whether CPU supports libdl])
 case $RTEMS_CPU in
-  arm | bfin | h8300 | i386 | lm32 | m32r | m68k | mips | \
+  arm | h8300 | i386 | lm32 | m32r | m68k | mips | \
   moxie | powerpc | sparc | v850)
    HAVE_LIBDL=yes ;;
+  # bfin has an issue to resolve with libdl. See ticket #2252
+  bfin)
+   HAVE_LIBDL=no ;;
   *)
    HAVE_LIBDL=no ;;
 esac
diff --git a/testsuites/libtests/configure.ac b/testsuites/libtests/configure.ac
index 1cc5943..7c82394 100644
--- a/testsuites/libtests/configure.ac
+++ b/testsuites/libtests/configure.ac
@@ -44,9 +44,12 @@ AM_CONDITIONAL(HAS_POSIX,test x"${rtems_cv_RTEMS_POSIX_API}" = x"yes")
 # Must match the list in cpukit.
 AC_MSG_CHECKING([whether CPU supports libdl])
 case $RTEMS_CPU in
-  arm | bfin | h8300 | i386 | lm32 | m32r | m68k | mips | \
+  arm | h8300 | i386 | lm32 | m32r | m68k | mips | \
   moxie | powerpc | sparc | v850)
    TEST_LIBDL=yes ;;
+  # bfin has an issue to resolve with libdl. See ticket #2252
+  bfin)
+   HAVE_LIBDL=no ;;
   *)
    TEST_LIBDL=no ;;
 esac
-- 
1.9.3



More information about the devel mailing list