[kaffe] 1.1.0 build failure on parisc-hpux

Greg Wooledge greg@wooledge.org
Wed Jun 11 17:17:01 2003


--PWfwoUCx3AFJRUBq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Dalibor Topic (robilad@yahoo.com) wrote:

> I've checked in a patch that provides replacement implementations of inet=
_pton
> and inet_ntop for the patfroms lacking them, so could you give a fresh ch=
eckout
> a try?

"./configure --enable-debug --disable-shared" and "make" work now.
"make install" still fails:

/bin/sh ./rebuildLib @essential.files
Compiling classes from  @essential.files  using  /var/tmp/kaffe/build/kaffe=
/kaffe/kaffe-bin -verbosegc at.dms.kjc.Main
=2E/rebuildLib[51]: 14144 Bus error(coredump)
make[1]: *** [lib/stamp] Error 138

If I copy kjc.jar and rt.jar from the 1.1 installation into their
respective positions in /var/tmp/kaffe/install then I get:

$ . ./BUILD_ENVIRONMENT
$ $JAVA -vmdebug INIT -fullversion
Kaffe Virtual Machine

Copyright (c) 1996-2002 Kaffe.org project contributors (please see
  the source code for a full list of contributors).  All rights reserved.
Portions Copyright (c) 1996-2002 Transvirtual Technologies, Inc.

The Kaffe virtual machine is free software, licensed under the terms of
the GNU General Public License.  Kaffe.org is a an independent, free softwa=
re
community project, not directly affiliated with Transvirtual Technologies,
Inc.  Kaffe is a Trademark of Transvirtual Technologies, Inc.  Kaffe comes
with ABSOLUTELY NO WARRANTY.

Engine: Interpreter   Version: 1.1.x-cvs   Java Version: 1.1
Configuration/Compilation options:
  Compile date  : Wed Jun 11 20:08:45 EDT 2003
  Compile host  : imadev
  Install prefix: /var/tmp/kaffe/install
  Thread system : unix-jthreads
  CC            : /net/appl/gcc-3.2/bin/gcc
  CFLAGS        : -g -O2 -Wall -Wstrict-prototypes
  LDFLAGS       :=20
  ChangeLog head: 2003-06-12 Dalibor Topic <robilad@yahoo.com>
$ $JAVA -vmdebug INIT at.dms.kjc.Main
initCollector()
initCollector() done
initNativeThreads(0x8000)
Bus error(coredump)


gdb says:

Core was generated by `kaffe-bin'.
Program terminated with signal 10, Bus error.

warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.

Unable to find dynamic library list.

#0  0x96560 in gc_small_block (sz=3D56)
    at /usr/local/src/kaffe/kaffe/kaffevm/mem/gc-mem.c:574
574                     GCBLOCK2FREE(info, i)->next =3D GCBLOCK2FREE(info, =
i+1);
(gdb) bt
#0  0x96560 in gc_small_block (sz=3D56)
    at /usr/local/src/kaffe/kaffe/kaffevm/mem/gc-mem.c:574
Cannot access memory at address 0x7b03abf4


This seems to be progress. :)

--=20
Greg Wooledge                  |   "Truth belongs to everybody."
greg@wooledge.org              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |

--PWfwoUCx3AFJRUBq
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (OpenBSD)

iD8DBQE+58bkkAkqAYpL9t8RAuQrAJ98KtQb2Yqb/DbVwh/haP20d1BOAQCePb3Z
jnZfRcFupgbZJBTrxA5o7QQ=
=NCF6
-----END PGP SIGNATURE-----

--PWfwoUCx3AFJRUBq--