This should come as no surprise, but 21.0-b41 still dumps core (as did
b40) when built on DU4.0D with CDE. I compiled with both gcc 2.8.1. and
cc and configured with --use-union-type. Both fail in the same manner.
cc build went fine except for frame.c for which the compiler reported
an internal error. (I built frame with gcc.)
With gcc, when I tried to compile with the default -O3, things went very
badly with pages and pages of warnings about incorrect data
types. Building -O2 fixed these. There were still several warnings
about pointer to integer casts:
gcc -c -g -O2 -Demacs -I. -DHAVE_CONFIG_H -I/usr/local/include -D_BSD -I/usr/dt/include
event-unixoid.c
event-unixoid.c: In function `event_stream_unixoid_create_stream_pair':
event-unixoid.c:287: warning: cast from pointer to integer of different size
event-unixoid.c:288: warning: cast from pointer to integer of different size
gcc -c -g -O2 -Demacs -I. -DHAVE_CONFIG_H -I/usr/local/include -D_BSD -I/usr/dt/include
process-unix.c
process-unix.c: In function `connect_to_file_descriptor':
process-unix.c:189: warning: cast to pointer from integer of different size
process-unix.c: In function `unix_init_process_io_handles':
process-unix.c:703: warning: cast from pointer to integer of different size
process-unix.c: In function `unix_create_process':
process-unix.c:777: warning: cast to pointer from integer of different size
process-unix.c:777: warning: cast to pointer from integer of different size
process-unix.c: In function `unix_open_network_stream':
process-unix.c:1542: warning: cast to pointer from integer of different size
process-unix.c:1543: warning: cast to pointer from integer of different size
process-unix.c: In function `unix_open_multicast_group':
process-unix.c:1703: warning: cast to pointer from integer of different size
process-unix.c:1704: warning: cast to pointer from integer of different size
gcc -c -g -O2 -Demacs -I. -DHAVE_CONFIG_H -I/usr/local/include -D_BSD -I/usr/dt/include
process.c
process.c: In function `get_process_from_usid':
process.c:215: warning: cast to pointer from integer of different size
process.c: In function `init_process_io_handles':
process.c:479: warning: cast to pointer from integer of different size
process.c: In function `deactivate_process':
process.c:1854: warning: cast to pointer from integer of different size
The only other warnings with an -O2 build were:
gcc -c -g -O2 -Demacs -I. -DHAVE_CONFIG_H -I/usr/local/include -D_BSD -I/usr/dt/include
sysdep.c
sysdep.c: In function `child_setup_tty':
sysdep.c:457: warning: large integer implicitly truncated to unsigned type
sysdep.c:458: warning: large integer implicitly truncated to unsigned type
sysdep.c:491: warning: large integer implicitly truncated to unsigned type
sysdep.c: In function `tty_init_sys_modes_on_device':
sysdep.c:1553: warning: large integer implicitly truncated to unsigned type
sysdep.c:1554: warning: large integer implicitly truncated to unsigned type
sysdep.c:1567: warning: large integer implicitly truncated to unsigned type
sysdep.c:1573: warning: large integer implicitly truncated to unsigned type
sysdep.c:1576: warning: large integer implicitly truncated to unsigned type
sysdep.c:1579: warning: large integer implicitly truncated to unsigned type
sysdep.c:1582: warning: large integer implicitly truncated to unsigned type
sysdep.c:1585: warning: large integer implicitly truncated to unsigned type
sysdep.c:1588: warning: large integer implicitly truncated to unsigned type
sysdep.c:1594: warning: large integer implicitly truncated to unsigned type
But I ended up with:
Dumping under the name xemacs
Purespace usage: 1045960 of 1045960 (100%).
Impurities:
conses used: 14385
conses free: 2264
cons storage: 272384
symbols used: 7586
symbols free: 4
symbol storage: 367792
vectors used: 595
vectors total length: 33059
vector storage: 278752
short strings used: 1448
long strings used: 1
strings free: 3368
short strings total length: 64603
short string storage: 90112
long strings total length: 57290
string header storage: 117856
floats used: 2
floats free: 22
float storage: 2048
markers used: 34
marker storage: 2016
extents used: 13
extent storage: 2032
symbol value lisp magics used: 24
symbol value lisp magic storage: 3264
symbol value varaliases used: 46
symbol value varalias storage: 2208
opaque lists used: 2
opaque list storage: 96
opaques used: 4
opaque storage: 196
color instances used: 1
color instance storage: 48
font instances used: 1
font instance storage: 64
range tables used: 1
range table storage: 32
faces used: 26
face storage: 3952
glyphs used: 18
glyph storage: 1440
specifiers used: 385
specifier storage: 47535
weak lists used: 385
weak list storage: 18480
char tables used: 12
char table storage: 25152
buffers used: 6
buffer storage: 3072
extent infos used: 4
extent info storage: 160
consoles used: 3
console storage: 576
command builders used: 1
command builder storage: 104
keymaps used: 122
keymap storage: 10736
devices used: 1
device storage: 280
frames used: 1
frame storage: 472
image instances used: 1
image instance storage: 128
windows used: 2
window storage: 1472
lcrecord lists used: 12
lcrecord list storage: 576
hashtables used: 263
hashtable storage: 21040
streams used: 2
streams on free list: 2
stream storage: 358
/bin/sh: 16111 Memory fault - core dumped
make[2]: [xemacs] Error 139 (ignored)
Testing for Lisp shadows ...
/bin/sh: ./xemacs: cannot execute
Which is about what I saw in b40.
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman(a)es.net Phone: +1 510 486-8634