Re: nds32 build failures
From: Arnd Bergmann
Date: Tue Apr 17 2018 - 08:47:51 EST
On Mon, Apr 16, 2018 at 11:06 AM, Greentime Hu <green.hu@xxxxxxxxx> wrote:
> 2018-04-16 11:58 GMT+08:00 Guenter Roeck <private@xxxxxxxxxxxx>:
> This built failure is because the toolchain version you used is not
> supported the latest intrinsic function/macro.
> We are sending the latest patchset now and we expect the whole new
> features will be supported in gcc8.0.0 and binutil2.31+.
> If you'd like to get these new features of toolchain, you may use the
> github version.
> This is the built-script repo. https://github.com/andestech/build_script.git
I've taken the gcc-6.3 sources from there, and updated them to gcc-6.4.0
in order to build a nds32le-linux toolchain based on the same version as
the other ones.
Unfortunately neither the usual binutils-2.29.1 nor your binutils worked
for me, but I eventually managed to get a build using the binutils-2.30
With this, I could build a mainline kernel with a couple of warnings,
but an 'allmodconfig' build still failed.
Guenter, can you try my binary from
If that works for you, I'll update the front-page and remove the nds32-elf
Greentime, do you have a patch set for gcc-7.3 as well, or are 6.3 and 8.0 the
only working compilers for nds32le-linux?