Closed razvand closed 1 year ago
Working on this
Erlang otp https://github.com/erlang/otp, can't compile statically as erlc
doesn't support static linking.
Reproduce with:
$ CFLAGS='-O2 -g -fPIE -static' CXXFLAGS='-O2 -g -fPIE -static' LDFLAGS='-static' ./configure --without-termcap --without-javac --without-ssl --enable-pie
...
$ make
...
ERLC ../ebin/leex.beam
dlsym: No such file or directory
...
10 points awarded
Add Erlang as a
-static-pie
build. Test it natively on Linux and with run-elfloader on Unikraft. In case of issues with Unikraft, post an issue in the Unikraft core repository.Follow the structure of existing applications or submitted for review applications: create a folder with
build.sh
script, aREADME.md
file, arootfs/
subfolder (if required), the-static-pie
built executable and other useful files.Hackathon points: 50