NetBSD Problem Report #9965

Received: (qmail 16074 invoked from network); 24 Apr 2000 04:36:44 -0000
Message-Id: <200004240436.VAA20124@nbwww.isc.org>
Date: Sun, 23 Apr 2000 21:36:44 -0700 (PDT)
From: mw34@cornell.edu
Reply-To: mw34@cornell.edu
To: gnats-bugs@gnats.netbsd.org
Subject: lang/moscow_ml doesn't compile (Signal 11)
X-Send-Pr-Version: www-1.0

>Number:         9965
>Category:       toolchain
>Synopsis:       lang/moscow_ml doesn't compile (Signal 11)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    toolchain-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 24 04:37:00 +0000 2000
>Closed-Date:    Sat Apr 05 20:24:27 +0000 2003
>Last-Modified:  Sat Apr 05 20:24:27 +0000 2003
>Originator:     Michael Wolfson
>Release:        1.4.2
>Organization:
>Environment:
NetBSD fatmac 1.4.2 NetBSD 1.4.2 (FATMAC) #0: Mon Mar 20 00:36:27 EST 2000     mw@fatmac:/usr/src/sys/arch/hp300/compile/FATMAC hp300
>Description:

lang/moscow_ml (1.44) from pkgsrc.tar.gz dated Apr 22, 2000 doesn't compile:

[...]
gcc -rdynamic -o camlrunm prims.o interp.o expand.o misc.o stacks.o fix_code.o m
ain.o fail.o signals.o  freelist.o major_gc.o minor_gc.o memory.o alloc.o roots.
o  compare.o ints.o floats.o str.o io.o  extern.o externcp.o intern.o interncp.o
  hash.o sys.o meta.o parsing.o lexing.o gc_ctrl.o mosml.o unix.o  runtime.o md5
sum.o callback.o dynlib.o -lm 
mosml.o: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
/usr/bin/strip camlrunm
cp runtime/camlrunm .
cd mosmlyac; make all
[...]
gcc -O -DNDEBUG -o mosmlyac closure.o error.o lalr.o lr0.o main.o mkpar.o output
.o reader.o  skeleton.o symtab.o verbose.o warshall.o
main.o: warning: mktemp() possibly used unsafely, use mkstemp() or mkdtemp()
/usr/bin/strip mosmlyac
cd mosmllib; make all
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Vector.sig
*** Signal 11

Stop.
>How-To-Repeat:

get pkgsrc.tar.gz dated Apr 22, 2000
cd lang/moscow_ml
make
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: tron 
State-Changed-When: Fri Aug 25 14:02:50 PDT 2000 
State-Changed-Why:  
Can you please try version 2.00 of the package? 

From: Michael Wolfson <mw@costello.cnf.cornell.edu>
To: tron@netbsd.org, gnats-bugs@netbsd.org
Cc:  
Subject: Re: pkg/9965
Date: Fri, 25 Aug 2000 22:31:28 -0400

 At 9:03 PM +0000 8/25/00, you wrote:

 :)Synopsis: lang/moscow_ml doesn't compile (Signal 11)
 :)
 :)State-Changed-From-To: open->feedback
 :)State-Changed-By: tron
 :)State-Changed-When: Fri Aug 25 14:02:50 PDT 2000
 :)State-Changed-Why:
 :)Can you please try version 2.00 of the package?

 Hi,

 Thanks for upgrading it, but it still doesn't work:

 [...]
  ===> Building for moscow_ml-2.00
 [...]
 gcc -O -DNDEBUG -o mosmlyac closure.o error.o lalr.o lr0.o main.o mkpar.o
 output
 .o reader.o  skeleton.o symtab.o verbose.o warshall.o
 main.o: warning: mktemp() possibly used unsafely, use mkstemp() or mkdtemp()
 /usr/bin/strip mosmlyac
 cd mosmllib; make all
 ../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Vector.sig
 *** Signal 11

 Stop.
 *** Error code 1

 Stop.


State-Changed-From-To: feedback->open 
State-Changed-By: wiz 
State-Changed-When: Sat Sep 9 10:41:48 PDT 2000 
State-Changed-Why:  
Feedback has been provided, bug's still there. 
State-Changed-From-To: open->feedback 
State-Changed-By: wiz 
State-Changed-When: Sat Jan 19 17:12:50 PST 2002 
State-Changed-Why:  
Could you please check if the problem still exists with the current version, 
2.00? Thanks. 
State-Changed-From-To: feedback->open 
State-Changed-By: wiz 
State-Changed-When: Thu Mar 14 03:53:17 PST 2002 
State-Changed-Why:  
Ups, last open->feedback had already been asked... 

From: SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
To: mw@costello.cnf.cornell.edu, tron@netbsd.org
Cc: gnats-bugs@gnats.netbsd.org, netbsd-bugs@netbsd.org,
  kei_sun@ba2.so-net.ne.jp
Subject: Re: pkg/9965
Date: Sat, 01 Jun 2002 04:41:35 +0900

 Hi,

 I've tried moscow_ml-2.00 to compile on 1.5V/macppc and
 1.5ZC/i386.  It compiled just fine (no make install yet).

 The problem may not occur under the systems after 1.5, I
 guess.  Is it related to the version of toolchain, or the
 resource limit somewhere?

 macppc$ uname -a
 NetBSD azarin 1.5V NetBSD 1.5V (AZARIN) #1: Mon May 14 17:03:39 JST 2001     kei@azarin:/b/NetBSD-cvs/src/sys/arch/macppc/compile/AZARIN macppc
 macppc$ gcc -v
 Using builtin specs.
 gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)

 i386$ uname -a
 NetBSD sara 1.5ZC NetBSD 1.5ZC (SARA) #0: Wed Mar 27 02:21:27 JST 2002     kei@sara:/home/NetBSD-cvs/src/sys/arch/i386/compile/SARA i386
 i386$ gcc -v
 Using builtin specs.
 gcc version 2.95.3 20010315 (release) (NetBSD nb1)

 Please let me know if you need more info.

 --
 SUNAGAWA Keiki <kei@NetBSD.org> <kei@jp.NetBSD.org>
 http://www.NetBSD.org/ http://www.jp.NetBSD.org/
State-Changed-From-To: open->feedback 
State-Changed-By: tron 
State-Changed-When: Fri May 31 13:09:57 PDT 2002 
State-Changed-Why:  
Could you please test if the problem goes away when you unlimit the stacksize 
before compiling this package? 

From: Matthias Scheler <tron@zhadum.de>
To: SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
Cc: NetBSD GNATS <gnats-bugs@gnats.netbsd.org>
Subject: Re: pkg/9965
Date: Fri, 31 May 2002 22:09:50 +0200

 On Sat, Jun 01, 2002 at 04:41:35AM +0900, SUNAGAWA Keiki wrote:
 > I've tried moscow_ml-2.00 to compile on 1.5V/macppc and
 > 1.5ZC/i386.  It compiled just fine (no make install yet).

 The problem was reported for NetBSD-hp300 which is a m68k architecture
 and matches none of the above.

 > Is it related to the version of toolchain, or the resource limit somewhere?

 It could be a stack size limit, good point.

 	Kind regards

 -- 
 Matthias Scheler                                  http://scheler.de/~matthias/
Responsible-Changed-From-To: pkg-manager->toolchain-manager 
Responsible-Changed-By: wiz 
Responsible-Changed-When: Mon Jun 24 15:06:19 PDT 2002 
Responsible-Changed-Why:  
Probably toolchain problem; also happens with lang/gcc package, which is 
in sync with NetBSD-current from 2002/03/28. 

From: "Perry E. Metzger" <perry@piermont.com>
To: mw34@cornell.edu
Cc: gnats-bugs@gnats.netbsd.org, perry@piermont.com
Subject: Re: toolchain/9965
Date: 04 Apr 2003 16:50:54 -0500

 >Synopsis:       lang/moscow_ml doesn't compile (Signal 11)

 Does this problem persist to this day, or has it been fixed? There has
 been no comment on this in most of a year...

 Perry
State-Changed-From-To: feedback->closed 
State-Changed-By: mbw 
State-Changed-When: Sat Apr 5 12:23:10 PST 2003 
State-Changed-Why:  
Someone fixed it -- tested on 20030331 snapshot of -current on an HP 9000/362 
Thanks! 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.