error building from source (2011/05/30)

2 views
Skip to first unread message

marcomaggi

unread,
May 30, 2011, 7:17:56 AM5/30/11
to Mosh Developer Disscus
I get the following with current master branch:

make
/usr/bin/make all-recursive
make[1]: Entering directory `/home/marco/src/devel/scheme/checkouts/
mosh'
Making all in extlibs/gc-7.1
make[2]: Entering directory `/home/marco/src/devel/scheme/checkouts/
mosh/extlibs/gc-7.1'
make[3]: Entering directory `/home/marco/src/devel/scheme/checkouts/
mosh/extlibs/gc-7.1'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/marco/src/devel/scheme/checkouts/
mosh/extlibs/gc-7.1'
make[2]: Leaving directory `/home/marco/src/devel/scheme/checkouts/
mosh/extlibs/gc-7.1'
Making all in .
make[2]: Entering directory `/home/marco/src/devel/scheme/checkouts/
mosh'
g++ -DHAVE_CONFIG_H -I. -I./src -I ./extlibs/gc-7.1/include -I./src -
I/usr/local/include -g -Wall -Wno-deprecated -I ./src/posix/terminal -
I src -I /usr/local/include -D MONA_SCHEME -D USE_BOEHM_GC -D
MOSH_LIB_PATH="\"/usr/local/share/mosh-scheme-0.2.7\"" -
D_FILE_OFFSET_BITS=64 -Wall -pipe -DDEBUG_VERSION -O3 -momit-leaf-
frame-pointer -fomit-frame-pointer -march=i686 -msse3 -mfpmath=sse -D
GIT_BRANCH="\"master\"" -D GIT_COMMIT_REVISION="\"mosh-0.2.5-661-
g3cef1b4\"" -D GIT_COMMIT_DATE="\"2011/05/30 16:02:27\"" -MT
ProcessProcedures.o -MD -MP -MF .deps/ProcessProcedures.Tpo -c -o
ProcessProcedures.o `test -f 'src/ProcessProcedures.cpp' || echo
'./'`src/ProcessProcedures.cpp
src/ProcessProcedures.cpp: In function 'scheme::Object
scheme::processTerminateDEx(scheme::VM*, int, const scheme::Object*)':
src/ProcessProcedures.cpp:285:99: error: 'n1' was not declared in this
scope
src/ProcessProcedures.cpp:285:103: error: 'n2' was not declared in
this scope
src/ProcessProcedures.cpp:288:1: warning: control reaches end of non-
void function [-Wreturn-type]
make[2]: *** [ProcessProcedures.o] Error 1
make[2]: Leaving directory `/home/marco/src/devel/scheme/checkouts/
mosh'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/marco/src/devel/scheme/checkouts/
mosh'
make: *** [all] Error 2

configuring with:

./configure \
--enable-developer \
CFLAGS='-g -O3 -march=i686 -mtune=i686'

higepon

unread,
May 30, 2011, 9:01:52 AM5/30/11
to mosh-develo...@googlegroups.com
Hi.

Sorry. Fixed.

By the way, 0.2.7 is coming soon!

Cheers.

> --
> You received this message because you are subscribed to the Google Groups "Mosh Developer Disscus" group.
> To post to this group, send email to mosh-develo...@googlegroups.com.
> To unsubscribe from this group, send email to mosh-developer-di...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mosh-developer-discuss?hl=en.
>
>

marcomaggi

unread,
May 30, 2011, 2:46:21 PM5/30/11
to Mosh Developer Disscus
On May 30, 3:01 pm, higepon <hige...@gmail.com> wrote:
> By the way, 0.2.7 is coming soon!

With the revision I am using now (not the latest yet) I sometimes get:

GC Warning: Finalization cycle involving XXXXX

I know vaguely where it comes from; I cannot reliably reproduce it; is
it something that should be fixed?
--
Marco Maggi

higepon

unread,
May 30, 2011, 11:17:38 PM5/30/11
to mosh-develo...@googlegroups.com
Hi.

> it something that should be fixed?

Yes.
Seems same situation as
http://comments.gmane.org/gmane.comp.programming.garbage-collection.boehmgc/2771

Here is the 0.2.7RC2.
http://storage.osdev.info/pub/mosh/mosh-current.tar.gz

If you have a time, could you check whether the warnings are shown or not?
We have updated Boehm GC to the latest CVS head.

Cheers.

marcomaggi

unread,
May 31, 2011, 12:32:48 AM5/31/11
to Mosh Developer Disscus
On May 31, 5:17 am, higepon <hige...@gmail.com> wrote:
> Here is the 0.2.7RC2.http://storage.osdev.info/pub/mosh/mosh-current.tar.gz

Is it different from current master's HEAD?
--
Marco Maggi

higepon

unread,
May 31, 2011, 12:42:46 AM5/31/11
to mosh-develo...@googlegroups.com
Yes it is different.

> Is it different from current master's HEAD?
> --
> Marco Maggi
>

marcomaggi

unread,
May 31, 2011, 1:13:16 AM5/31/11
to Mosh Developer Disscus
On May 31, 6:42 am, higepon <hige...@gmail.com> wrote:
> Yes it is different.

I am building it; I get multiple error messages like:

|fatal: Not a git repository (or any parent up to mount parent )
|Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not
set).

which should not be there in a release.
--
Marco Maggi

higepon

unread,
May 31, 2011, 1:21:23 AM5/31/11
to mosh-develo...@googlegroups.com
Thanks and sorry.

>okuoku

Could you check the following?

Cheers.

marcomaggi

unread,
May 31, 2011, 2:14:11 AM5/31/11
to Mosh Developer Disscus
On May 31, 5:17 am, higepon <hige...@gmail.com> wrote:
> If you have a time, could you check whether the warnings are shown or not?
> We have updated Boehm GC to the latest CVS head.

It happens again, 3 times out of 50 runs of the same program.
--
Marco Maggi

higepon

unread,
May 31, 2011, 3:46:23 AM5/31/11
to mosh-develo...@googlegroups.com
Hi.

Thanks.

> It happens again, 3 times out of 50 runs of the same program.

Could you show me how to run the program here?
Or register to issues?

We'll fix the bug after 0.2.7 is releases.

Thank you for your help.

marcomaggi

unread,
May 31, 2011, 7:19:27 AM5/31/11
to Mosh Developer Disscus
On May 31, 9:46 am, higepon <hige...@gmail.com> wrote:
> Could you show me how to run the program here?

It is going to be tough. Download:

http://github.com/downloads/marcomaggi/nausicaa/nausicaa-scheme-0.2d6-1-src.tar.bz2

unpack the archive on Linux and move to the top directory, then run

|mkdir "=build"
|cd "=build"
|../configure --enable-mosh
|make bin mfasl
|for n in $(seq 1 50)
|do make mtest file=r6rs-parser
|done

HTH
--
Marco Maggi

okuoku

unread,
May 31, 2011, 9:25:06 AM5/31/11
to mosh-develo...@googlegroups.com
2011/5/31 marcomaggi <mrc...@gmail.com>:

No. It's not considered harmful. Because we won't use GC's
finalizer(de-allocation callback) in in-order manner.

In this message, GC says "I can't decide which finalizer should be
called first, because finalizable object forms a cycle!"
Our response will be : "Pick any." So you can safely ignore this.

...But I feel it is a bit annoying and we should research this and
reconsider about VM structure if we need.
And I'm afraid to say it's won't be fixed in 0.2.7 or anytime soon.

-- oku

marcomaggi

unread,
May 31, 2011, 2:38:54 PM5/31/11
to mosh-develo...@googlegroups.com
okuoku wrote:
> And I'm afraid to say it's won't be fixed in 0.2.7 or
> anytime soon.

This is find with me. I am biased, but the important thing
to me is seeing fixed issues 171, 186, 194 and 202; with
these Mosh is a usable R6 implementation. Other issues can
be fixed when time permits it.
--
Marco Maggi

higepon

unread,
Jun 1, 2011, 10:17:24 AM6/1/11
to mosh-develo...@googlegroups.com
Thanks Marco

I got following error on make bin mfasl.

% LANG=C make bin mfasl
/bin/cp --force --verbose --preserve=mode,timestamp --
../src/libraries/./nausicaa.sls fasl.d/./nausicaa.sls
/bin/mkdir: created directory `./fasl.d'
`../src/libraries/./nausicaa.sls' -> `fasl.d/./nausicaa.sls'
/bin/cp --force --verbose --preserve=mode,timestamp --
../src/libraries/nausicaa/armor/ascii85.sls
fasl.d/nausicaa/armor/ascii85.sls
/bin/mkdir: created directory `./uninstall.d'
/bin/cp --force --verbose --preserve=mode,timestamp --
../src/libraries/nausicaa/armor/base16.sls
fasl.d/nausicaa/armor/base16.sls
`../src/libraries/nausicaa/armor/ascii85.sls' ->
`fasl.d/nausicaa/armor/ascii85.sls'
/bin/cp: cannot create regular file
`fasl.d/nausicaa/armor/ascii85.sls': No such file or directory
make: *** [fasl.d/nausicaa/armor/ascii85.sls] Error 1
make: *** Waiting for unfinished jobs....
/bin/mkdir: created directory `./fasl.d/nausicaa'
/bin/mkdir: created directory `./fasl.d/nausicaa/armor'
`../src/libraries/nausicaa/armor/base16.sls' ->
`fasl.d/nausicaa/armor/base16.sls'

Cheers.

marcomaggi

unread,
Jun 1, 2011, 2:27:06 PM6/1/11
to mosh-develo...@googlegroups.com
higepon wrote:
> I got following error on make bin mfasl.
> % LANG=C make bin mfasl

This is weird. Are you making a parallel run of "make"?
The commands are fine but intermixed in a wrong way; if it
is because a of parallel make try to select or force a
single make process (this should be --jobs=1 for GNU Make).

Alternatively try to run "make sls" alone; it should just
copy the *.sls files from the "src/libraries" directory to
the "$(builddir)/fasl.d" directory; then "make mfasl" will
compile the libraries searching them under
"$(builddir)/fasl.d".

HTH
--
Marco Maggi

higepon

unread,
Jun 2, 2011, 5:29:34 AM6/2/11
to mosh-develo...@googlegroups.com
Yes.

I forgot I've set like following on .zshrc. Sorry.
alias make="make -j3"

Finally, the bug is reproduced.
So I registered the issue.

Thanks.

http://code.google.com/p/mosh-scheme/issues/detail?id=214

Reply all
Reply to author
Forward
0 new messages