|
From: Arthur N. <ac...@ca...> - 2015-10-08 16:51:54
|
Yes, reduce.img should be quite a few megabytes large. If it is in a
damaged state that tend to mean that a previous attempt to build it
crashed (so you could look at the log frrom that). But if you just delete
all of cslbuild, run configure again and go "make" you get a fully freshly
built version - and if that is still small and broken it usually means you
did not have some necesary development library or tool installed on the
machine you were building on. Somewhere in all the output from the build
(I tend to collect it by going
script build.log
make
exit)
should be messages from which one can deduce what. I also HOPE that
scripts/csl-sanity-check.sh can HELP get a system up to the necessary
state.
Arthur
On Thu, 8 Oct 2015, Andrey G. Grozin wrote:
> On Thu, 8 Oct 2015, Arthur Norman wrote:
> <skip>
>> So reduce.img(InitialImage) refers to the start-up heap image as stored
>> as a component of the file reduce.img.
> Thank you for the explanation.
>
> I see that on my 32-bit gentoo box lsb-release was already installed (it's
> a dependency of some other package installed there). And what I get is
>
> grozin@elrond ~/reduce-3235 $ bin/redcsl -w
> +++ Image file
> "/home/grozin/reduce-3235/scripts/../cslbuild/i686-unknown-gentoo2.2/csl/reduce.img(InitialImage)"
> can not be read
>
> grozin@elrond ~/reduce-3235 $ file
> /home/grozin/reduce-3235/scripts/../cslbuild/i686-unknown-gentoo2.2/csl/reduce.img
> /home/grozin/reduce-3235/scripts/../cslbuild/i686-unknown-gentoo2.2/csl/reduce.img:
> data
>
> So, /home/grozin/reduce-3235/cslbuild/i686-unknown-gentoo2.2/csl/reduce
> trys to read
> /home/grozin/reduce-3235/cslbuild/i686-unknown-gentoo2.2/csl/reduce.img(InitialImage)
> but fails; the file
> /home/grozin/reduce-3235/cslbuild/i686-unknown-gentoo2.2/csl/reduce.img
> exists. Maybe, something is wrong with its internal steructure? It is
> quite small:
>
> -rw-r--r-- 1 grozin grozin 38072 Oct 7 16:07
> /home/grozin/reduce-3235/cslbuild/i686-unknown-gentoo2.2/csl/reduce.img
>
> On the 64-bit box it is much larger:
>
> -rw-r--r-- 1 grozin grozin 5282160 Oct 9 00:12 reduce.img
>
> Andrey
>
|