unikernelLinux / ukl

Unikernel Linux
GNU Lesser General Public License v2.1
180 stars 16 forks source link

glibc is missing #2

Closed photoszzt closed 5 years ago

photoszzt commented 5 years ago

The glibc repo is not in github.

rbauduin commented 5 years ago

If others are interested, I used source from https://www.gnu.org/software/libc/sources.html

Git clone then enter the git repo directory and

mkdir glibc-build
cd glibc-build/
../configure --enable-static-pie --prefix=/tmp

You then get the libc.a file referenced from ukl. (though I still have other problems later :-)

jzck commented 5 years ago

You then get the libc.a file referenced from ukl. (though I still have other problems later :-)

The libc.a was obtained from a slightly modified glibc, in order to translate the syscalls prefixed ukl_ (ukl_accept to accept for example). try grep libc.a ukl_accept and you will see a match

razaaliraza commented 5 years ago

Done