GNU bug report logs - #6811
add dump support for hpux ia64

Previous Next

Package: emacs;

Reported by: "Peter O'Gorman" <pogma <at> thewrittenword.com>

Date: Fri, 6 Aug 2010 16:34:02 UTC

Severity: wishlist

Merged with 7387

Found in version 23.2

Fixed in version 27.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6811 in the body.
You can then email your comments to 6811 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6811; Package emacs. (Fri, 06 Aug 2010 16:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Peter O'Gorman" <pogma <at> thewrittenword.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 06 Aug 2010 16:34:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Peter O'Gorman" <pogma <at> thewrittenword.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] emacs-23.2 on hpux
Date: Fri, 6 Aug 2010 11:16:27 -0500
[Message part 1 (text/plain, 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 <at> thewrittenword.com
[emacs_23_2_hpux.patch (text/plain, attachment)]

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6811; Package emacs. (Mon, 09 Aug 2010 09:48:01 GMT) Full text and rfc822 format available.

Message #8 received at 6811 <at> debbugs.gnu.org (full text, mbox):

From: Dan Nicolaescu <dann <at> gnu.org>
To: "Peter O'Gorman" <pogma <at> thewrittenword.com>
Cc: 6811 <at> debbugs.gnu.org
Subject: Re: bug#6811: [PATCH] emacs-23.2 on hpux
Date: Mon, 09 Aug 2010 05:47:58 -0400
"Peter O'Gorman" <pogma <at> thewrittenword.com> 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 <ericb <at> lsid.hp.com> 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...




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6811; Package emacs. (Mon, 09 Aug 2010 11:05:02 GMT) Full text and rfc822 format available.

Message #11 received at 6811 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Dan Nicolaescu <dann <at> gnu.org>
Cc: 6811 <at> debbugs.gnu.org, Peter O'Gorman <pogma <at> thewrittenword.com>
Subject: Re: bug#6811: [PATCH] emacs-23.2 on hpux
Date: Mon, 09 Aug 2010 13:05:09 +0200

Dan Nicolaescu skrev 2010-08-09 11.47:
> "Peter O'Gorman"<pogma <at> thewrittenword.com>  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.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6811; Package emacs. (Mon, 09 Aug 2010 16:22:02 GMT) Full text and rfc822 format available.

Message #14 received at 6811 <at> debbugs.gnu.org (full text, mbox):

From: Dan Nicolaescu <dann <at> gnu.org>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: 6811 <at> debbugs.gnu.org, Peter O'Gorman <pogma <at> thewrittenword.com>
Subject: Re: bug#6811: [PATCH] emacs-23.2 on hpux
Date: Mon, 09 Aug 2010 12:22:30 -0400
Jan Djärv <jan.h.d <at> swipnet.se> writes:

> Dan Nicolaescu skrev 2010-08-09 11.47:
>> "Peter O'Gorman"<pogma <at> thewrittenword.com>  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...




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6811; Package emacs. (Mon, 09 Aug 2010 19:38:01 GMT) Full text and rfc822 format available.

Message #17 received at 6811 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Dan Nicolaescu <dann <at> gnu.org>
Cc: 6811 <at> debbugs.gnu.org, Peter O'Gorman <pogma <at> thewrittenword.com>
Subject: Re: bug#6811: [PATCH] emacs-23.2 on hpux
Date: Mon, 09 Aug 2010 21:37:58 +0200
Dan Nicolaescu <dann <at> gnu.org> writes:

> "Peter O'Gorman" <pogma <at> thewrittenword.com> 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 <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6811; Package emacs. (Mon, 09 Aug 2010 20:42:01 GMT) Full text and rfc822 format available.

Message #20 received at 6811 <at> debbugs.gnu.org (full text, mbox):

From: Dan Nicolaescu <dann <at> gnu.org>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: 6811 <at> debbugs.gnu.org, Peter O'Gorman <pogma <at> thewrittenword.com>
Subject: Re: bug#6811: [PATCH] emacs-23.2 on hpux
Date: Mon, 09 Aug 2010 16:42:01 -0400
Jan Djärv <jan.h.d <at> swipnet.se> writes:

> Dan Nicolaescu skrev 2010-08-09 11.47:
>> "Peter O'Gorman"<pogma <at> thewrittenword.com>  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? 




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6811; Package emacs. (Mon, 09 Aug 2010 20:46:01 GMT) Full text and rfc822 format available.

Message #23 received at 6811 <at> debbugs.gnu.org (full text, mbox):

From: "Peter O'Gorman" <pogma <at> thewrittenword.com>
To: Dan Nicolaescu <dann <at> gnu.org>
Cc: 6811 <at> debbugs.gnu.org
Subject: Re: bug#6811: [PATCH] emacs-23.2 on hpux
Date: Mon, 9 Aug 2010 15:42:02 -0500
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 <at> thewrittenword.com




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6811; Package emacs. (Mon, 09 Aug 2010 23:13:02 GMT) Full text and rfc822 format available.

Message #26 received at 6811 <at> debbugs.gnu.org (full text, mbox):

From: Dan Nicolaescu <dann <at> gnu.org>
To: "Peter O'Gorman" <pogma <at> thewrittenword.com>
Cc: 6811 <at> debbugs.gnu.org
Subject: Re: bug#6811: [PATCH] emacs-23.2 on hpux
Date: Mon, 09 Aug 2010 19:13:29 -0400
"Peter O'Gorman" <pogma <at> thewrittenword.com> 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...




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6811; Package emacs. (Tue, 10 Aug 2010 09:08:02 GMT) Full text and rfc822 format available.

Message #29 received at 6811 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Dan Nicolaescu <dann <at> gnu.org>
Cc: 6811 <at> debbugs.gnu.org, Peter O'Gorman <pogma <at> thewrittenword.com>
Subject: Re: bug#6811: [PATCH] emacs-23.2 on hpux
Date: Tue, 10 Aug 2010 11:08:20 +0200
>>> > +  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




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6811; Package emacs. (Tue, 10 Aug 2010 10:04:02 GMT) Full text and rfc822 format available.

Message #32 received at 6811 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Dan Nicolaescu <dann <at> gnu.org>, 6811 <at> debbugs.gnu.org,
	Peter O'Gorman <pogma <at> thewrittenword.com>
Subject: Re: bug#6811: [PATCH] emacs-23.2 on hpux
Date: Tue, 10 Aug 2010 12:04:10 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> 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 <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6811; Package emacs. (Tue, 10 Aug 2010 12:34:02 GMT) Full text and rfc822 format available.

Message #35 received at 6811 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: Dan Nicolaescu <dann <at> gnu.org>, 6811 <at> debbugs.gnu.org,
	Peter O'Gorman <pogma <at> thewrittenword.com>
Subject: Re: bug#6811: [PATCH] emacs-23.2 on hpux
Date: Tue, 10 Aug 2010 14:33:49 +0200
>> 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




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6811; Package emacs. (Tue, 10 Aug 2010 14:14:01 GMT) Full text and rfc822 format available.

Message #38 received at 6811 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Dan Nicolaescu <dann <at> gnu.org>
Cc: 6811 <at> debbugs.gnu.org, Peter O'Gorman <pogma <at> thewrittenword.com>
Subject: Re: bug#6811: [PATCH] emacs-23.2 on hpux
Date: Tue, 10 Aug 2010 16:14:06 +0200

Dan Nicolaescu skrev 2010-08-09 22.42:
> Jan Djärv<jan.h.d <at> swipnet.se>  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 using 
tcsetpgrp/tcgetpgrp on HP-UX in the early nineties.  HP-UX was big on POSIX.1 
back then and those functions are from there.  They are in the online HP-UX 
man pages, from 2005.

	Jan D.





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6811; Package emacs. (Sun, 23 Jan 2011 22:56:02 GMT) Full text and rfc822 format available.

Message #41 received at 6811 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: "Peter O'Gorman" <pogma <at> thewrittenword.com>
Cc: 6811 <at> debbugs.gnu.org
Subject: Re: [PATCH] emacs-23.2 on hpux
Date: Sun, 23 Jan 2011 18:03:26 -0500
> 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.




Severity set to 'normal' from 'important' Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> debbugs.gnu.org. (Sun, 23 Jan 2011 22:56:02 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6811; Package emacs. (Mon, 24 Jan 2011 13:53:02 GMT) Full text and rfc822 format available.

Message #46 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andy Moreton <andrewjmoreton <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#6811: emacs-23.2 on hpux
Date: Mon, 24 Jan 2011 14:00:00 +0000
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





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6811; Package emacs. (Fri, 28 Jan 2011 16:58:02 GMT) Full text and rfc822 format available.

Message #49 received at 6811 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Andy Moreton <andrewjmoreton <at> gmail.com>
Cc: 6811 <at> debbugs.gnu.org
Subject: Re: bug#6811: emacs-23.2 on hpux
Date: Fri, 28 Jan 2011 12:05:12 -0500
Andy Moreton <andrewjmoreton <at> gmail.com> 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.




Changed bug title to 'add dump support for hpux ia64' from '[PATCH] emacs-23.2 on hpux' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 03 Mar 2011 21:32:02 GMT) Full text and rfc822 format available.

Severity set to 'wishlist' from 'normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 03 Mar 2011 21:32:02 GMT) Full text and rfc822 format available.

Removed tag(s) patch. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 03 Mar 2011 21:32:02 GMT) Full text and rfc822 format available.

Merged 6811 7387. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 06 Feb 2013 20:33:02 GMT) Full text and rfc822 format available.

Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Fri, 06 Sep 2019 00:43:01 GMT) Full text and rfc822 format available.

Notification sent to "Peter O'Gorman" <pogma <at> thewrittenword.com>:
bug acknowledged by developer. (Fri, 06 Sep 2019 00:43:02 GMT) Full text and rfc822 format available.

Message #62 received at 6811-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 6811-done <at> debbugs.gnu.org
Subject: Re: bug#6811: emacs-23.2 on hpux
Date: Thu, 05 Sep 2019 20:42:38 -0400
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.




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Fri, 06 Sep 2019 00:43:02 GMT) Full text and rfc822 format available.

Notification sent to "Maguire, Andrew (GE Energy)" <andrew.maguire <at> ge.com>:
bug acknowledged by developer. (Fri, 06 Sep 2019 00:43:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 04 Oct 2019 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 177 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.