gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] building gcl-2.6.12: raw_gcl segfaults


From: Andrey G. Grozin
Subject: Re: [Gcl-devel] building gcl-2.6.12: raw_gcl segfaults
Date: Mon, 17 Oct 2016 23:51:16 +0700 (+07)
User-agent: Alpine 2.20 (LRH 67 2015-01-07)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]