unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Compiling 64 bit emacs for Power4/Aix-5.2
@ 2003-05-07  5:06 Larry Hunter
  0 siblings, 0 replies; 4+ messages in thread
From: Larry Hunter @ 2003-05-07  5:06 UTC (permalink / raw)



This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.2.1 (rs6000-ibm-aix5.1.0.0, X toolkit)
 of 2003-03-03 on hal
configured using `configure  --host=rs6000-ibm-aix5.1.0.0'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I am trying to compile emacs in 64 bit mode (for large buffers) on an
IBM p690.  It's a Power4 processor running AIX 5.2

An emacs 21.2 distributed by IBM compiles with the native cc (xlc)
using 32 bit mode: `configure --host=rs6000-ibm-aix5.1.0.0'.  I
figured I would start from that to try to move to 64 bit mode.  The OS
and Machine files used are `s/aix4-2.h' and `m/ibmrs6000.h'  This bug
report was generated from within the working 32 bit version.

So far, I have changed lwlib/Makefile.in to use the -X64 flag in AR:

               AR = ar -X64 cq

and done 

  CFLAGS='-q64 -qarch=pwr4' LDFLAGS='-q64 -qarch=pwr4' ./configure  --host=rs6000-ibm-aix5.1.0.0 

"make" works through invoking temacs, but then segfaults:

	LC_ALL=C ./temacs -batch -l loadup dump
make: 1254-059 The signal code from the last command is 11.

A backtrace shows the problem is in Fmake_symbol: 

# dbx ./temacs core
Type 'help' for help.
[using memory image in core]
reading symbolic information ...

Segmentation fault in Fmake_symbol at 0x10003c0e4 ($t1)
0x10003c0e4 (Fmake_symbol+0x154) f8640000        std   r3,0x0(r4)
(dbx) where
Fmake_symbol(0x300000011003e4f8) at 0x10003c0e4
init_obarray() at 0x100058b10
main(0x500000005, 0x200feae0, 0x200feb10) at 0x100000e8c

The PROBLEMS advice about temacs segfaults are to check the amount of
swap space, but it's enormous (>64GB) on this machine. 

So I am stumped.  Suggestions?

Thanks!

Larry

Larry.Hunter@uchsc.edu


Recent input:
SPC c o r e RET w h e r e RET b a c k RET ? DEL h e 
l p DEL DEL DEL DEL ? RET h e l p RET ESC [ 5 ~ ESC 
[ 6 ~ C-x o C-x o ESC > t r a c e RET p r i n t RET 
e x i t RET q DEL q u i t RET ESC [ 5 ~ ESC [ 5 ~ ESC 
[ 6 ~ ESC x m DEL r e p o r t - e m SPC SPC RET

Recent messages:
Completing command name...
Partially completed
/codebase/emacs-21.2/src 
History item: 1
History item: 2
History item: 3
History item: 4
History item: 1
History item: 2
Mark set

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-05-10  9:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.5770.1052408906.21513.bug-gnu-emacs@gnu.org>
2003-05-08 20:08 ` Compiling 64 bit emacs for Power4/Aix-5.2 Larry Hunter
     [not found] ` <mailman.5789.1052424704.21513.bug-gnu-emacs@gnu.org>
2003-05-10  0:26   ` Larry Hunter
2003-05-10  9:08     ` Eli Zaretskii
2003-05-07  5:06 Larry Hunter

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