From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Maguire, Andrew (GE Energy)" Newsgroups: gmane.emacs.bugs Subject: bug#7387: 23.2; Emacs port to HP-UX ia64 Date: Mon, 15 Nov 2010 14:29:39 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1289828687 31066 80.91.229.12 (15 Nov 2010 13:44:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 15 Nov 2010 13:44:47 +0000 (UTC) Cc: 7387@debbugs.gnu.org To: "Dan Nicolaescu" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 15 14:44:38 2010 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.69) (envelope-from ) id 1PHzML-0000hB-HC for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Nov 2010 14:44:37 +0100 Original-Received: from localhost ([127.0.0.1]:38331 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHzMK-00077d-UH for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Nov 2010 08:44:36 -0500 Original-Received: from [140.186.70.92] (port=39298 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHzM1-0006ma-CE for bug-gnu-emacs@gnu.org; Mon, 15 Nov 2010 08:44:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PHzLs-00048t-9T for bug-gnu-emacs@gnu.org; Mon, 15 Nov 2010 08:44:17 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36983) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PHzLs-00048h-7W for bug-gnu-emacs@gnu.org; Mon, 15 Nov 2010 08:44:08 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PHz4M-00081j-Ha; Mon, 15 Nov 2010 08:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Maguire, Andrew (GE Energy)" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Nov 2010 13:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7387 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7387-submit@debbugs.gnu.org id=B7387.128982755730849 (code B ref 7387); Mon, 15 Nov 2010 13:26:02 +0000 Original-Received: (at 7387) by debbugs.gnu.org; 15 Nov 2010 13:25:57 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PHz4G-00081W-7q for submit@debbugs.gnu.org; Mon, 15 Nov 2010 08:25:57 -0500 Original-Received: from exprod5og108.obsmtp.com ([64.18.0.186]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PHz4A-00081R-Jb for 7387@debbugs.gnu.org; Mon, 15 Nov 2010 08:25:54 -0500 Original-Received: from source ([4.79.213.129]) (using TLSv1) by exprod5ob108.postini.com ([64.18.4.12]) with SMTP ID DSNKTOE2Bn7Sky/OKJzez3UbtiAXxC4OXHCW@postini.com; Mon, 15 Nov 2010 05:30:52 PST Original-Received: from unknown (HELO cinmlef07.e2k.ad.ge.com) ([3.159.213.38]) by Alpmlip08.e2k.ad.ge.com with ESMTP; 15 Nov 2010 08:30:45 -0500 Original-Received: from BUDMLVEM09.e2k.ad.ge.com ([3.159.52.69]) by cinmlef07.e2k.ad.ge.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 15 Nov 2010 08:30:45 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: bug#7387: 23.2; Emacs port to HP-UX ia64 Thread-Index: AcuC9e0/TbpQv5W/QhmI1+kYKfsEEwB0IsLw X-OriginalArrivalTime: 15 Nov 2010 13:30:45.0144 (UTC) FILETIME=[4E8E6980:01CB84C9] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 15 Nov 2010 08:26:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:41636 Archived-At: Yes I am using unexelf.c I agree that changing the compiler should not be important, although it is in the bit of code that atempts to rewrite an ELF binary!!! I am attempting to down the dev code. Will take a while as I have to learn to use Bazaar. I am downloading emacs-23.2 directory by mistake, but will let that finish and download the latest "trunk". I cannot spend long on this unfortunately, but will see what I can report back. I downloaded the source of the HP managed port which appeared to also have an Itanium binary for 22.3 from http://hpux.connect.org.uk/hppd/hpux/Editors/emacs-22.3/ I then compared that with the source tree from GNU. There were a few changes but the configure program had been modified with=20 an "if HP-UX" block of code right near the start of the script. As I said, it looked a bit of a hack.=20 Upshot was I managed to get as far as I described below after integrating the few changes the above appeared to have. I also did a google search and found an patch for HPUX and 23.2 by Peter O'Gorman. I have applied that. Will get back if I get anywhere. Thanks Andrew =09 -----Original Message----- From: Dan Nicolaescu [mailto:dann@gnu.org]=20 Sent: 13 November 2010 05:45 To: Maguire, Andrew (GE Energy) Cc: 7387@debbugs.gnu.org Subject: Re: bug#7387: 23.2; Emacs port to HP-UX ia64 "Maguire, Andrew (GE Energy)" writes: > I have been attempting a port to Itanium HP-UX 11.23. > I have managed to change the configure etc. to successfully produce a > seemingly > valid bootstrap-emacs executable. > However, when it runs it immediately returns the error: > > emacs: Invalid function: run-hooks > > This at a guess implies it is running the low level C functions but > appears to be > failing to find the Lisp function binding. > If anyone has any clues as to what could be wrong or things to try=20 > or where to look in the initialisation sequence please let me know. > The gdb environment on the machine unfortunately does not appear usable > at present, returning the unhelpful error: > Error trying to get information from the dynamic linker. Did you use unexelf.c for dumping? =20 > I am also using gcc 4.3.3. I know that there is a port done by HP for > ia64 for version 22.3 > but its configure program appeared to have been hacked to use HP's cc > compiler not gcc. What kind of hacks? Changing the compiler should not be very important. Can you please try the trunk? There have been some fixes for HPUX specific problems.