all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Larry Hunter <Larry.Hunter@uchsc.edu>
Subject: Compiling 64 bit emacs for Power4/Aix-5.2
Date: Tue, 6 May 2003 23:06:32 -0600	[thread overview]
Message-ID: <200305070506.h4756W812162@huge.uchsc.edu> (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

             reply	other threads:[~2003-05-07  5:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-07  5:06 Larry Hunter [this message]
     [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

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

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

  git send-email \
    --in-reply-to=200305070506.h4756W812162@huge.uchsc.edu \
    --to=larry.hunter@uchsc.edu \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.