sunstudio 12 halt @ RHEL5 AMD64/690G

I am using CentOS 5 on 690G/AMD 64 arch.

SunStudio 12 successfully installed with JDK1.5 AMD64 version as JAVA_HOME. I added the /opt/sun/...lib/lib64 directories in /etc/ld.so.config.d/sunstudio.conf and run ldconfig to refresh the cache. version command shows:

"Machine hardware:x86_64

OS version: 2.6.18-8.1.6.el5

The following components are installed on your system:"

My OS is:

[root@CaiMao-PC sun]# uname -a

Linux CaiMao-PC 2.6.18-8.1.6.el5 #1 SMP Thu Jun 14 17:29:04 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

But during compiling with Welcome project, the IDE stopped with just a single line @ console showing "/opt/sun/sunstudio12/bin/dmake -f Makefile CONF=Debug clean"

is running. Nothing else happened!

I set the 64 bit support in C/C++ Computer settings, it gets also like stopped during first line @ console, but after 1 few MINUTES, Then with more lines:

dmake: defaulting to parallel mode.

See the man page dmake(1) for more information on setting up the .dmakerc file.

CaiMao-PC --> 1 job

/opt/sun/sunstudio12/bin/dmake -f nbproject/Makefile-Debug.mk SUBPROJECTS= .clean-conf

But again stopped!!

I have tried sunstudio 12 with 32 bit RHEL5 SMP, it works fine. How could this be? I am a bit lost here, anyone who can help me?

[1344 byte] By [swingler@nsna] at [2007-11-27 9:26:09]
# 1

I waited long enough (>30 minutes) and got the following on console:

Running "/opt/sun/sunstudio12/bin/dmake -f Makefile CONF=Debug clean" in /root/SunStudioProjects/Welcome

dmake: defaulting to parallel mode.

See the man page dmake(1) for more information on setting up the .dmakerc file.

CaiMao-PC --> 1 job

/opt/sun/sunstudio12/bin/dmake -f nbproject/Makefile-Debug.mk SUBPROJECTS= .clean-conf

CaiMao-PC --> 1 job

rm -f -r build/Debug

rm -f dist/Debug/welcome

CCadmin -clean

Clean successful. Exit value 0.

Running "/opt/sun/sunstudio12/bin/dmake -f Makefile CONF=Debug" in /root/SunStudioProjects/Welcome

dmake: defaulting to parallel mode.

See the man page dmake(1) for more information on setting up the .dmakerc file.

CaiMao-PC --> 1 job

/opt/sun/sunstudio12/bin/dmake -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf

CaiMao-PC --> 1 job

mkdir -p build/Debug/Sun12-Linux-x86

CC -m64-c -g -o build/Debug/Sun12-Linux-x86/welcome.o welcome.cc

CaiMao-PC --> Job output

mkdir -p build/Debug/Sun12-Linux-x86

CC -m64-c -g -o build/Debug/Sun12-Linux-x86/welcome.o welcome.cc

(/root/SunStudioProjects/Welcome)welcome.cc:

:(/root/SunStudioProjects/Welcome)welcome.cc

CaiMao-PC --> 1 job

mkdir -p dist/Debug

CC -m64-o dist/Debug/welcome build/Debug/Sun12-Linux-x86/welcome.o

CaiMao-PC --> Job output

mkdir -p dist/Debug

CC -m64-o dist/Debug/welcome build/Debug/Sun12-Linux-x86/welcome.o

(/root/SunStudioProjects/Welcome)build/Debug/Sun12-Linux-x86/welcome.o:

:(/root/SunStudioProjects/Welcome)build/Debug/Sun12-Linux-x86/welcome.o

/usr/lib64/libm.so: file not recognized: File format not recognized

*** Error code 1

dmake: Fatal error: Command failed for target `dist/Debug/welcome'

Current working directory /root/SunStudioProjects/Welcome

*** Error code 1

dmake: Fatal error: Command failed for target `.build-impl'

Build failed. Exit value 1.

I successfully compiled & ran welcome project on RHEL5 32 bit arch, sunstudio 12 doesn't support 64 bit? (I don't think so, otherwise why it has 64 bit options?), Anyone can help?

THX in advance

swingler@nsna at 2007-7-12 22:23:08 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2
I believe you've hit notorious problem with Linux dynamic linker. See this thread for more info: http://forum.java.sun.com/thread.jspa?forumID=855&threadID=5147264
MaximKartasheva at 2007-7-12 22:23:08 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3
I also updated FAQ on genunix.org: http://www.genunix.org/wiki/index.php/Sun_Studio_FAQs#Linux_-__problem_linking_ with_libm.so(be careful copying this link, because for some reason forum engine inserts space and I have no idea how to avoid this).
MaximKartasheva at 2007-7-12 22:23:08 > top of Java-index,Development Tools,Solaris and Linux Development Tools...