bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13650: Emacs pretest 24.2.93 - compilation error on AIX 5.3 using gc


From: Paul Eggert
Subject: bug#13650: Emacs pretest 24.2.93 - compilation error on AIX 5.3 using gcc 4.7-2
Date: Thu, 14 Feb 2013 06:57:50 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2

On 02/13/2013 11:43 PM, Gilles Pion wrote:
> getting identical result (apart from the pointer value):
> 
> Compiling 
> /sg/paxdev5/D1stunix/src/emacs/24.2.93/emacs-24.2.93/src/../lisp/emacs-lisp/byte-run.el
> Wrong type argument: sequencep, 137012812
> gmake[2]: *** [compile-onefile] Error 255

OK, thanks, I can reproduce that problem on Fedora 17 x86-64,
by manually editing src/config.h so that it says
"#define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE".
My guess is that a GCPRO is missing somewhere.  Ouch.

We won't detect that on typical hosts since GCPROs are noops.
There's a chance that GCPROs can be noops on AIX, too, so
please try what you did before, with the same patch and:

make distclean
./configure CPPFLAGS='-DDATA_START=0x20000000 -DDATA_SEG_BITS=0x20000000'

But then manually edit src/config.h to change this line:

#define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE

to this:

#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS

before you do "make".

I suppose we can look into the GCPRO business in the meantime.
I vaguely recall that there have been GCPRO bugfixes in the
trunk since emacs-24 was made -- perhaps backporting them
will fix this.  What do you think, Glenn?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]