[Bug target/24856] call to setlocale doesn't return expected value

2005-11-16 Thread tedoc2000 at gmail dot com
--- 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 exp

[Bug target/24856] call to setlocale doesn't return expected value

2005-11-15 Thread tedoc2000 at gmail dot com
--- Comment #16 from tedoc2000 at gmail dot com 2005-11-16 02:10 --- Okay.. So it turns out that having my version of libiconv.a in /opt/OPSWbuildtools/1.0.1/lib causes the problem. I compiled it --enable-static --disable-dynamic with gcc 3.3.2.. Seeing if not doing that helps. As I men

[Bug target/24856] call to setlocale doesn't return expected value

2005-11-15 Thread tedoc2000 at gmail dot com
--- Comment #15 from tedoc2000 at gmail dot com 2005-11-15 21:27 --- Okay so it wasn't the --with-local-prefix. It was the fact that I used --prefix=/opt/OPSWbuildtools/1.0.1. If I use a directory that doesn't already exist then I get my desired results. So that makes us ask. "Well what

[Bug target/24856] call to setlocale doesn't return expected value

2005-11-15 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2005-11-15 15:38 --- (In reply to comment #13) > (In reply to comment #12) > > specify --with-local-prefix=/opt/OPSWbuildtools/1.0.1 > > Am I missing something? > Yes it sounds like it is picking up the wrong header otherwise. s/heade

[Bug target/24856] call to setlocale doesn't return expected value

2005-11-15 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2005-11-15 15:38 --- (In reply to comment #12) > specify --with-local-prefix=/opt/OPSWbuildtools/1.0.1 > Am I missing something? Yes it sounds like it is picking up the wrong header otherwise. -- pinskia at gcc dot gnu dot org cha

[Bug target/24856] call to setlocale doesn't return expected value

2005-11-14 Thread tedoc2000 at gmail dot com
--- Comment #12 from tedoc2000 at gmail dot com 2005-11-15 02:08 --- --with-local-prefix seems to be causing the problem. Not sure why. Basically I'm trying to build a set of tools for complining our product that only references things under a particular root (/opt/OPSWbuildtools/1.0.1 i

[Bug target/24856] call to setlocale doesn't return expected value

2005-11-14 Thread tedoc2000 at gmail dot com
--- Comment #11 from tedoc2000 at gmail dot com 2005-11-15 00:59 --- Okay.. recompiling gcc-3.4.4 with the same options as I used in compiling gcc-3.3.2 seems to have fixed the problem. Now working on figuring out with configure options cause the problem. -- http://gcc.gnu.org/bug

[Bug target/24856] call to setlocale doesn't return expected value

2005-11-14 Thread tedoc2000 at gmail dot com
--- Comment #10 from tedoc2000 at gmail dot com 2005-11-14 20:39 --- Hmm.. I'm getting the same exact behaviour on my AIX 5.1 box :/ So maybe it has something to do with the way I configured gcc 3.4.4 (which is a little different than how I did 3.3.2) Let me try re-building 3.4.4 with t

[Bug target/24856] call to setlocale doesn't return expected value

2005-11-14 Thread dje at gcc dot gnu dot org
--- Comment #9 from dje at gcc dot gnu dot org 2005-11-14 20:28 --- I do not have access to an AIX 4.3.2 system, but I compiled the reconstructed C testcase with: gcc-3.3.3 on AIX 5.1 gcc-3.4.4 on AIX 5.1 gcc-4.0.2 on AIX 5.1 gcc-4.1 experimental on AIX 5.2 All four compilers produced

[Bug target/24856] call to setlocale doesn't return expected value

2005-11-14 Thread tedoc2000 at gmail dot com
--- Comment #8 from tedoc2000 at gmail dot com 2005-11-14 20:18 --- oops I meant ld not ln in b) above -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24856