Hi jlliagre,
I am back again...(Sorry i don't have anybody else to resort to)...
My problem now is(ofcourse my dev team)....They have illustrated a scenario which is explaining their issue...Would really appreciate if you could find a solution.
HTML Code:
A simple scenario:
In C++ it is desirable to inline (feature of C++) as many codes as possible to reduce the run-time overhead of CPU intensive applications. iropt component is the global optimizer in Sun Studio compiler collection suite; and inlining will be taken care by iropt.
Like CC, iropt is also a 32 bit binary in our compiler, so when initiated it throws an error like this:
[422]dndev: iropt -help
ld.so.1: iropt: fatal: /usr/lib/amd64/libdemangle.so.1: wrong ELF class: ELFCLASS64
Killed
cheux321 @ /ist/dndev
[427]dndev: file /opt/sunstudio12.1/prod/bin/iropt
/opt/sunstudio12.1/prod/bin/iropt: ELF 32-bit LSB executable 80386 Version 1 [FPU], dynamically linked, stripped
cheux321 @ /ist/dndev
[431]dndev: file /usr/lib/amd64/libdemangle.so.1
/usr/lib/amd64/libdemangle.so.1: ELF 64-bit LSB dynamic lib AMD64 Version 1 [SSE CMOV], dynamically linked, not stripped, no debugging information available
I think their problem is that they are not able to override the 32bit libraries even after using the prescribed options. The "CC" binary (compiled in 32bit) is referring to 32bit libraries even if they specify the 64bit libraries.
Thanks
HG