Hi Clément,
Clément Péron wrote,
Hi,
I try to rebuild an old toolchain from my script which was originally
using uClibc 0.9.33.X, i have updated to binutils 2.25, gcc 4.9.3 and
uclibc-ng 1.0.5. But the build failed when building uclibc. Is
something wrong with the configuration of gcc first stage ?
It seems so. In OpenADK I normally use three gcc stages.
A minimal one for header installation and filling of sysroot,
a second one non-shared to compile the C library and a third full
shared one.
Buildroot use a shorter way, with just two gcc stages.
So both working fine with uClibc-ng 1.0.5.
Do you setup sysroot correctly, before compiling gcc?
May be we need to take a look at the complete build script/log to
find the issue.
Or you might switch to OpenADK or Buildroot?
best regards
Waldemar