From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Frysinger Newsgroups: gmane.emacs.bugs Subject: Re: Emacs 22.1 fails to build under GNU/Linux on S/390x due to multilib assumption Date: Tue, 15 Jan 2008 18:51:19 -0500 Organization: wh0rd.org Message-ID: <200801151851.20725.vapier@gentoo.org> References: <18317.10868.856546.238@a1ihome1.kph.uni-mainz.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1627494.39L8cEvYY0"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1200501521 32482 80.91.229.12 (16 Jan 2008 16:38:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Jan 2008 16:38:41 +0000 (UTC) Cc: Ulrich Mueller , bug-gnu-emacs@gnu.org, emacs@gentoo.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 16 17:38:59 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JFBI0-0005eu-Jv for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Jan 2008 17:38:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JFBHc-0008B2-1s for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Jan 2008 11:38:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JEvZ2-0007rO-1r for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2008 18:51:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JEvZ0-0007pZ-LY for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2008 18:51:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JEvZ0-0007pW-GR for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2008 18:51:26 -0500 Original-Received: from smtp.gentoo.org ([140.211.166.183]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JEvZ0-0007y4-1a for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2008 18:51:26 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 8DE9C651E2; Tue, 15 Jan 2008 23:51:22 +0000 (UTC) User-Agent: KMail/1.9.7 In-Reply-To: X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-Mailman-Approved-At: Wed, 16 Jan 2008 11:37:31 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17352 Archived-At: --nextPart1627494.39L8cEvYY0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 15 January 2008, Andreas Schwab wrote: > Ulrich Mueller writes: > > --- emacs-22.1-orig/src/m/ibms390x.h 2007-01-21 04:59:39.000000000 +0100 > > +++ emacs-22.1/src/m/ibms390x.h 2008-01-13 03:51:46.000000000 +0100 > > @@ -160,10 +160,10 @@ > > #define XPNTR(a) XUINT (a) > > > > #undef START_FILES > > -#define START_FILES pre-crt0.o /usr/lib64/crt1.o /usr/lib64/crti.o > > +#define START_FILES pre-crt0.o $(libdir)/crt1.o $(libdir)/crti.o > > This is wrong. libdir is the directory for the package to store its > library files, not the system library directory. Even if prefix is > /usr/local you still need to look at /usr/lib(64). i'd point out that hardcoding the start files is wrong on so many levels. = =20 this doesnt refute your statements here about the nature of $(libdir) (whic= h=20 are absolutely correct), just that the way the start files are discovered i= s=20 completely screwed (just like the rest of the emacs build system). i dont= =20 know how deep of hacks are acceptable, but other possibilities: - for $host_cpu =3D=3D s390x, check /usr/lib64/ and then /usr/lib/ - use gcc -print-file-name=3Dcrt1.o =2Dmike --nextPart1627494.39L8cEvYY0 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iQIVAwUAR41G+EFjO5/oN/WBAQJ28BAAmEjBfSUgMZlzIHknqOxN2OP9/lCsXTdg mIjECNyKRZN6ps7adKn5p+NUgRE0oOBcMLutpE7kkRULW+6CVZmIShvaPFf/rKC5 koSuI8nFv2boOlM+CfKspGnR1I/Zf7559MakDXiS8XrmKlWwutbGYGCxKMd3NpEB 7o+EcSsrDmuSEYNX//6Ryvz1pbqgInU8/Wug5wuNX6kNi64/jnZqtxrAT95eNoEX EyDTo+kHpZdFU0wo2M1R1GwquMoj6GH8jdBID+peIiZjKwqqjehFqwl9IU2BRvjU YIH2F8Cttcsxrnd4tTr9xRd5FRUZEF9elyuQbIzjWT1e3F8SOLIABsS2irovb/KD KbpdvtJPaCUvVxNmS9CxpQZrLsD6O35wMTYaThDqsFNuNTs7MhNjiXllBbfCeynf vdReA8oDPk0C8R+GZgiBwOeXVQkD5zccHK1cjTXJXvEpS3yf27x00ztHCzf02dPl 1+U8VykBlh97t9SWAjhVmKlW+SVG3HCsw4458GvJSXgz13qBhIgu1/C9sPQxRF6F nGBewqgkCMaEL+FC+7bnxYiQIjMLKMfI2V+KLyu5eHhxo0D6h6nu6GpHlQObZyXe qjYsGxVzvIJ1oVAHhLKvEH4Q/1dvyinQkCd1VEzfNU/eNLKe66rxU7N386qFaAvl j/wrfFsKUV4= =Ahp5 -----END PGP SIGNATURE----- --nextPart1627494.39L8cEvYY0--