[Buildroot] [PATCH] gcc: 4.9.2: Add patch to remove a wrong header

Peter Korsgaard peter at korsgaard.com
Thu Feb 12 21:31:11 UTC 2015

>>>>> "Ezequiel" == Ezequiel Garcia <ezequiel at vanguardiasur.com.ar> writes:

 > This commit adds a patch to gcc removing a unistd.h header include
 > in libgcc/config/nios2/linux-atomic.c

 > The file is built as part of GCC first stage (host-gcc-initial),
 > and so the header is not accesible. Given the header is not needed
 > it's fine to simply remove it.

 > Chung-Lin Tang (GCC nios2 maintainer) confirmed patch is good:
 > ""
 > Thanks for noticing, this part appears to be unneeded now that Nios II
 > uses a kernel provided user function for Linux atomic operations. I'll
 > remove the include, and the #define's as well in upstream GCC.
 > ""

 > This commit is required to build a Nios-II internal toolchain.

I'll wait with this until you post the patches to actually build an
internal nios2 toolchain, ok?

Bye, Peter Korsgaard

More information about the buildroot mailing list