Re: SIGSEGV trying to bootstrap Scheme48 from VCS

Ivan Shmakov <[email protected]>
Newsgroups gmane.lisp.scheme.scheme48
Message-ID <[email protected]>
>>>>> Michael Sperber <[email protected]> writes:

 >>> How did you build the running Scheme 48 from the development code
 >>> itself?

 >> The same way as I've tried to build the development version of
 >> Scheme48 with itself later (already posted to this thread), only
 >> using Scheme48 1.8 as the basis.

[...]

 >> (Surely not to mean anything related to either Visual C, or Volkov
 >> Commander.)

 > So *how* did you build the development version that crashed? :-)

	I guess, I'm now the one confused with the question.

	The development code that crashed was built the way just like
	the one I've used to build the development code with itself,
	i. e.:

--cut: http://permalink.gmane.org/gmane.lisp.scheme.scheme48/2147 --
$ mkdir +build-1 
$ cd +build-1 
$ ../configure --prefix="$HOME" 
...
$ make \
      ../build/filenames.make \
      i-know-what-i-am-doing \
      c/scheme48.h \
      ../build/initial.image-{32,64}
...
--cut: http://permalink.gmane.org/gmane.lisp.scheme.scheme48/2147 --

	(And to be sure, I've just used the commands above to bootstrap
	the development Scheme48 using Scheme48 1.8 once again.)

	The only differences were the use of Scheme48 to perform the
	build, and the final outcome.  Consider the build logs:

--cut: http://permalink.gmane.org/gmane.lisp.scheme.scheme48/2154 --
scheme48-4f2030ac3336 $ LC_ALL=C nohup time bash autogen.sh 
nohup: appending output to `nohup.out'
scheme48-4f2030ac3336 $ tail -n 32 nohup.out 
 s48_external_event_uid
 s48_permanent_external_event_uid
#{Unspecific}
cd ./ps-compiler &&					     \
	(echo ',batch';							     \
		echo ',config ,load ../scheme/platform-interfaces.scm';	     \
		echo ',config ,load ../scheme/rts-packages-64.scm';          \
		echo ',config ,load ../scheme/prescheme/interface.scm';	     \
		echo ',config ,load ../scheme/prescheme/package-defs.scm';   \
		echo ',exec ,load load-ps-compiler.scm';		     \
		echo ',exec ,load compile-twospace-gc-64.scm';		     \
		echo ',exit'						     \
	) | scheme48 -h 8000000 &&					     \
		mv ../scheme/vm/scheme48-twospace-heap-64.c ../c
Welcome to Scheme 48 1.9T (made by ivan on Thu Aug 21 01:34:41 NOVST 2008)
Copyright (c) 1993-2008 by Richard Kelsey and Jonathan Rees.
Please report bugs to [email protected].
Get more information at http://www.s48.org/.
Type ,? (comma question-mark) for help.
> will not prompt and will exit on errors


Pre-Scheme compiler version 1.9T
Copyright (c) 1993-2008 by Richard Kelsey.
Please report bugs to [email protected].

/bin/sh: line 10: 15147 Done                    ( echo ',batch'; echo ',config ,load ../scheme/platform-interfaces.scm'; echo ',config ,load ../scheme/rts-packages-64.scm'; echo ',config ,load ../scheme/prescheme/interface.scm'; echo ',config ,load ../scheme/prescheme/package-defs.scm'; echo ',exec ,load load-ps-compiler.scm'; echo ',exec ,load compile-twospace-gc-64.scm'; echo ',exit' )
     15148 Segmentation fault      | scheme48 -h 8000000
make: *** [compile-twospace-gc-64] Error 139
Command exited with non-zero status 2
96.27user 3.38system 1:46.72elapsed 93%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (98major+894375minor)pagefaults 0swaps
--cut: http://permalink.gmane.org/gmane.lisp.scheme.scheme48/2154 --

scheme48-4f2030ac3336-with-1.8/+build-1 $ LC_ALL=C nohup time make \
      ../build/filenames.make \
      i-know-what-i-am-doing \
      c/scheme48.h \
      ../build/initial.image-{32,64} 
...
scheme48-4f2030ac3336-with-1.8/+build-1 $ cat nohup.out
 s48_external_event_uid
 s48_permanent_external_event_uid
#{Unspecific}
cd ../ps-compiler &&					     \
	(echo ',batch';							     \
		echo ',config ,load ../scheme/platform-interfaces.scm';	     \
		echo ',config ,load ../scheme/rts-packages-64.scm';          \
		echo ',config ,load ../scheme/prescheme/interface.scm';	     \
		echo ',config ,load ../scheme/prescheme/package-defs.scm';   \
		echo ',exec ,load load-ps-compiler.scm';		     \
		echo ',exec ,load compile-twospace-gc-64.scm';		     \
		echo ',exit'						     \
	) | scheme48 -h 8000000 &&					     \
		mv ../scheme/vm/scheme48-twospace-heap-64.c ../c
Welcome to Scheme 48 1.8 (made by ivan on Wed Apr 16 18:18:15 NOVST 2008)
Copyright (c) 1993-2008 by Richard Kelsey and Jonathan Rees.
Please report bugs to [email protected].
Get more information at http://www.s48.org/.
Type ,? (comma question-mark) for help.
> will not prompt and will exit on errors


Pre-Scheme compiler version 1.9T
Copyright (c) 1993-2008 by Richard Kelsey.
Please report bugs to [email protected].

#{Unspecific}

Changing default package for file ../scheme/vm/data/platform-64.scm from
#{Package 252 platform} to #{Package 313 ps-platform}

Changing default package for file ../scheme/vm/interp/arch.scm from
#{Package 311 vm-architecture} to #{Package 318 vm-architecture}
[... This particular step completes fine...]
  relocate_binding_table_two_spaceB
  reverse_byte_orderB
  really_read_image_area
#{Unspecific}
cd ../ps-compiler &&					     \
	(echo ',batch';							     \
		echo ',config ,load ../scheme/platform-interfaces.scm';	     \
		echo ',config ,load ../scheme/rts-packages-64.scm';          \
		echo ',config ,load ../scheme/prescheme/interface.scm';	     \
		echo ',config ,load ../scheme/prescheme/package-defs.scm';   \
		echo ',exec ,load load-ps-compiler.scm';		     \
		echo ',exec ,load compile-bibop-gc-64.scm';		     \
		echo ',exit'						     \
	) | scheme48 -h 8000000 &&					     \
		mv ../scheme/vm/scheme48-bibop-heap-64.c ../c
Welcome to Scheme 48 1.8 (made by ivan on Wed Apr 16 18:18:15 NOVST 2008)
Copyright (c) 1993-2008 by Richard Kelsey and Jonathan Rees.
Please report bugs to [email protected].
[... So the whole build...]
scheme48-4f2030ac3336-with-1.8/+build-1 $
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.