Something really strange is happening (absolutely reproducibly). I cannot understand.

After this failure in the build process, make removes raw_gcl. This is inconvenient for debugging. Therefore I removed it from .INTERMEDIATE in the makefile in unixport. I run make in the toplevel directpry, and get


/var/tmp/portage/dev-lisp/gcl-2.6.12/work/gcl/unixport/raw_gcl /var/tmp/portage/dev-lisp/gcl-2.6.12/work/gcl/unixport/ -libdir /var/tmp/portage/dev-lisp/gcl-2.6.12/work/gcl/ < foo

Unrecoverable error: Segmentation violation..

(the first 3 lines here are, of course, 1 line split by the email client). But now raw_gcl is still here. So, I run by hand

/var/tmp/portage/dev-lisp/gcl-2.6.12/work/gcl/unixport/raw_gcl /var/tmp/portage/dev-lisp/gcl-2.6.12/work/gcl/unixport/ -libdir /var/tmp/portage/dev-lisp/gcl-2.6.12/work/gcl/ < foo

(the same 1 line). And it succeeds and produces saved_gcl!

Why does this line fail when started by make, but succeeds when started from the command line??

Andrey

_______________________________________________
Gcl-devel mailing list
Gcl-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/gcl-devel

Reply via email to