emacs-devel
[Top][All Lists]
Advanced

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

RPATH on 64-bit arches


From: Chip Coldwell
Subject: RPATH on 64-bit arches
Date: Mon, 21 Apr 2008 11:30:56 -0400 (EDT)
User-agent: Alpine 1.00 (LRH 882 2007-12-20)

Hello emacs-devel,

May I draw your attention to

https://bugzilla.redhat.com/show_bug.cgi?id=253872

Basically, the problem is that the current definition of the autoconf
macro _AC_PATH_X_XMKMF causes the emacs build process to insert an
RPATH into the 64-bit binary.  Personally, I feel this is a bug in
autoconf, so perhaps this is the wrong forum to bring it up.  FWIW, I
have this patch to fix it:

--- autoconf-2.59/lib/autoconf/libs.m4  2008-04-21 11:26:31.954460000 -0400
+++ autoconf-2.59.new/lib/autoconf/libs.m4      2008-04-21 11:27:25.552368000 
-0400
@@ -206,7 +206,7 @@ _ACEOF
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
     esac
     case $ac_im_usrlibdir in
-       /usr/lib | /lib) ;;
+       /usr/lib64 | /usr/lib | /lib) ;;
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
     esac
   fi

Chip

-- 
Charles M. "Chip" Coldwell
Senior Software Engineer
Red Hat, Inc
978-392-2426

GPG ID:  852E052F
GPG FPR: 77E5 2B51 4907 F08A 7E92  DE80 AFA9 9A8F 852E 052F




reply via email to

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