From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.devel Subject: Re: Problems compiling on Archlinux 64 Date: Thu, 23 Nov 2006 17:12:34 +0200 Message-ID: <20061123151234.GA37445@kobe.laptop> References: <200611212055.01073.manveru@weez-int.com> <874psswt1o.fsf@cyd.mit.edu> <200611221029.57786.manveru@weez-int.com> <87fycbo52b.fsf@cyd.mit.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1164449213 1195 80.91.229.2 (25 Nov 2006 10:06:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Nov 2006 10:06:53 +0000 (UTC) Cc: Michael Fellinger , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 25 11:06:50 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GnuQn-0001rT-0k for ged-emacs-devel@m.gmane.org; Sat, 25 Nov 2006 11:06:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GnuQm-0004FZ-Bs for ged-emacs-devel@m.gmane.org; Sat, 25 Nov 2006 05:06:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gnk3A-0007DQ-KR for emacs-devel@gnu.org; Fri, 24 Nov 2006 18:01:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gnk39-0007BO-Eg for emacs-devel@gnu.org; Fri, 24 Nov 2006 18:01:39 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gnk39-0007B2-6a for emacs-devel@gnu.org; Fri, 24 Nov 2006 18:01:39 -0500 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gnk35-0002I1-Ny for emacs-devel@gnu.org; Fri, 24 Nov 2006 18:01:35 -0500 Original-Received: from [62.1.205.36] (helo=igloo.linux.gr) by mx20.gnu.org with esmtp (Exim 4.52) id 1GnGHa-0000G9-5G for emacs-devel@gnu.org; Thu, 23 Nov 2006 10:14:37 -0500 Original-Received: from kobe.laptop (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-2) with ESMTP id kANFCkSH014153 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 23 Nov 2006 17:12:53 +0200 Original-Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.13.8/8.13.8) with ESMTP id kANFCb0k037470; Thu, 23 Nov 2006 17:12:40 +0200 (EET) (envelope-from keramida@freebsd.org) Original-Received: (from keramida@localhost) by kobe.laptop (8.13.8/8.13.8/Submit) id kANFCYHa037469; Thu, 23 Nov 2006 17:12:35 +0200 (EET) (envelope-from keramida@freebsd.org) Original-To: Chong Yidong Content-Disposition: inline In-Reply-To: <87fycbo52b.fsf@cyd.mit.edu> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.637, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.76, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Mailman-Approved-At: Sat, 25 Nov 2006 05:06:08 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:62776 Archived-At: On 2006-11-22 10:48, Chong Yidong wrote: > Does this completely untested patch give good results (you'll have to > regenerate configure to test it, of course)? I just finished building an Emacs snapshot with these changes on FreeBSD 7.0-CURRENT. No obvious regressions can be seen, so it should be ok. - Giorgos > *** emacs/configure.in.~1.418.~ 2006-11-14 10:54:05.000000000 -0500 > --- emacs/configure.in 2006-11-22 10:42:46.000000000 -0500 > *************** > *** 1485,1490 **** > --- 1485,1500 ---- > AC_SYS_LARGEFILE > > > + ### The standard library on x86-64 GNU/Linux distributions can > + ### be located in either /usr/lib64 or /usr/lib. > + case "${canonical}" in > + x86_64-*-linux-gnu* ) > + if test -d /usr/lib64; then > + AC_DEFINE(HAVE_X86_64_LIB64_DIR, 1, > + [Define to 1 if the file /usr/lib64 exists.]) > + fi > + esac > + > dnl This function defintion taken from Gnome 2.0 > dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not) > dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page > *** emacs/src/m/amdx86-64.h.~1.11.~ 2006-10-30 09:06:42.000000000 -0500 > --- emacs/src/m/amdx86-64.h 2006-11-22 10:44:40.000000000 -0500 > *************** > *** 128,134 **** > --- 128,138 ---- > #else /* !__OpenBSD__ && !__FreeBSD__ */ > > #undef START_FILES > + #ifdef HAVE_X86_64_LIB64_DIR > #define START_FILES pre-crt0.o /usr/lib64/crt1.o /usr/lib64/crti.o > + #else > + #define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o > + #endif > > /* The duplicate -lgcc is intentional in the definition of LIB_STANDARD. > The reason is that some functions in libgcc.a call functions from libc.a, > *************** > *** 136,142 **** > --- 140,150 ---- > versions of ld are one-pass linkers, we need to mention -lgcc twice, > or else we risk getting unresolved externals. */ > #undef LIB_STANDARD > + #ifdef HAVE_X86_64_LIB64_DIR > #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib64/crtn.o > + #else > + #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtn.o > + #endif > > #endif /* __FreeBSD__ */