This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/24856] call to setlocale doesn't return expected value
- From: "tedoc2000 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Nov 2005 18:57:14 -0000
- Subject: [Bug target/24856] call to setlocale doesn't return expected value
- References: <bug-24856-11711@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #17 from tedoc2000 at gmail dot com 2005-11-16 18:57 -------
Okay.. This definitely seems to be a problem with having libiconv.a in
%{prefix}/lib.
If I move /opt/OPSWbuildtools/1.0.1/lib/libconv.a to
/opt/OPSWbuildtools/1.0.1/lib/libconv.a.blah and run my program, it works as
expected (i.e. I get en_US en_US....), but when I put it back then my program
fails (i.e. I get null, C C C C C)
Seems like and ld problem to me.. My solution will be to move libiconv.a into
/opt/OPSWbuildtools/1.0.1/libiconv.
Sorry for wasting your time.. But at least this behaviour is documented now.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24856