bug-libtool
[Top][All Lists]
Advanced

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

libtool: gentoo patch breaking on Debian amd64.


From: Kurt Roeckx
Subject: libtool: gentoo patch breaking on Debian amd64.
Date: Sun, 25 Dec 2005 13:14:43 +0100
User-agent: Mutt/1.4.2.1i

Hi,

I'm mailing this to gentoo-dev, because I don't know the
proper place to send this.  Could someone please forward this to
the right people?  I'm also Cc'ing libtool upstream.

I came accross a package that failed to build on Debian amd64
where it tried to link the static library instead of the shared
one.  This seems to have been caused by a change to libtool,
which seems to come from gentoo.  The bug in the Debian bug
tracking system for this is:
http://bugs.debian.org/344662

The change in libtool.m4 seems to be:
+  # Find out which ABI we are using (multilib Linux x86_64 hack).
+  libsuff=
+  case "$host_cpu" in
+  x86_64*)
+    echo '[#]line __oline__ "configure"' > conftest.$ac_ext
+    if AC_TRY_EVAL(ac_compile); then
+      case `/usr/bin/file conftest.$ac_objext` in
+      *64-bit*)
+        libsuff=64
+        ;;
+      esac
+    fi
+    rm -rf conftest*
+    ;;
+  *)
+    ;;
+  esac
+  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
+  sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${
libsuff}"

I'm not really sure why this breaks anything though.  My guess
would be that you're removing paths it needs.


PS: I'm not on the list, please CC me.

Kurt





reply via email to

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