Skip to content

maru.9 eval0 built but fail to generate eval1 (MacOS X - llvm) #2

@TheFausap

Description

@TheFausap

Hello,

I did some changes in my forked repo, in order to compile up to maru.8 everything under Mac OS X BigSur.
Maru.9 compile eval.l in eval0 using the maru.8 binaries, but when it starts compiling again to generate eval1 I got this error:

time build/llvm-libc/x86_64-apple-darwin/eval0  -O -v --define *host-directory*"/Users/fausap/MyDocuments/maru/build/eval0/build/maru.9" --define *slave-directory* 	"/Users/fausap/MyDocuments/maru/build/eval0/build/maru.9" source/bootstrapping/prepare.l boot.l /Users/fausap/MyDocuments/maru/build/eval0/build/maru.9/source/bootstrapping/host-ready.l source/bootstrapping/early.l --define feature/profiler 		0 boot.l source/bootstrapping/late.l --define target/cpu 			x86_64 --define target/vendor 			apple --define target/os 			darwin source/emit-early.l source/emit-llvm.l source/emit-late.l source/platforms/libc/eval.l source/emit-finish.l >build/llvm-libc/64bit-le/eval1.ll || { touch -t 200012312359 build/llvm-libc/64bit-le/eval1.ll; exit 42; }
loading file: source/bootstrapping/prepare.l	(as a CLA)
changing working directory to: /Users/fausap/MyDocuments/maru/build/eval0/build/maru.9
loading file: boot.l	(as a CLA)
loading file: source/list-min.l
loading file: source/control-structures.l
loading file: source/list-basic.l
loading file: source/destructuring.l
loading file: source/iteration-min.l
loading file: source/sequences-basic.l
loading file: source/types.l

ERROR: 
selector '$peek has no method for type 0
ABORTED
  0: require.0+122
	callee:	Expr<require (path.2+0)>
	arg 0:	[instof:0]
  1: apply
	callee:	Expr<require (path.2+0)>
	arg 0:	[instof:0]
  2: Fixed<.let>
	callee:	Fixed<.let>
	arg 0:	Env< Lv2,Off2,#1
	arg 1:	((list.2+1 *load-history*.0+120))
	arg 2:	(Fixed<.while> (Fixed<.and> list.2+1 (not.0+55 (=.0+41 path.2+0 (car.0+100 list.2+1)))) (Fixed<.set> list.2+1 (cdr.0+99 list.2+1)))
	arg 3:	(Fixed<.if> (not.0+55 list.2+1) (load.0+67 path.2+0))
  3: apply
	callee:	.let
	arg 0:	Env< Lv2,Off2,#1
	arg 1:	((list.2+1 *load-history*.0+120))
	arg 2:	(Fixed<.while> (Fixed<.and> list.2+1 (not.0+55 (=.0+41 path.2+0 (car.0+100 list.2+1)))) (Fixed<.set> list.2+1 (cdr.0+99 list.2+1)))
	arg 3:	(Fixed<.if> (not.0+55 list.2+1) (load.0+67 path.2+0))
  4: Fixed<.if>
	callee:	Fixed<.if>
	arg 0:	(not.0+55 list.2+1)
	arg 1:	(load.0+67 path.2+0)
  5: apply
	callee:	.if
	arg 0:	(not.0+55 list.2+1)
	arg 1:	(load.0+67 path.2+0)
  6: load.0+67
	callee:	Expr<? (path.2+0)>
	arg 0:	[instof:0]
  7: apply
	callee:	Expr<? (path.2+0)>
	arg 0:	[instof:0]
  8: primitive/load.0+121
	callee:	.load
	arg 0:	[instof:0]
  9: apply
	callee:	.load
	arg 0:	[instof:0]

real	0m0.014s
user	0m0.011s
sys	0m0.002s
make[3]: *** [build/llvm-libc/64bit-le/eval1.ll] Error 42
make[2]: *** [build/maru.9/eval] Error 2
make[1]: *** [/Users/fausap/MyDocuments/maru/build/eval0/eval0-llvm] Error 2
make: *** [build/llvm-libc/64bit-le/eval1.ll] Error 2

Any idea where can I look to fix this?

thanks,
Fausto

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions