Worked and this fine. Example, this patch for compiling sybase support for php 4.3.9 (apache2) on old sybase 11.9 libintl.so
is not problem of php. Is problem with linking old .so library's simple .c program (abstract): main { exit(0); } with -lintl causing same error.
Created attachment 42831 [details] workaround patch for gcc
so lets review ... you try to take an old .so file and link it in with a file compiled with a brand-spanking-new gcc and you get some ctype error ?
SpanKY: Static ctype data for IFC-7.1 / RedHat-9 workaround. This is taken from the GLIBC source code. Hack by Joe Krahn <krahn@niehs.nih.gov> Send any comments and questions about this patch to Joe Krahn. ... but in my opinion, you right.
*** Bug 58204 has been marked as a duplicate of this bug. ***
Does not look like a PHP issue to me.
Why bug is invalid?