From: <And...@ed...> - 2004-11-05 16:37:53
|
Hi, Thanks for Your reply. > > Hi, > I tried your exact test on a 5.2.0 system, and it worked for me -- but I > am > not on ML4, so you probably have updated ld and bind binaries. > What is your level of the bos.rte.bind_cmds fileset? > That is, the output of "lslpp -l bos.rte.bind_cmds". > I get the following output: : lslpp -l bos.rte.bind_cmds Fileset Level State Description ---------------------------------------------------------------------------- Path: /usr/lib/objrepos bos.rte.bind_cmds 5.2.0.41 APPLIED Binder and Loader Commands > You might try compiling your testcase like this: > $ g++ hello.cpp -o hello -Wl,-bnoquiet > and see how much output you get (assuming it prints results as it goes; if > it just prints it all when it's done than that might not help). > Since the process that appears to be hung is 'bind', this might give a > clue > about what it is doing just before it hangs. > I´m afraid it prints all the results when it´s done, even with the -noquiet option the binder hangs without error messages. Is thete anything else I can try? I´m at a loss here... /Anders > > On Wed, Nov 03, 2004 at 04:50:51PM +0100, Håkansson Anders wrote: > > Hello! > > > > > > > > I´m trying to get a working gcc on an AIX 5.2.0.0 ML4 running in 32bit > mode. I´ve installed the following RPM:s : > > > > > > > > gcc-3.3.2-4.aix5.2.ppc.rpm > > > > gcc-cplusplus-3.3.2-4.aix5.2.ppc.rpm > > > > binutils-2.14-3.aix5.1.ppc.rpm > > > > > > > > To see if it works, I´m trying to compile a very simple program, > hello.cpp: > > > > > > > > #include <iostream> > > > > using namespace std; > > > > int main(void) > > > > { > > > > cout << "Bwaah" << endl; > > > > return 0; > > > > } > > > > > > > > However when I try to compile it gcc, or rather ld hangs forever... : > > > > > > > > Ps gives me: > > > > 42460 pts/1 0:00 /usr/bin/ld -bpT -bpD -btextro -bnodelcsect > /lib/crt0.o /t > > > > 45670 pts/1 27:37 /usr/ccs/bin/bind64 quiet > > > > > > > > So I tried to use gld instead: > > > > > > > > g++ hello.cpp > > > > /usr/bin/ld: /opt/freeware/lib/gcc-lib/powerpc-ibm- > aix5.2.0.0/3.3.2/libstdc++.a(complex_io.o): reloc .data:0 not in csect > > > > /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/libstdc++.a: > could not read symbols: Bad value > > > > collect2: ld returned 1 exit status > > > > > > > > Is there something I have missed? > > > > > > > > I would be really grateful if someone could help me with this!! > > > > > > > > Regards > > > > /Anders > > > > > > > > ======================================== > > > > Anders Håkansson > > Systemtekniker Unix > > Tel: + 46 8 58 88 7095 Mobil: +46 73 558 70 95 > > and...@ed... <BLOCKED::mailto:and...@ed...> > > > > EDB Drift AB > > Gustav III:s Boulevard 42 > > Box 720 > > 169 27 Solna > > www.edb.com <BLOCKED::http://www.edb.com/> > > > > EDB - När IT är affärskritiskt > > > > ======================================== > > > > > > > > -- > David Clissold > cl...@au... > _______________________________________________ > aixtoolbox-list mailing list > aix...@ww... > http://www-124.ibm.com/developerworks/oss/mailman/listinfo/aixtoolbox-list |