Handpicked many patches, it almost builds
It fails with
Makefile:233: recipe for target 'elf/subdir_lib' failed