unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] Re: AIX 5.2 loadup failure for 22.0.90 pretest
Date: Mon, 27 Nov 2006 14:59:15 -0500	[thread overview]
Message-ID: <87mz6c8xv0.fsf@stupidchicken.com> (raw)
In-Reply-To: <456B34F3.5060807@spirentcom.com> (Joe Buehler's message of "Mon\, 27 Nov 2006 13\:56\:51 -0500")

Joe Buehler <jbuehler@spirentcom.com> writes:

> Here's the fix.  The problem is that the opsys file for aix 3.1
> defines _NO_PROTO.  This causes the proper prototype to be thrown
> away for lseek64, causing compiled LISP files to not load correctly.
>
> cat >src/s/aix5-2.h <<\!
> #include "aix4-2.h"
>
> #undef _NO_PROTO
> !

Thanks for tracking this down.  I'm assuming that you are using the
AIX compiler, since aix4-1.h actually contains

#ifdef __GNUC__
#undef _NO_PROTO
#endif

I assume this is because older versions of the AIX compiler does not
handler function prototypes; and, conversely, that the AIX 5.2
compiler does.  Do you know if function prototypes is new (!) to AIX
5.2?

           reply	other threads:[~2006-11-27 19:59 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <456B34F3.5060807@spirentcom.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mz6c8xv0.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).