Message382

Author T.Mittelstaedt
Recipients xemacs-beta
Date 2008-01-19.06:43:17
Content
Hallo,

I had a problem with a newly built gcc-4.2.2 failing to allocate enough 
memory for a particular file.
So I set an environment variable according to

http://www.ibm.com/developerworks/eserver/articles/aix4java1.html:

LDR_CNTRL=MAXDATA=0x80000000

and the file compiled.
But when I restarted xemacs, it would crash with the stack trace below.

(gdb)
#0  0x10244d7c in malloc (size=0) at gmalloc.c:591
#1  0x100065b8 in xmalloc (size=4) at alloc.c:390
#2  0x100026ac in sort_args (argc=1, argv=0x2ff22624) at emacs.c:2777
#3  0x100010d8 in xemacs_21_5_b28_powerpc_ibm_aix5_2_0_0 (argc=1,
    argv=0x2ff22624, unused_envp=0x0, restart=0) at emacs.c:958
#4  0x10003610 in main (argc=1, argv=0x2ff22624, unused_envp=0x2ff2262c)
    at emacs.c:3172
(gdb)

So I tried to reconfigure and recompile xemacs with LDFLAGS=-Wl,-bmaxdata:0x80000000.
But then the dumped-off xemacs would simply not load:

tmstaedt@buildaix3$ ./xemacs -no-packages -batch -no-autoloads -l update-elc-2.el -f batch-update-elc-2 /localbuild/xemacs-21.5.28/src/../lisp
Could not load program ./xemacs:
Error was: Invalid argument

thomas

_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta@xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
History
Date User Action Args
2008-01-19 06:43:17T.Mittelstaedtlinkissue223 messages
2008-01-19 06:43:17T.Mittelstaedtcreate