Re: Bug#584610: [mips] gcc-4.4 build failure after upgrade to eGLIBC-2.11
On Sat, Jun 05, 2010 at 03:50:51AM +0200, Matthias Klose wrote:
> Package: eGLIBC
> Version: 2.11.1-2
> Severity: serious
> gcc-4.4 and gcc-4.5 fail to build after the upgrade to eGLIBC-2.11:
This FTBFS is caused by the following change:
|2009-11-20 Jakub Jelinek <email@example.com>
| PR libc/10103
| * math/math.h: Provide *l long double prototypes redirecting
| to double functions even when __NO_LONG_DOUBLE_MATH and not
| * math/complex.h: Likewise.
These functions were present before in the library, but not exported
in the headers. This has been changed as it is required by ISO C99.
GCC tries to find these functions in the GLIBC by compiling a program,
so it was failing before, and is successful now. When they are already
present in the GLIBC it does not re-export them.
Strangely this should also affect ARM, but it seems to build correctly.
I haven't investigated why.
While these functions are strictly not needed in libstdc++6 anymore, we
have two options:
- revert the GLIBC change, which means we break the C99 compatibility
- patch GCC to export these functions anyway.
What's your opinion?
Aurelien Jarno GPG: 1024D/F1BCDB73