With this patch gcc compiles and links against relibc. \o/
This will create a new commit in order to revert the existing changes.