Eigenstate: myrddin-dev mailing list

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

Build Errors.


Recently, I removed the sigpipe handler from setup.myr. This removes a symbol
that some code expects, leading to errors like this:

	ivy.o: In function `__init__':
	/home/ori/src/myr/ivy/ivy.myr:10: undefined reference to `sys$setup$posixy$myr$__init__'
	FAIL: "ld -o ivy <snip> -L/home/ori/bin/lib/myr -ltermdraw -lstd -lsys"

This should be fixable with an `mbld clean`, and building again.

In the longer term, mbld should be fixed to handle installed libraries going
out of date, although I'm not sure how to handle transitive dependencies.

Very long term, I think that putting the `init` generation code into the linker
is the least fragile option.

Sorry about the inconvenience.

-- 
Ori Bernstein <ori@xxxxxxxxxxxxxx>