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

Re: Bug#59893: building ELK on alpha failed

I appreciate your quick response!

> make[2]: Entering directory `/home/tad/work/om-inst/elk-3.0/lib/xaw'
> /bin/sh ./build
> Building Makefile.local...
> make -f Makefile.local
> make[3]: Entering directory `/home/tad/work/om-inst/elk-3.0/lib/xaw'
> ../../src/scheme -p .:../../scm:../xt -l mkwidget.scm ascii.d ascii.c xaw
> make[3]: *** [ascii.o] Segmentation fault

I noticed that elk behaves differently by optimization flag.
which is written in $(ELK_SOURCE)/config/system at the line 'cflags'.

When given '-O2' or '-O', compiled interpreter failed with segfaults.

When given '-Os', compiled interpreter works but failed with message below.
scheme-init: application of non-procedure: ()

When given no optimization flag, compiled interpreter seems to work.
but many alpha programs are usually compiled with these optimization flag
and works well.

I suspect many 'register' of storage-class-specifier in elk's source,
but I could not figure out where is problem exactly till now.

Tadayoshi Ohkuma / tad@omoikane.co.jp
Omoikane Inc. / http://www.omoikane.co.jp

Reply to: