Hi

I was playing with packaging Christian's obase for Arch
https://aur.archlinux.org/packages.php?ID=56826

and an easy-to-chroot package to complement it
https://aur.archlinux.org/packages.php?ID=59735

The idea I had was that one could use this environment as a gradual
experimental environment to build up a complete alternative OS by a
custom init chrooting into /opt/obase.
When it has been completely assembled and self-hosting, one could make
it into an independent system.

I hope to update both to musl and complete static in the near future.

At the moment I have some issues with that the binaries refuse to be
100% static
an output of ldd gives:

> ldd ./ksh
        linux-vdso.so.1 =>  (0x00007fffff393000)
        libc.so.6 => /lib/libc.so.6 (0x00007fd020358000)
        /lib/ld-linux-x86-64.so.2 (0x00007fd0206f9000)

as long as those dynamic dependencies are present, the chroot idea
will not work.

and adding static as CC="$CC -static"  or in CFLAGS or LDFLAGS does not help :(

Reply via email to