Re: [Stlport-devel] Problem using newlocale() on x86_64 systems
Brought to you by:
complement
From: Gail B. <gb...@so...> - 2005-09-12 17:35:58
|
Hi Petr, Here's the information you requested: $ rpm -q glibc glibc-2.3.2-95.33 glibc-2.3.2-95.33 $ ls -l /lib/libc.so.6 lrwxrwxrwx 1 root root 13 Jul 25 18:37 /lib/libc.so.6 -> libc-2.3.2.so* $ nm -D /lib/libc.so.6 | grep newlocale 000211b0 W newlocale 000211b0 T __newlocale $ If you need anything else just let me know. Thanks, Gail Petr Ovtchenkov wrote: >On Thursday 08 September 2005 01:01, Gail Baker wrote: > > >>I'm compiling STLport 5.0 on a x86_64 platform. The code is from the cvs >>STLport_5_0 branch and is current as of this morning. The system is >>RedHat Enterprise 3 Linux. >> >> > >Good news. > > > >>Everything compiles successfully. However, when either unit test is run >>a memory fault is generated. I traces the fault back to the >>"__newlocale()" call being made in src/c_locale_glibc/c_locale_glibc2.c. >>For some reason this call is returning an invalid pointer on the 64 bit >>platform. When I change the call to "newlocale()" the call is successful >>and a valid pointer is returned. >> >>So, I'm curious if anyone knows why the code is making a call to >>"__newlocale()" instead of "newlocale()"? Should I change the code to >>use "newlocale()" on all gcc platforms or just the x86_64 platform? >> >>Also, after changing the code to use "newlocale()" both unit tests are >>successful. >> >> > >What glibc version RHEL based on? My is 2.2.5, the really old enough. Pls, >report about result of something like > >nm -D /lib/libc.so.6 | grep newlocale > >I shall fix this as I know more about glibc versions. > > >Best regards, > > - Petr > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >_______________________________________________ >Stlport-devel mailing list >Stl...@li... >https://lists.sourceforge.net/lists/listinfo/stlport-devel > > |