Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 69257

Summary: workaround for gcc 3.3.+ (__ctype_b problem with old precompiled library's)
Product: Gentoo Linux Reporter: Mike Baikov <rusxakep>
Component: Current packagesAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED INVALID    
Severity: minor CC: hm.stahl, php-bugs
Priority: High    
Version: 2004.3   
Hardware: x86   
OS: Linux   
URL: http://newweb.ices.utexas.edu/misc/ctype.c
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: workaround patch for gcc

Description Mike Baikov 2004-10-28 06:02:27 UTC
Worked and this fine.

Example, this patch for compiling sybase support for php 4.3.9 (apache2) on old sybase 11.9 libintl.so
Comment 1 Mike Baikov 2004-10-28 23:23:21 UTC
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.
Comment 2 Mike Baikov 2004-10-28 23:25:14 UTC
Created attachment 42831 [details]
workaround patch for gcc
Comment 3 SpanKY gentoo-dev 2004-12-13 21:59:59 UTC
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 ?
Comment 4 Mike Baikov 2004-12-14 03:00:01 UTC
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.
Comment 5 SpanKY gentoo-dev 2005-02-22 19:42:20 UTC
*** Bug 58204 has been marked as a duplicate of this bug. ***
Comment 6 Sebastian Bergmann (RETIRED) gentoo-dev 2005-07-17 09:06:17 UTC
Does not look like a PHP issue to me.
Comment 7 Mike Baikov 2005-07-17 22:48:39 UTC
Why bug is invalid?