buildgcc: Add patch to work around Musl libc issue

Hardware / Coreboot - Nico Huber [gmx.de] - 15 January 2018 01:15 EST

GCC includes `sched.h` after poisoning calloc(). This results in a build failure with Musl libc. We work around the issue by including `sched.h` earlier and throw around some void pointers so we only have to do it in one place.

Change-Id: I1d5462eb9a448147a95dd4ec50361b3f5a28910c

76a4f71e89 buildgcc: Add patch to work around Musl libc issue
.../patches/gcc-6.3.0_ada-musl_workaround.patch | 118 +++++++++++++++++++++
1 file changed, 118 insertions(+)

Upstream: review.coreboot.org


  • Share