Mantis - Resin
Viewing Issue Advanced Details
3893 minor always 02-17-10 20:32 05-14-10 15:55
alex  
emil  
normal  
closed 4.0.3  
fixed  
none    
none 4.0.7  
0003893: solaris 10 64 bit compile (reproduced on x64 open solaris)
gcc -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -m64 -D__SOLARIS__ -DHAS_JVMTI -m64 -DRESIN_HOME=\"/export/home/alex/appservers/resin-pro-4.0.3\" -I/usr/include -I/usr/java/include -I/usr/java/include/solaris -I../common -DCPU=\"i386\" -DOS= -c std.c
gcc -G -fPIC -L/lib -o libresin_os.so boot.o java.o jni_os.o jni_jvmti.o jni_socket.o memory.o std.o -lnsl -lsocket -lthread
ld: fatal: file boot.o: wrong ELF class: ELFCLASS64
ld: fatal: file processing errors. No output written to libresin_os.so

Some flags forcing 64bit seem still missing.

My env for your reference:

$java -version
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Server VM (build 16.0-b13, mixed mode)

$java -d64 version
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)

SunOS opensolaris 5.11 snv_111b i86pc i386 i86pc Solaris

Notes
(0004583)
emil   
05-14-10 15:55   
fixed for amd64, sparc still needs testing (0004004)