Closed unusual-thoughts closed 5 years ago
Hi unusual-thoughts, I removed the Makefile until we build generically using libtool. The first errors can be safely ignored : they relate to witchcraft scripts called at boot time that call some syscall that is not supported within the translation via qemu (which is what I assume you're using ?). The final segfault comes from the fact that /bin/sh is a ET_EXEC and not a share library. You would have had to transform it into a share library using wld first. This has been fixed in the latest versions of wsh, that will do this for you automatically. Thanks !
Compilation fails on arm systems unless '-masm=intel' is removed from compile flags in Makefile.
This is an x86-only gcc option apparently: http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20140512/105322.html
Also I need to change
src/wsh/script.lds
with system version from/usr/lib/ldscripts/armelf_linux_eabi.xc
(and probably change some addresses?), or remove the link script entirely from build flags.Either way, wsh segfaults once built inside of my arm chroot:
I saw you removed the arm-specific makefile, is arm not supported anymore?