From unknown Sun Jun 22 15:23:54 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#6811 <6811@debbugs.gnu.org> To: bug#6811 <6811@debbugs.gnu.org> Subject: Status: add dump support for hpux ia64 Reply-To: bug#6811 <6811@debbugs.gnu.org> Date: Sun, 22 Jun 2025 22:23:54 +0000 retitle 6811 add dump support for hpux ia64 reassign 6811 emacs submitter 6811 "Peter O'Gorman" severity 6811 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 06 12:33:19 2010 Received: (at submit) by debbugs.gnu.org; 6 Aug 2010 16:33:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OhPrC-0006bX-9j for submit@debbugs.gnu.org; Fri, 06 Aug 2010 12:33:18 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OhPmU-0006Xk-ON for submit@debbugs.gnu.org; Fri, 06 Aug 2010 12:28:27 -0400 Received: from lists.gnu.org ([199.232.76.165]:41876) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OhPn2-0004MA-Mj for submit@debbugs.gnu.org; Fri, 06 Aug 2010 12:29:00 -0400 Received: from [140.186.70.92] (port=42536 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OhPmz-0006lg-SI for bug-gnu-emacs@gnu.org; Fri, 06 Aug 2010 12:29:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_FRT_STOCK2, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OhPaw-0005ub-0s for bug-gnu-emacs@gnu.org; Fri, 06 Aug 2010 12:16:31 -0400 Received: from mail1.thewrittenword.com ([69.67.212.77]:57111) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OhPav-0005uN-ST for bug-gnu-emacs@gnu.org; Fri, 06 Aug 2010 12:16:29 -0400 Received: from mail1.il.thewrittenword.com (emma-internal-gw.il.thewrittenword.com [192.168.13.25]) by mail1.thewrittenword.com (Postfix) with ESMTP id B9C255CC2 for ; Fri, 6 Aug 2010 16:35:57 +0000 (UTC) X-DKIM: Sendmail DKIM Filter v2.4.4 mail1.thewrittenword.com B9C255CC2 Received: from tw.local (unknown [192.168.1.254]) by mail1.il.thewrittenword.com (Postfix) with ESMTP id 94D0612E9 for ; Fri, 6 Aug 2010 16:16:28 +0000 (UTC) Received: from tw.local (tw.local [127.0.0.1]) by tw.local (8.14.4/8.14.4) with ESMTP id o76GGRpN002759 for ; Fri, 6 Aug 2010 11:16:27 -0500 Received: (from pogma@localhost) by tw.local (8.14.4/8.14.4/Submit) id o76GGRUe002757 for bug-gnu-emacs@gnu.org; Fri, 6 Aug 2010 11:16:27 -0500 X-Authentication-Warning: tw.local: pogma set sender to pogma@thewrittenword.com using -f Date: Fri, 6 Aug 2010 11:16:27 -0500 From: "Peter O'Gorman" To: bug-gnu-emacs@gnu.org Subject: [PATCH] emacs-23.2 on hpux Message-ID: <20100806161627.GM7715@tw.local> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="sdtB3X0nJg68CQEu" Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-12-10) X-Virus-Scanned: clamav-milter 0.96.1 at maetel.il.thewrittenword.com X-Virus-Status: Clean X-detected-operating-system: by eggs.gnu.org: FreeBSD 6.x (1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 06 Aug 2010 12:33:18 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, Attached is a patch that allows us to build emacs-23.2 on our HP-UX systems (10.20, 11.00 and 11.11 PA-RISC and 11.23, 11.31 both PA and IA64). Older hpux systems do not have setegid(), so I instead #defined it using setregid. I must admit to being a little worried about this, simply because the setegid() usage was introduced to fix a security flaw. ORDINARY_LINK works. All of our hpux systems have termios. We had problems both on HPUX and AIX crashing running temacs during the build with a memory fault, turns out to be due to the fact that DATA_SEG_BITS was not being added back in. This may not be the best fix for the problem, but works for us. Other notes: Please restore the OSF/1 files etc. we still build on an OSF/1 system. We also build on solaris 6, please don't remove it. Peter -- Peter O'Gorman pogma@thewrittenword.com --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="emacs_23_2_hpux.patch" Index: configure.in =================================================================== --- configure.in.orig 2010-08-02 22:49:24.298009472 +0000 +++ configure.in 2010-08-06 16:01:20.204304769 +0000 @@ -504,6 +504,10 @@ CFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CFLAGS" ;; + ia64*-hp-hpux1[1-9]* ) + machine=hp800 opsys=hpux11 + ;; + hppa*-*-linux-gnu* ) machine=hp800 opsys=gnu-linux ;; @@ -2333,7 +2337,7 @@ sendto recvfrom getsockopt setsockopt getsockname getpeername \ gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ -cfmakeraw cfsetspeed) +setregid setegid cfmakeraw cfsetspeed) AC_CHECK_HEADERS(sys/un.h) Index: src/s/hpux10-20.h =================================================================== --- src/s/hpux10-20.h.orig 2010-08-02 22:49:24.309919775 +0000 +++ src/s/hpux10-20.h 2010-08-06 15:37:50.432830578 +0000 @@ -31,6 +31,8 @@ #define HPUX +#define ORDINARY_LINK + /* SYSTEM_TYPE should indicate the kind of system you are using. It sets the Lisp variable system-type. */ @@ -46,7 +48,8 @@ * for terminal control. */ -#define HAVE_TERMIO +#define NO_TERMIO +#define HAVE_TERMIOS /* * Define HAVE_PTYS if the system supports pty devices. @@ -116,7 +119,9 @@ #define NO_EDITRES /* Tested in getloadavg.c. */ +#ifndef HAVE_PSTAT_GETDYNAMIC #define HAVE_PSTAT_GETDYNAMIC +#endif /* Eric Backus says, HP-UX 9.x on HP 700 machines has a broken `rint' in some library versions including math library Index: src/s/hpux11.h =================================================================== --- src/s/hpux11.h.orig 2010-08-02 22:49:24.302598951 +0000 +++ src/s/hpux11.h 2010-08-03 04:21:16.274466073 +0000 @@ -12,5 +12,9 @@ then close and reopen it in the child. */ #define USG_SUBTTY_WORKS +#if __ia64 +#define CANNOT_DUMP 1 +#endif + /* arch-tag: f5a3d780-82cd-4a9a-832e-a4031aab788b (do not change this comment) */ Index: lib-src/movemail.c =================================================================== --- lib-src/movemail.c.orig 2010-08-06 15:44:45.000000000 +0000 +++ lib-src/movemail.c 2010-08-06 15:46:51.732281428 +0000 @@ -151,6 +151,14 @@ extern char *rindex __P((const char *, int)); #endif +#ifndef HAVE_SETEGID +# ifdef HAVE_SETREGID +# define setegid(x) setregid(-1,x) +# else +# error This system has neither setegid nor setregid +# endif +#endif + void fatal (); void error (); void pfatal_with_name (); Index: src/lisp.h =================================================================== --- src/lisp.h.orig 2010-08-06 15:41:41.000000000 +0000 +++ src/lisp.h 2010-08-06 15:41:54.344492292 +0000 @@ -431,9 +431,12 @@ #define XSET(var, type, ptr) \ ((var) = ((EMACS_INT)(type) << VALBITS) + ((EMACS_INT) (ptr) & VALMASK)) +#ifdef DATA_SEG_BITS +#define XPNTR(a) ((EMACS_UINT) (((a) & VALMASK) | DATA_SEG_BITS)) +#else #define XPNTR(a) ((EMACS_UINT) ((a) & VALMASK)) - +#endif #endif /* not USE_LSB_TAG */ #else /* USE_LISP_UNION_TYPE */ --sdtB3X0nJg68CQEu-- From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 09 05:47:19 2010 Received: (at 6811) by debbugs.gnu.org; 9 Aug 2010 09:47:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiOwx-0004T9-Aa for submit@debbugs.gnu.org; Mon, 09 Aug 2010 05:47:19 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiOww-0004T4-0P for 6811@debbugs.gnu.org; Mon, 09 Aug 2010 05:47:18 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OiOxa-0000NG-Tj; Mon, 09 Aug 2010 05:47:58 -0400 To: "Peter O'Gorman" Subject: Re: bug#6811: [PATCH] emacs-23.2 on hpux References: <20100806161627.GM7715@tw.local> From: Dan Nicolaescu X-Debbugs-No-Ack: yes Date: Mon, 09 Aug 2010 05:47:58 -0400 In-Reply-To: <20100806161627.GM7715@tw.local> (Peter O'Gorman's message of "Fri\, 6 Aug 2010 11\:16\:27 -0500") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 6811 Cc: 6811@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) "Peter O'Gorman" writes: > Hi, > > Attached is a patch that allows us to build emacs-23.2 on our HP-UX > systems (10.20, 11.00 and 11.11 PA-RISC and 11.23, 11.31 both PA and > IA64). Thanks! > Index: configure.in > =================================================================== > --- configure.in.orig 2010-08-02 22:49:24.298009472 +0000 > +++ configure.in 2010-08-06 16:01:20.204304769 +0000 > @@ -504,6 +504,10 @@ > CFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CFLAGS" > ;; > > + ia64*-hp-hpux1[1-9]* ) > + machine=hp800 opsys=hpux11 I think new ports need to be approved by the maintainers. This looks a bit odd. Shouldn't the machine file be ia64? Or a new file with ia64 in the name? > Index: src/s/hpux10-20.h > =================================================================== > --- src/s/hpux10-20.h.orig 2010-08-02 22:49:24.309919775 +0000 > +++ src/s/hpux10-20.h 2010-08-06 15:37:50.432830578 +0000 > @@ -31,6 +31,8 @@ > > #define HPUX > > +#define ORDINARY_LINK > + > /* SYSTEM_TYPE should indicate the kind of system you are using. > It sets the Lisp variable system-type. */ > > @@ -46,7 +48,8 @@ > * for terminal control. > */ > > -#define HAVE_TERMIO > +#define NO_TERMIO > +#define HAVE_TERMIOS I'll check these in. The last hunk is especially interesting, as hpux was the last platform to use HAVE_TERMIO, so that will allow for a lot of simplifications in the code... > /* Tested in getloadavg.c. */ > +#ifndef HAVE_PSTAT_GETDYNAMIC > #define HAVE_PSTAT_GETDYNAMIC > +#endif If autoconf sets HAVE_PSTAT_GETDYNAMIC, then it seems that it's better to just remove the #define. > > /* Eric Backus says, HP-UX 9.x on HP 700 machines > has a broken `rint' in some library versions including math library > Index: src/s/hpux11.h > =================================================================== > --- src/s/hpux11.h.orig 2010-08-02 22:49:24.302598951 +0000 > +++ src/s/hpux11.h 2010-08-03 04:21:16.274466073 +0000 > @@ -12,5 +12,9 @@ > then close and reopen it in the child. */ > #define USG_SUBTTY_WORKS > > +#if __ia64 > +#define CANNOT_DUMP 1 > +#endif This looks bad, we don't have any port in the tree that does CANNOT_DUMP. Does it work if you dump using unexelf.o? > Index: src/lisp.h > =================================================================== > --- src/lisp.h.orig 2010-08-06 15:41:41.000000000 +0000 > +++ src/lisp.h 2010-08-06 15:41:54.344492292 +0000 > @@ -431,9 +431,12 @@ > > #define XSET(var, type, ptr) \ > ((var) = ((EMACS_INT)(type) << VALBITS) + ((EMACS_INT) (ptr) & VALMASK)) > +#ifdef DATA_SEG_BITS > > +#define XPNTR(a) ((EMACS_UINT) (((a) & VALMASK) | DATA_SEG_BITS)) > +#else > #define XPNTR(a) ((EMACS_UINT) ((a) & VALMASK)) > - > +#endif > #endif /* not USE_LSB_TAG */ > > #else /* USE_LISP_UNION_TYPE */ There's some code that does DATA_SEG_BITS further down in the file, maybe some untangling is needed in lisp.h... From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 09 07:04:33 2010 Received: (at 6811) by debbugs.gnu.org; 9 Aug 2010 11:04:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiQ9h-00057l-EX for submit@debbugs.gnu.org; Mon, 09 Aug 2010 07:04:33 -0400 Received: from smtprelay-b11.telenor.se ([62.127.194.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiQ9e-00057f-HW for 6811@debbugs.gnu.org; Mon, 09 Aug 2010 07:04:31 -0400 Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-b11.telenor.se (Postfix) with ESMTP id 49A3DEAADF for <6811@debbugs.gnu.org>; Mon, 9 Aug 2010 13:05:11 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aow7AH59X0xV4S0jPGdsb2JhbACHZ5hcDAEBAQE1LcB3hToE X-IronPort-AV: E=Sophos;i="4.55,341,1278280800"; d="scan'208";a="559399284" Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb3.telenor.se with ESMTP; 09 Aug 2010 13:05:10 +0200 Received: from [172.20.199.14] (zeplinf [172.20.199.14]) by coolsville.localdomain (Postfix) with ESMTPSA id 280337FA05A; Mon, 9 Aug 2010 13:05:10 +0200 (CEST) Message-ID: <4C5FE0E5.6070007@swipnet.se> Date: Mon, 09 Aug 2010 13:05:09 +0200 From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Dan Nicolaescu Subject: Re: bug#6811: [PATCH] emacs-23.2 on hpux References: <20100806161627.GM7715@tw.local> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 6811 Cc: 6811@debbugs.gnu.org, Peter O'Gorman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) Dan Nicolaescu skrev 2010-08-09 11.47: > "Peter O'Gorman" writes: >> >> -#define HAVE_TERMIO >> +#define NO_TERMIO >> +#define HAVE_TERMIOS > > I'll check these in. The last hunk is especially interesting, as hpux > was the last platform to use HAVE_TERMIO, so that will allow for a lot > of simplifications in the code... > This must have been a leftover from a very old HP-UX. AFAIK, HP-UX has had termios since HP-UX 7 or 8. Jan D. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 09 12:21:52 2010 Received: (at 6811) by debbugs.gnu.org; 9 Aug 2010 16:21:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiV6m-0008EY-5P for submit@debbugs.gnu.org; Mon, 09 Aug 2010 12:21:52 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiV6k-0008ER-3z for 6811@debbugs.gnu.org; Mon, 09 Aug 2010 12:21:50 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OiV7O-0003n3-Tv; Mon, 09 Aug 2010 12:22:30 -0400 To: Jan =?iso-8859-1?Q?Dj=E4rv?= Subject: Re: bug#6811: [PATCH] emacs-23.2 on hpux References: <20100806161627.GM7715@tw.local> <4C5FE0E5.6070007@swipnet.se> From: Dan Nicolaescu X-Debbugs-No-Ack: yes Date: Mon, 09 Aug 2010 12:22:30 -0400 In-Reply-To: <4C5FE0E5.6070007@swipnet.se> ("Jan =?iso-8859-1?Q?Dj=E4rv=22?= =?iso-8859-1?Q?'s?= message of "Mon\, 09 Aug 2010 13\:05\:09 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 6811 Cc: 6811@debbugs.gnu.org, Peter O'Gorman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) Jan Dj=E4rv writes: > Dan Nicolaescu skrev 2010-08-09 11.47: >> "Peter O'Gorman" writes: >>> >>> -#define HAVE_TERMIO >>> +#define NO_TERMIO >>> +#define HAVE_TERMIOS >> >> I'll check these in. The last hunk is especially interesting, as hpux >> was the last platform to use HAVE_TERMIO, so that will allow for a lot >> of simplifications in the code... >> > > This must have been a leftover from a very old HP-UX. AFAIK, HP-UX > has had termios since HP-UX 7 or 8. Unfortunately we don't really have platform maintainers, so things like this do not get updated... From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 09 15:37:22 2010 Received: (at 6811) by debbugs.gnu.org; 9 Aug 2010 19:37:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiY9x-0001GH-IQ for submit@debbugs.gnu.org; Mon, 09 Aug 2010 15:37:22 -0400 Received: from mail-out.m-online.net ([212.18.0.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiY9u-0001GB-Bb for 6811@debbugs.gnu.org; Mon, 09 Aug 2010 15:37:19 -0400 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id B37DA1C0090B; Mon, 9 Aug 2010 21:37:59 +0200 (CEST) Received: from igel.home (ppp-88-217-121-110.dynamic.mnet-online.de [88.217.121.110]) by mail.mnet-online.de (Postfix) with ESMTP id 8760B1C00203; Mon, 9 Aug 2010 21:37:59 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id DC187CA297; Mon, 9 Aug 2010 21:37:58 +0200 (CEST) From: Andreas Schwab To: Dan Nicolaescu Subject: Re: bug#6811: [PATCH] emacs-23.2 on hpux References: <20100806161627.GM7715@tw.local> X-Yow: Where do your SOCKS go when you lose them in th' WASHER? Date: Mon, 09 Aug 2010 21:37:58 +0200 In-Reply-To: (Dan Nicolaescu's message of "Mon, 09 Aug 2010 05:47:58 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 6811 Cc: 6811@debbugs.gnu.org, Peter O'Gorman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Dan Nicolaescu writes: > "Peter O'Gorman" writes: > >> Index: configure.in >> =================================================================== >> --- configure.in.orig 2010-08-02 22:49:24.298009472 +0000 >> +++ configure.in 2010-08-06 16:01:20.204304769 +0000 >> @@ -504,6 +504,10 @@ >> CFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CFLAGS" >> ;; >> >> + ia64*-hp-hpux1[1-9]* ) >> + machine=hp800 opsys=hpux11 > > I think new ports need to be approved by the maintainers. > This looks a bit odd. > Shouldn't the machine file be ia64? Or a new file with ia64 in the name? Now that WORDS_BIG_ENDIAN is no longer hardcoded there is no reason any more not to use machine=ia64. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 09 16:41:24 2010 Received: (at 6811) by debbugs.gnu.org; 9 Aug 2010 20:41:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiZ9v-0001zB-I3 for submit@debbugs.gnu.org; Mon, 09 Aug 2010 16:41:24 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiZ9s-0001z0-5g for 6811@debbugs.gnu.org; Mon, 09 Aug 2010 16:41:20 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OiZAX-0006FZ-K8; Mon, 09 Aug 2010 16:42:01 -0400 To: Jan =?iso-8859-1?Q?Dj=E4rv?= Subject: Re: bug#6811: [PATCH] emacs-23.2 on hpux References: <20100806161627.GM7715@tw.local> <4C5FE0E5.6070007@swipnet.se> From: Dan Nicolaescu X-Debbugs-No-Ack: yes Date: Mon, 09 Aug 2010 16:42:01 -0400 In-Reply-To: <4C5FE0E5.6070007@swipnet.se> ("Jan =?iso-8859-1?Q?Dj=E4rv=22?= =?iso-8859-1?Q?'s?= message of "Mon\, 09 Aug 2010 13\:05\:09 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 6811 Cc: 6811@debbugs.gnu.org, Peter O'Gorman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) Jan Dj=E4rv writes: > Dan Nicolaescu skrev 2010-08-09 11.47: >> "Peter O'Gorman" writes: >>> >>> -#define HAVE_TERMIO >>> +#define NO_TERMIO >>> +#define HAVE_TERMIOS >> >> I'll check these in. The last hunk is especially interesting, as hpux >> was the last platform to use HAVE_TERMIO, so that will allow for a lot >> of simplifications in the code... >> > > This must have been a leftover from a very old HP-UX. AFAIK, HP-UX > has had termios since HP-UX 7 or 8. How about this code from systty.h: /* EMACS_HAVE_TTY_PGRP is true if we can get and set the tty's current controlling process group. EMACS_GET_TTY_PGRP(int FD, int *PGID) sets *PGID the terminal FD's current process group. Return -1 if there is an error. EMACS_SET_TTY_PGRP(int FD, int *PGID) sets the terminal FD's current process group to *PGID. Return -1 if there is an error. */ /* HPUX tty process group stuff doesn't work, says the anonymous voice from the past. */ #ifndef HPUX #ifdef TIOCGPGRP #define EMACS_HAVE_TTY_PGRP #else #ifdef HAVE_TERMIOS #define EMACS_HAVE_TTY_PGRP #endif /* HAVE_TERMIOS */ #endif /* TIOCGPGRP */ #endif /* not HPUX */ can the HPUX special case be removed now?=20 From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 09 16:45:57 2010 Received: (at 6811) by debbugs.gnu.org; 9 Aug 2010 20:45:57 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiZEL-00021T-2E for submit@debbugs.gnu.org; Mon, 09 Aug 2010 16:45:57 -0400 Received: from mail1.thewrittenword.com ([69.67.212.77]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiZ9t-0001z2-Dk for 6811@debbugs.gnu.org; Mon, 09 Aug 2010 16:41:21 -0400 Received: from mail1.il.thewrittenword.com (emma-internal-gw.il.thewrittenword.com [192.168.13.25]) by mail1.thewrittenword.com (Postfix) with ESMTP id 69F6A5CB4; Mon, 9 Aug 2010 21:01:40 +0000 (UTC) X-DKIM: Sendmail DKIM Filter v2.4.4 mail1.thewrittenword.com 69F6A5CB4 Received: from tw.local (unknown [192.168.1.254]) by mail1.il.thewrittenword.com (Postfix) with ESMTP id 852F81317; Mon, 9 Aug 2010 20:42:03 +0000 (UTC) Received: from tw.local (tw.local [127.0.0.1]) by tw.local (8.14.4/8.14.4) with ESMTP id o79Kg2Z2012786; Mon, 9 Aug 2010 15:42:02 -0500 Received: (from pogma@localhost) by tw.local (8.14.4/8.14.4/Submit) id o79Kg2W1012784; Mon, 9 Aug 2010 15:42:02 -0500 X-Authentication-Warning: tw.local: pogma set sender to pogma@thewrittenword.com using -f Date: Mon, 9 Aug 2010 15:42:02 -0500 From: "Peter O'Gorman" To: Dan Nicolaescu Subject: Re: bug#6811: [PATCH] emacs-23.2 on hpux Message-ID: <20100809204202.GQ7715@tw.local> References: <20100806161627.GM7715@tw.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-12-10) X-Virus-Scanned: clamav-milter 0.96.1 at maetel.il.thewrittenword.com X-Virus-Status: Clean X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: 6811 X-Mailman-Approved-At: Mon, 09 Aug 2010 16:45:55 -0400 Cc: 6811@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) On Mon, Aug 09, 2010 at 05:47:58AM -0400, Dan Nicolaescu wrote: > > + ia64*-hp-hpux1[1-9]* ) > > + machine=hp800 opsys=hpux11 > > I think new ports need to be approved by the maintainers. > This looks a bit odd. > Shouldn't the machine file be ia64? Or a new file with ia64 in the name? At least for 23.2 ia64.h doesn't work. We'll try again on the next release. > > > /* Tested in getloadavg.c. */ > > +#ifndef HAVE_PSTAT_GETDYNAMIC > > #define HAVE_PSTAT_GETDYNAMIC > > +#endif > > If autoconf sets HAVE_PSTAT_GETDYNAMIC, then it seems that it's better > to just remove the #define. Sure, autoconf does set it. > > > > +#if __ia64 > > +#define CANNOT_DUMP 1 > > +#endif > > This looks bad, we don't have any port in the tree that does CANNOT_DUMP. > Does it work if you dump using unexelf.o? No. > > > > #else /* USE_LISP_UNION_TYPE */ > > There's some code that does DATA_SEG_BITS further down in the file, > maybe some untangling is needed in lisp.h... That would be nice, it gave me a headache :-) Peter -- Peter O'Gorman pogma@thewrittenword.com From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 09 19:12:49 2010 Received: (at 6811) by debbugs.gnu.org; 9 Aug 2010 23:12:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OibWT-00030x-4Y for submit@debbugs.gnu.org; Mon, 09 Aug 2010 19:12:49 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OibWQ-00030s-NT for 6811@debbugs.gnu.org; Mon, 09 Aug 2010 19:12:47 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OibX7-00037l-2J; Mon, 09 Aug 2010 19:13:29 -0400 To: "Peter O'Gorman" Subject: Re: bug#6811: [PATCH] emacs-23.2 on hpux References: <20100806161627.GM7715@tw.local> <20100809204202.GQ7715@tw.local> From: Dan Nicolaescu X-Debbugs-No-Ack: yes Date: Mon, 09 Aug 2010 19:13:29 -0400 In-Reply-To: <20100809204202.GQ7715@tw.local> (Peter O'Gorman's message of "Mon\, 9 Aug 2010 15\:42\:02 -0500") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 6811 Cc: 6811@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) "Peter O'Gorman" writes: > On Mon, Aug 09, 2010 at 05:47:58AM -0400, Dan Nicolaescu wrote: >> > + ia64*-hp-hpux1[1-9]* ) >> > + machine=hp800 opsys=hpux11 >> >> I think new ports need to be approved by the maintainers. >> This looks a bit odd. >> Shouldn't the machine file be ia64? Or a new file with ia64 in the name? > > At least for 23.2 ia64.h doesn't work. We'll try again on the next > release. Could you try it before the next release, that's the only way it would have a chance to be fixed, there's not that many users of HPUX on the emacs mailing lists. >> > /* Tested in getloadavg.c. */ >> > +#ifndef HAVE_PSTAT_GETDYNAMIC >> > #define HAVE_PSTAT_GETDYNAMIC >> > +#endif >> >> If autoconf sets HAVE_PSTAT_GETDYNAMIC, then it seems that it's better >> to just remove the #define. > > Sure, autoconf does set it. OK, I'll remove it then. >> > +#if __ia64 >> > +#define CANNOT_DUMP 1 >> > +#endif >> >> This looks bad, we don't have any port in the tree that does CANNOT_DUMP. >> Does it work if you dump using unexelf.o? > > No. Bummer, then, IMVHO, this is not ready to be included... From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 10 05:07:53 2010 Received: (at 6811) by debbugs.gnu.org; 10 Aug 2010 09:07:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OikoL-00075i-DR for submit@debbugs.gnu.org; Tue, 10 Aug 2010 05:07:53 -0400 Received: from impaqm3.telefonica.net ([213.4.138.3]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OikoJ-00075d-4P for 6811@debbugs.gnu.org; Tue, 10 Aug 2010 05:07:52 -0400 Received: from IMPmailhost2.adm.correo ([10.20.102.39]) by IMPaqm3.telefonica.net with bizsmtp id sZ0f1e00v0r0BT63PZ8awJ; Tue, 10 Aug 2010 11:08:34 +0200 Received: from ceviche.home ([83.40.4.203]) by IMPmailhost2.adm.correo with BIZ IMP id sZ8L1e00B4NokFF1iZ8MSF; Tue, 10 Aug 2010 11:08:21 +0200 X-Brightmail-Tracker: AAAAAA== X-TE-authinfo: authemail="monnier$movistar.es" |auth_email="monnier@movistar.es" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc01" Received: by ceviche.home (Postfix, from userid 20848) id 55B9466138; Tue, 10 Aug 2010 11:08:20 +0200 (CEST) From: Stefan Monnier To: Dan Nicolaescu Subject: Re: bug#6811: [PATCH] emacs-23.2 on hpux Message-ID: References: <20100806161627.GM7715@tw.local> <20100809204202.GQ7715@tw.local> Date: Tue, 10 Aug 2010 11:08:20 +0200 In-Reply-To: (Dan Nicolaescu's message of "Mon, 09 Aug 2010 19:13:29 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.2 (--) X-Debbugs-Envelope-To: 6811 Cc: 6811@debbugs.gnu.org, Peter O'Gorman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.2 (--) >>> > + ia64*-hp-hpux1[1-9]* ) >>> > + machine=hp800 opsys=hpux11 >>> I think new ports need to be approved by the maintainers. That's OK. >>> This looks a bit odd. Shouldn't the machine file be ia64? Or a new >>> file with ia64 in the name? hp800.h is the only hp*.h we have, so it seems to apply to all hp machines. I don't think we need to worry too much about the presence/absence of ia64 in the name: most of the stuff in hp800.h (the one from emacs-23, I mean) is OS-dependent rather than machine dependent, as is almost always the case nowadays. >>> > +#if __ia64 >>> > +#define CANNOT_DUMP 1 >>> > +#endif >>> This looks bad, we don't have any port in the tree that does CANNOT_DUMP. >>> Does it work if you dump using unexelf.o? >> No. > Bummer, then, IMVHO, this is not ready to be included... It's not ready for real use, but that doesn't mean we can't include it. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 10 06:03:30 2010 Received: (at 6811) by debbugs.gnu.org; 10 Aug 2010 10:03:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oilg9-0007SV-ND for submit@debbugs.gnu.org; Tue, 10 Aug 2010 06:03:29 -0400 Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oilg8-0007SQ-8w for 6811@debbugs.gnu.org; Tue, 10 Aug 2010 06:03:29 -0400 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 08D0D1C15EB3; Tue, 10 Aug 2010 12:04:10 +0200 (CEST) Received: from hase.home (ppp-88-217-111-172.dynamic.mnet-online.de [88.217.111.172]) by mail.mnet-online.de (Postfix) with ESMTP id 940191C00145; Tue, 10 Aug 2010 12:04:10 +0200 (CEST) From: Andreas Schwab To: Stefan Monnier Subject: Re: bug#6811: [PATCH] emacs-23.2 on hpux References: <20100806161627.GM7715@tw.local> <20100809204202.GQ7715@tw.local> X-Yow: How do I get HOME? Date: Tue, 10 Aug 2010 12:04:10 +0200 In-Reply-To: (Stefan Monnier's message of "Tue, 10 Aug 2010 11:08:20 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 6811 Cc: Dan Nicolaescu , 6811@debbugs.gnu.org, Peter O'Gorman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Stefan Monnier writes: > hp800.h is the only hp*.h we have, so it seems to apply to all hp machines. > I don't think we need to worry too much about the presence/absence of > ia64 in the name: That does not make sense, hp800 are hppa-based systems. A lot of HPUX configurations were removed 2 years ago, including support for m68k-based systems (hp9000s300). > most of the stuff in hp800.h (the one from emacs-23, > I mean) is OS-dependent rather than machine dependent, as is almost > always the case nowadays. Then this stuff should be moved to s/*.h. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 10 08:33:10 2010 Received: (at 6811) by debbugs.gnu.org; 10 Aug 2010 12:33:10 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oio0z-0000ja-Pd for submit@debbugs.gnu.org; Tue, 10 Aug 2010 08:33:09 -0400 Received: from impaqm2.telefonica.net ([213.4.138.2]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oio0y-0000jL-E3 for 6811@debbugs.gnu.org; Tue, 10 Aug 2010 08:33:09 -0400 Received: from IMPmailhost2.adm.correo ([10.20.102.39]) by IMPaqm2.telefonica.net with bizsmtp id scX91e0030r0BT63McZrR3; Tue, 10 Aug 2010 14:33:51 +0200 Received: from ceviche.home ([83.40.4.203]) by IMPmailhost2.adm.correo with BIZ IMP id scZp1e00F4NokFF1icZq9p; Tue, 10 Aug 2010 14:33:51 +0200 X-Brightmail-Tracker: AAAAAA== X-TE-authinfo: authemail="monnier$movistar.es" |auth_email="monnier@movistar.es" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc01" Received: by ceviche.home (Postfix, from userid 20848) id 92CA366138; Tue, 10 Aug 2010 14:33:49 +0200 (CEST) From: Stefan Monnier To: Andreas Schwab Subject: Re: bug#6811: [PATCH] emacs-23.2 on hpux Message-ID: References: <20100806161627.GM7715@tw.local> <20100809204202.GQ7715@tw.local> Date: Tue, 10 Aug 2010 14:33:49 +0200 In-Reply-To: (Andreas Schwab's message of "Tue, 10 Aug 2010 12:04:10 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 6811 Cc: Dan Nicolaescu , 6811@debbugs.gnu.org, Peter O'Gorman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) >> most of the stuff in hp800.h (the one from emacs-23, >> I mean) is OS-dependent rather than machine dependent, as is almost >> always the case nowadays. > Then this stuff should be moved to s/*.h. Probably, tho it'd be more better to move them to autoconf. In trunk, hp800 only defines EXPLICIT_SIGN_EXTEND, which should not be hard to autoconfigure. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 10 10:13:49 2010 Received: (at 6811) by debbugs.gnu.org; 10 Aug 2010 14:13:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OipaP-0001R5-9I for submit@debbugs.gnu.org; Tue, 10 Aug 2010 10:13:49 -0400 Received: from smtprelay-h22.telenor.se ([195.54.99.197]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OipaM-0001R0-R3 for 6811@debbugs.gnu.org; Tue, 10 Aug 2010 10:13:47 -0400 Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id 49C1FEA117 for <6811@debbugs.gnu.org>; Tue, 10 Aug 2010 16:14:08 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkgvAP/7YExV4S0jPGdsb2JhbACHZ5hvDAEBAQE1LcNNhToE X-IronPort-AV: E=Sophos;i="4.55,348,1278280800"; d="scan'208";a="117571361" Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb1.telenor.se with ESMTP; 10 Aug 2010 16:14:07 +0200 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 1FB397FA05A; Tue, 10 Aug 2010 16:14:07 +0200 (CEST) Message-ID: <4C615EAE.3090309@swipnet.se> Date: Tue, 10 Aug 2010 16:14:06 +0200 From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Dan Nicolaescu Subject: Re: bug#6811: [PATCH] emacs-23.2 on hpux References: <20100806161627.GM7715@tw.local> <4C5FE0E5.6070007@swipnet.se> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 6811 Cc: 6811@debbugs.gnu.org, Peter O'Gorman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) Dan Nicolaescu skrev 2010-08-09 22.42: > Jan Dj=E4rv writes: > >> This must have been a leftover from a very old HP-UX. AFAIK, HP-UX >> has had termios since HP-UX 7 or 8. > > How about this code from systty.h: > > > /* EMACS_HAVE_TTY_PGRP is true if we can get and set the tty's current > controlling process group. > > EMACS_GET_TTY_PGRP(int FD, int *PGID) sets *PGID the terminal FD's > current process group. Return -1 if there is an error. > > EMACS_SET_TTY_PGRP(int FD, int *PGID) sets the terminal FD's > current process group to *PGID. Return -1 if there is an error. *= / > > /* HPUX tty process group stuff doesn't work, says the anonymous voice > from the past. */ > #ifndef HPUX > #ifdef TIOCGPGRP > #define EMACS_HAVE_TTY_PGRP > #else > #ifdef HAVE_TERMIOS > #define EMACS_HAVE_TTY_PGRP > #endif /* HAVE_TERMIOS */ > #endif /* TIOCGPGRP */ > #endif /* not HPUX */ > > can the HPUX special case be removed now? I don't have access to any HP-UX so I can't check. But I do remmeber usi= ng=20 tcsetpgrp/tcgetpgrp on HP-UX in the early nineties. HP-UX was big on POS= IX.1=20 back then and those functions are from there. They are in the online HP-= UX=20 man pages, from 2005. Jan D. From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 23 17:55:33 2011 Received: (at 6811) by debbugs.gnu.org; 23 Jan 2011 22:55:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ph8qL-0003Hv-Ip for submit@debbugs.gnu.org; Sun, 23 Jan 2011 17:55:33 -0500 Received: from vm-emlprdomr-05.its.yale.edu ([130.132.50.146]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ph8qJ-0003Hj-ER for 6811@debbugs.gnu.org; Sun, 23 Jan 2011 17:55:32 -0500 Received: from furball (162.254.218.209.transedge.com [209.218.254.162]) (authenticated bits=0) by vm-emlprdomr-05.its.yale.edu (8.14.4/8.14.4) with ESMTP id p0NN3UUj027757 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 23 Jan 2011 18:03:30 -0500 Received: by furball (Postfix, from userid 1000) id E88AD160772; Sun, 23 Jan 2011 18:03:26 -0500 (EST) From: Chong Yidong To: "Peter O'Gorman" Subject: Re: [PATCH] emacs-23.2 on hpux Date: Sun, 23 Jan 2011 18:03:26 -0500 Message-ID: <87mxmrz0ht.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.146 X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 6811 Cc: 6811@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) > Attached is a patch that allows us to build emacs-23.2 on our HP-UX > systems (10.20, 11.00 and 11.11 PA-RISC and 11.23, 11.31 both PA and > IA64). I think all the pieces of this patch are in the branch now. Hopefully, someone can work on the inability to dump on ia-64. From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 23 17:55:50 2011 Received: (at control) by debbugs.gnu.org; 23 Jan 2011 22:55:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ph8qc-0003IQ-Dy for submit@debbugs.gnu.org; Sun, 23 Jan 2011 17:55:50 -0500 Received: from vm-emlprdomr-06.its.yale.edu ([130.132.50.147]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ph8qa-0003ID-5K for control@debbugs.gnu.org; Sun, 23 Jan 2011 17:55:48 -0500 Received: from furball (162.254.218.209.transedge.com [209.218.254.162]) (authenticated bits=0) by vm-emlprdomr-06.its.yale.edu (8.14.4/8.14.4) with ESMTP id p0NN3moU014568 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 23 Jan 2011 18:03:48 -0500 Received: by furball (Postfix, from userid 1000) id 43D74160772; Sun, 23 Jan 2011 18:03:45 -0500 (EST) From: Chong Yidong To: control@debbugs.gnu.org Subject: severity 6811 normal Date: Sun, 23 Jan 2011 18:03:45 -0500 Message-ID: <87k4hvz0ha.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.147 X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) severity 6811 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 24 08:52:21 2011 Received: (at submit) by debbugs.gnu.org; 24 Jan 2011 13:52:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PhMqC-0000Au-UP for submit@debbugs.gnu.org; Mon, 24 Jan 2011 08:52:21 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PhMq9-0000Ah-PW for submit@debbugs.gnu.org; Mon, 24 Jan 2011 08:52:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PhMxv-0002MM-3V for submit@debbugs.gnu.org; Mon, 24 Jan 2011 09:00:19 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_NUMERIC_HELO, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:59331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PhMxu-0002MC-Se for submit@debbugs.gnu.org; Mon, 24 Jan 2011 09:00:19 -0500 Received: from [140.186.70.92] (port=52823 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PhMxs-0001Vz-8Q for bug-gnu-emacs@gnu.org; Mon, 24 Jan 2011 09:00:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PhMxq-0002LM-46 for bug-gnu-emacs@gnu.org; Mon, 24 Jan 2011 09:00:15 -0500 Received: from lo.gmane.org ([80.91.229.12]:49569) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PhMxp-0002L5-Uj for bug-gnu-emacs@gnu.org; Mon, 24 Jan 2011 09:00:14 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PhMxn-0006V0-W9 for bug-gnu-emacs@gnu.org; Mon, 24 Jan 2011 15:00:11 +0100 Received: from 193.34.186.16 ([193.34.186.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Jan 2011 15:00:11 +0100 Received: from andrewjmoreton by 193.34.186.16 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Jan 2011 15:00:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Andy Moreton Subject: Re: bug#6811: emacs-23.2 on hpux Date: Mon, 24 Jan 2011 14:00:00 +0000 Lines: 27 Message-ID: References: <20100806161627.GM7715@tw.local> <87mxmrz0ht.fsf@stupidchicken.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 193.34.186.16 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) Cancel-Lock: sha1:wUrqfpvJ4khyAyXA9Hmt2HIzWmc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.8 (---) On Sun 23 Jan 2011, Chong Yidong wrote: >> Attached is a patch that allows us to build emacs-23.2 on our HP-UX >> systems (10.20, 11.00 and 11.11 PA-RISC and 11.23, 11.31 both PA and >> IA64). > > I think all the pieces of this patch are in the branch now. > > Hopefully, someone can work on the inability to dump on ia-64. The change in revno: 100409 for this bug doesn't build on Win32 with mingw gcc: gcc -o oo-spd/i386/movemail.exe -gdwarf-2 -g3 -mno-cygwin oo-spd/i386/movemail.o oo-spd/i386/pop.o oo-spd/i386/ntlib.o oo-spd/i386/getopt.o oo-spd/i386/getopt1.o -lwsock32 -ladvapi32 oo-spd/i386/movemail.o: In function `main': C:\emacs\bzr\emacs-23\lib-src/movemail.c:363: undefined reference to `setregid' C:\emacs\bzr\emacs-23\lib-src/movemail.c:390: undefined reference to `setregid' C:\emacs\bzr\emacs-23\lib-src/movemail.c:487: undefined reference to `setregid' C:\emacs\bzr\emacs-23\lib-src/movemail.c:522: undefined reference to `setregid' collect2: ld returned 1 exit status mingw32-make[2]: *** [oo-spd/i386/movemail.exe] Error 1 mingw32-make[2]: Leaving directory `C:/emacs/bzr/emacs-23/lib-src' mingw32-make[1]: *** [all-other-dirs-gmake] Error 2 mingw32-make[1]: Leaving directory `C:/emacs/bzr/emacs-23/nt' mingw32-make: *** [bootstrap] Error 2 From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 28 11:57:02 2011 Received: (at 6811) by debbugs.gnu.org; 28 Jan 2011 16:57:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pird8-0000PE-94 for submit@debbugs.gnu.org; Fri, 28 Jan 2011 11:57:02 -0500 Received: from vm-emlprdomr-06.its.yale.edu ([130.132.50.147]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pird6-0000Ok-22 for 6811@debbugs.gnu.org; Fri, 28 Jan 2011 11:57:00 -0500 Received: from furball (dhcp128036014130.central.yale.edu [128.36.14.130]) (authenticated bits=0) by vm-emlprdomr-06.its.yale.edu (8.14.4/8.14.4) with ESMTP id p0SH5C4f030053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 28 Jan 2011 12:05:12 -0500 Received: by furball (Postfix, from userid 1000) id 582791602C5; Fri, 28 Jan 2011 12:05:12 -0500 (EST) From: Chong Yidong To: Andy Moreton Subject: Re: bug#6811: emacs-23.2 on hpux References: <20100806161627.GM7715@tw.local> <87mxmrz0ht.fsf@stupidchicken.com> Date: Fri, 28 Jan 2011 12:05:12 -0500 In-Reply-To: (Andy Moreton's message of "Mon, 24 Jan 2011 14:00:00 +0000") Message-ID: <87tygt3qnr.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.147 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 6811 Cc: 6811@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) Andy Moreton writes: > The change in revno: 100409 for this bug doesn't build on Win32 with > mingw gcc: Should be fixed now, thanks for the heads-up. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 03 16:31:53 2011 Received: (at control) by debbugs.gnu.org; 3 Mar 2011 21:31:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PvG7l-00049e-FH for submit@debbugs.gnu.org; Thu, 03 Mar 2011 16:31:53 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PvG7j-00049R-9l for control@debbugs.gnu.org; Thu, 03 Mar 2011 16:31:51 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1PvG7d-0002nX-Rv for control@debbugs.gnu.org; Thu, 03 Mar 2011 16:31:45 -0500 Date: Thu, 03 Mar 2011 16:31:45 -0500 Message-Id: Subject: control message for bug 6811 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) retitle 6811 add dump support for hpux ia64 severity 6811 wishlist tag 6811 = From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 06 15:32:43 2013 Received: (at control) by debbugs.gnu.org; 6 Feb 2013 20:32:43 +0000 Received: from localhost ([127.0.0.1]:39974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U3Bfe-00039x-Jn for submit@debbugs.gnu.org; Wed, 06 Feb 2013 15:32:42 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:50188) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U3Bfc-00039q-Ie for control@debbugs.gnu.org; Wed, 06 Feb 2013 15:32:40 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1U3BeM-0007qH-FG for control@debbugs.gnu.org; Wed, 06 Feb 2013 15:31:22 -0500 Date: Wed, 06 Feb 2013 15:31:22 -0500 Message-Id: Subject: control message for bug 7387 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) merge 6811 7387 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 05 20:42:49 2019 Received: (at 6811-done) by debbugs.gnu.org; 6 Sep 2019 00:42:49 +0000 Received: from localhost ([127.0.0.1]:36261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i62Kt-0001RM-3t for submit@debbugs.gnu.org; Thu, 05 Sep 2019 20:42:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51787) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i62Kr-0001R7-7w for 6811-done@debbugs.gnu.org; Thu, 05 Sep 2019 20:42:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i62Km-0005Es-0y for 6811-done@debbugs.gnu.org; Thu, 05 Sep 2019 20:42:40 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1i62Kk-0002li-FQ; Thu, 05 Sep 2019 20:42:38 -0400 From: Glenn Morris To: 6811-done@debbugs.gnu.org Subject: Re: bug#6811: emacs-23.2 on hpux References: <20100806161627.GM7715@tw.local> <87mxmrz0ht.fsf@stupidchicken.com> <87tygt3qnr.fsf@stupidchicken.com> X-Spook: constitution FMD S Key Decapitated Illegal immigrants X-Ran: CiiBL:^#$i3!lO^>NZPkr(b`6mPrbq~ X-Hue: red X-Attribution: GM Date: Thu, 05 Sep 2019 20:42:38 -0400 In-Reply-To: <87tygt3qnr.fsf@stupidchicken.com> (Chong Yidong's message of "Fri, 28 Jan 2011 12:05:12 -0500") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 6811-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Version: 27.1 Emacs now has a portable dumper, which should help things like this. This report is 9 years old. If there is still any interest in Emacs on HP-UX, and there are problems with the new dumping approach, it's better to open a new report. From unknown Sun Jun 22 15:23:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 04 Oct 2019 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator