unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [PATCH] Re: AIX 5.2 loadup failure for 22.0.90 pretest
       [not found]       ` <456B34F3.5060807@spirentcom.com>
@ 2006-11-27 19:59         ` Chong Yidong
  0 siblings, 0 replies; only message in thread
From: Chong Yidong @ 2006-11-27 19:59 UTC (permalink / raw)
  Cc: emacs-devel

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?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-11-27 19:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <4561A9A4.4020406@spirentcom.com>
     [not found] ` <87d57fh2x3.fsf@cyd.mit.edu>
     [not found]   ` <456B1009.8020101@spirentcom.com>
     [not found]     ` <874psk96uq.fsf@stupidchicken.com>
     [not found]       ` <456B34F3.5060807@spirentcom.com>
2006-11-27 19:59         ` [PATCH] Re: AIX 5.2 loadup failure for 22.0.90 pretest Chong Yidong

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).