------- 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