Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!pasteur!robotics.berkeley.edu!shein From: shein@robotics.berkeley.edu (Soren Hein) Newsgroups: comp.lang.perl Subject: perl-4.003 fails op/dbm.t on SPARC w/gcc Message-ID: <13613@pasteur.Berkeley.EDU> Date: 14 May 91 18:43:58 GMT Sender: news@pasteur.Berkeley.EDU Reply-To: shein@robotics.berkeley.edu (Soren Hein) Organization: U.C. Berkeley -- ERL Lines: 47 Problem: perl-4.003 (from uunet.uu.net) fails op/dbm.t on test 0: 1..12 ok 1 ok 2 Segmentation fault System info: * % cat /etc/motd SunOS Release 4.1 (GENERIC_SMALL) #1: Wed Mar 7 10:54:19 PST 1990 % arch sun4 % gcc -v gcc version 1.37.1 Doesn't work: * Compiling only hash.c with cc, as suggested by jbw@bigbird.bu.edu on April 16. Apparently, my cc does not know about volatile. Configure choices: * No system defaults (such as SunOS x.xx) used. * Std. /usr/include files. * gcc compiler with -O. * No add. cc flags, except for -fpcc-struct-return -I/usr/include/sun suggested by Configure. * No add. ld flags. * No add. libraries, except for -ldbm -lm -lposix suggested by Configure. * Shared C library /usr/lib/libc.so.1.5. * Not using perl's malloc() since void free(cp) char *cp; in malloc.c conflicts with extern char * malloc(/* size_t size */); in /usr/include/stdlib.h. * Except for locations of binaries, man pages and libraries, choose the defaults offered by Configure. /Soren, shein@robotics.berkeley.edu # Thanks for the Book, in which no shot is too cheap.