Re: gcc-4.2 problems
Neil Williams wrote:
> When building glibc, I came across a worrying error on my amd64 box that
> I was able to reproduce on an i386 box also running the 4.2 toolchain:
>
> ../include/stdlib.h:157: warning: C99 inline functions are not supported; using GNU89
> ../include/stdlib.h:163: warning: C99 inline functions are not supported; using GNU89
> ../include/stdlib.h:169: warning: C99 inline functions are not supported; using GNU89
> ../include/stdlib.h:175: warning: C99 inline functions are not supported; using GNU89
> ../include/stdlib.h:181: warning: C99 inline functions are not supported; using GNU89
>
> It happens continuously during the build - I'd estimate at least 6 times for nearly every C file in glibc, it more than doubles the build log size and raises concerns that 4.2 is building glibc with the wrong compiler settings.
> :-(
>
> Can anyone else reproduce this with a simple dpkg-buildpackage -a build of the current glibc?
>
> The Debian build logs show no sign of this problem.
AFAIK glibc uses explicitly gcc-4.1.
Thiemo
Reply to: