From xemacs-m  Sun Mar  9 21:24:56 1997
Received: from birdland.rhein-neckar.de (root@birdland.rhein-neckar.de [193.197.88.3])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id VAA13711
	for <xemacs-beta@xemacs.org>; Sun, 9 Mar 1997 21:24:53 -0600 (CST)
Received: from mips.pfalz.de (uucp@localhost) by birdland.rhein-neckar.de (8.8.5/8.8.3) with BSMTP id EAA28154 for xemacs.org!xemacs-beta; Mon, 10 Mar 1997 04:19:46 +0100 (MET)
Received: from cthulhu.pfalz.de by mips.pfalz.de with bsmtp
	(Smail3.1.29.1 #6) id m0w3ufh-000CmtC; Mon, 10 Mar 97 03:18 CET
Received: from arthur.pfalz.de by cthulhu.pfalz.de
	via rsmtp with bsmtp
	id <m0w3ssL-000CHUC@cthulhu.pfalz.de>
	for <xemacs-beta@xemacs.org>; Mon, 10 Mar 1997 01:23:37 +0100 (MET)
	(Smail-3.2 1996-Jul-4 #20 built 1996-Oct-4)
Received: by arthur.pfalz.de
	via sendmail with stdio
	id <m0w3qe6-0001nrC@arthur.pfalz.de>
	for xemacs-beta@xemacs.org; Sun, 9 Mar 1997 23:00:46 +0100 (CET)
	(Smail-3.2.0.91 1997-Jan-14 #7 built 1997-Feb-10)
Message-Id: <m0w3qe6-0001nrC@arthur.pfalz.de>
Date: Sun, 9 Mar 1997 23:00:46 +0100 (CET)
From: Andreas Jaeger <aj@arthur.pfalz.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: xemacs-beta@xemacs.org
Reply-To: jaeger@informatik.uni-kl.de
Subject: XEmacs-19.15b98: Success && Problems with glibc 2.0.1+,i486,Linux 2.0.29


Environment: glibc 2.0.1+patches; XFree 3.2, i486, Linux 2.0.29.

XEmacs has been build successfully and seems to run ok. I fixed a
compiler warning and I'm not happy with the puresize adjustment
process (see below).

I build with:
.../xemacs-19.15-betaXX/configure \
  --with-menubars=lucid --with-scrollbars=lucid --with-dialogs=athena \
  --cflags="-O3 -g" \
  --prefix=/usr \
  --with-sound  \
  --error-checking=none \
  --const-is-losing=no \
  --srcdir=/mnt/xemacs/xemacs-19.15-betaXX \
  --with-gnu-make \
  i486-linux

Configured for `i486-unknown-linux'.

  Where should the build process find the source code?    /mnt/xemacs/xemacs-19.15-betaXX
  What installation prefix should install use?            /usr
  What operating system and machine description files should XEmacs use?
        `s/linux.h' and `m/intel386.h'
  What compiler should XEmacs be built with?              gcc -O3 -g
  Should XEmacs use the GNU version of malloc?            yes
  Should XEmacs use the relocating allocator for buffers? yes
  What window system should XEmacs use?                   x11
  Where do we find X Windows header files?                /usr/X11R6/include
  Where do we find X Windows libraries?                   /usr/X11R6/lib
  Compiling in support for XAUTH.
  Compiling in support for XPM.
  Compiling in support for X-Face headers.
  Compiling in support for GIF image conversion.
  Compiling in native sound support.
  Compiling in support for Berkeley DB.
  Compiling in support for GNU DBM.
  Using the Lucid menubar.
  Using the Lucid scrollbar.
  Using the Athena dialog boxes.
  Compiling in extra code for debugging.

I got the following messages and stopped the build process:
/mnt/xemacs/xemacs-19.15-betaXX/src/emacs.c: In function `Frun_emacs_from_temacs':
/mnt/xemacs/xemacs-19.15-betaXX/src/emacs.c:1671: warning: assignment discards `const' from pointer target type
/mnt/xemacs/xemacs-19.15-betaXX/src/emacs.c:1679: warning: assignment discards `const' from pointer target type
/mnt/xemacs/xemacs-19.15-betaXX/src/fileio.c: In function `Fdo_auto_save':
/mnt/xemacs/xemacs-19.15-betaXX/src/fileio.c:4343: warning: assignment discards `const' from pointer target type
/mnt/xemacs/xemacs-19.15-betaXX/src/fileio.c:4351: warning: assignment discards `const' from pointer target type

I made the following patch to buffer.h and recompiled everything and
didn't get any more warnings from compiling c-programs.
--- buffer.h.~1~        Sun Feb  2 05:07:02 1997
+++ buffer.h    Sun Mar  9 20:07:37 1997
@@ -1073,7 +1073,7 @@
   __gseda_ptr__ = convert_to_external_format (string_data (__gseda_s__),   \
                                              string_length (__gseda_s__), \
                                              &__gseda_len__, fmt);        \
-  (stick_value_here) = (CONST Extbyte *) alloca (1 + __gseda_len__);                      \
+  (stick_value_here) = (Extbyte *) alloca (1 + __gseda_len__);                    \
   memcpy ((Extbyte *) stick_value_here, __gseda_ptr__, 1 + __gseda_len__); \
   (stick_len_here) = __gseda_len__;                                       \
 } while (0)


As with XEmacs 20.1beta6 XEmacs has been rebuild three times. The
first time I get the following which doesn't look nice (note the
negative numbers).


------------------------>
Bootstrapping from temacs...
Purespace usage: 42296 of 625000 (7% -- 569k wasted).
                           total:   bytes:
   cons cells:                48      384   1%
   float objects:              0        0   0%
   symbol-name strings:     2042    41988  99%
   compiled-function objects:    0        0   0%
   byte-code strings:          0        0   0%
   byte-constant vectors:      0        0   0%
   interactive strings:        0        0   0%
   documentation strings:      0        0   0%
   other function strings:     0        0   0%
   other vectors:              1       16   0%
   other strings:            -64      -92   0%
   all strings:             1978    41896  99%
   all vectors:                1       16   0%

Impurities:
   conses used:                    111583
   conses free:                       968
   cons storage:                   903448
   symbols used:                     7480
   symbol storage:                 179872
   vectors used:                      718
   vectors total length:            46341
   vector storage:                 191108
   short strings used:              15141
   strings free:                     1301
   short strings total length:     870479
   short string storage:           1024000
   string header storage:          198268
   floats used:                        14
   float storage:                    2044
   markers used:                       34
   markers free:                        2
   marker storage:                   2044
   extents used:                       14
   extent storage:                   2048
   symbol value lisp magics used:      23
   symbol value lisp magic storage:  1564
   symbol value varaliases used:       42
   symbol value varalias storage:    1008
   opaque lists used:                   2
   opaque list storage:                48
   opaques used:                        4
   opaque storage:                     96
   color instances used:                1
   color instance storage:             24
   font instances used:                 1
   font instance storage:              36
   range tables used:                   1
   range table storage:                16
   faces used:                         24
   face storage:                     1824
   glyphs used:                        17
   glyph storage:                     680
   specifiers used:                   345
   specifier storage:               19815
   weak lists used:                   345
   weak list storage:                8280
   buffers used:                        6
   buffer storage:                   1656
   extent infos used:                   4
   extent info storage:                80
   consoles used:                       3
   console storage:                   300
   command builders used:               1
   command builder storage:            56
   keymaps used:                      125
   keymap storage:                   5500
   devices used:                        1
   device storage:                    176
   frames used:                         1
   frame storage:                     216
   image instances used:                1
   image instance storage:             64
   windows used:                        2
   window storage:                    688
   lcrecord lists used:                13
   lcrecord list storage:             312
   hashtables used:                   312
   hashtable storage:               12480
   streams used:                        4
   streams on free list:                2
   stream storage:                    412
<---------------------------------

Since I've patched up from beta 91 I made "rm
src/puresize_adjust.h;make clean" and rebuild everything with only two
builds. Therefore I think the three builds where a problem of a
not-up-to-date lisp-directory. I'm still puzzled by the negative
numbers in the above output.

Andreas

****    Pure Lisp storage exhausted!
        Purespace usage: 625864 of 625000
****
                           total:   bytes:
   cons cells:             13030   104240  17%
   float objects:             11      132   0%
   symbol-name strings:     7716   205696  33%
   compiled-function objects: 1651    52832   8%
   byte-code strings:       1651    98272  16%
   byte-constant vectors:   1651    71388  11%
   interactive strings:      280     5656   1%
   documentation strings:      0        0   0%
   other function strings:  1749    57848   9%
   other vectors:            221     6056   1%
   other strings:            550    22876   4%
   all strings:            11946   390348  62%
   all vectors:             1872    77444  12%
[...]
Second time:
Purespace usage: 625860 of 625864 (100%).
                           total:   bytes:
   cons cells:             13035   104280  17%
   float objects:             11      132   0%
   symbol-name strings:     7724   205904  33%
   compiled-function objects: 1653    52896   8%
   byte-code strings:       1653    98480  16%
   byte-constant vectors:   1653    71520  11%
   interactive strings:      280     5656   1%
   documentation strings:      0        0   0%
   other function strings:  1749    57848   9%
   other vectors:            221     6056   1%
   other strings:            552    23088   4%
   all strings:            11958   390976  62%
   all vectors:             1874    77576  12%

-- 
 Andreas Jaeger   aj@arthur.pfalz.de    jaeger@informatik.uni-kl.de
  Altenwoogstr. 31      67655 Kaiserslautern, Germany
   Phone +49 631 3403051 Fax/Modem +49 631 3403052
    http://www.student.uni-kl.de/~ajaeger/

