https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113891
--- Comment #4 from Steffen <stffn.mobil at freenet dot de> --- I'm not sure how to get this done. I tried it with -Wl,--no-as-needed, which aborts as well and -Wl,--whole-archive but that does not compile with undefined reference errors