The compilation of the musl cross compiler fails as there are some header files that seem not to exist.
// #include <net/if_ppp.h>
// #include <netax25/ax25.h>
// #include <netipx/ipx.h>
// #include <netrom/netrom.h>
// #include <sys/ustat.h>
When I drop the missing includes there are consecutive errors due to missing structures then.
What is the preferred way to solve this?
Maybe we can drop the sanitizer.*posix step at all?
If so, how can gcc be configured to do so?
Steps to Reproduce:
I can provide more information, but it might be better to reproduce the problem.
Please note that I already patched the musl overlay gcc-4.9.3-r99.ebuild, to obey the musl patches not only on elibc_musl, but also when doing the cross step, as described in the report comments of 563208.
emerge gcc with USE="-sanitize"
This use flag is masked on musl profiles, but similarly to bug 563208
that does not apply to the case when cross-compiling from glibc. The
comment for the mask refers to bug 504200.
Thank you! USE="-sanitize" helped.
It would be good if the ebuild would at least document that behaviour in the musl overlay or even auto-switch that option on "elibc_musl" and "cross-*musl" categories.
Good to know that USE="-sanitize" helped.
Please reopen this bug. The underlying issue is not really solved.
Furthermore, it makes it easier for someone to find this bug including