[Buildroot] [PATCH 2/2] qemu-sparc: use default gcc
wbx at openadk.org
Sun Sep 21 19:32:51 UTC 2014
Thomas Petazzoni wrote,
> Dear Waldemar Brodkorb,
> On Fri, 19 Sep 2014 12:34:04 +0200, Waldemar Brodkorb wrote:
> > With the kernel patch from:
> > http://patchwork.ozlabs.org/patch/384285/
> > There is no problem with latest gcc anymore.
> > Signed-off-by: Waldemar Brodkorb <wbx at openadk.org>
> > ---
> > .../linux/linux-0001-sparc-memset-fix.patch | 50 ++++++++++++++++++++
> > configs/qemu_sparc_ss10_defconfig | 2 +
> > package/gcc/Config.in.host | 7 ++-
> > 3 files changed, 55 insertions(+), 4 deletions(-)
> > create mode 100644 board/qemu/sparc-ss10/linux/linux-0001-sparc-memset-fix.patch
> It's a bit annoying that we need a patch to the kernel to make sure
> that gcc can build a working kernel since it means that people not
> using the Qemu defconfig for SPARC builds will not get the patch.
> Though the problem has been around since a long time, so if people
> really bothered about working SPARC support in upstream kernel/gcc,
> they should have complained earlier.
The patch was accepted by David Miller, so the problem shouldn't
exist in the next version of the Kernel.
If buildroot would have a global Linux patch directory, something
like this could be added meanwhile.
More information about the buildroot