Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004675 [Resin] minor always 07-21-11 01:29 07-21-11 14:11
Reporter nits4resin View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.19
Summary 0004675: Build resin for 32 bit on 64 bit machine
Description Hi,

I am trying to build resin on 64bit Linux (RHEL 5.5) machine for 32bit libraries with ssl. My configuration is
 ./configure --prefix=/opt/resin3.0.26/install CC=cc CFLAG=-m32
This is the configuration summary:-

Resin Configuration summary:

  RESIN_HOME : /opt/resin4.0.17/install
      root : /opt/resin4.0.17/install
      conf : /opt/resin4.0.17/install/conf
      log : /opt/resin4.0.17/install/log
      plugins : common resin_os resin resinssl
      init : /opt/resin4.0.17/install
  JAVA_HOME: /opt/jdk1.6.0_05

    + 32-bit JNI in -I/opt/jdk1.6.0_05/include -I/opt/jdk1.6.0_05/include/linux
    + JNI CFLAGS: -g -O2 -DPOLL -DEPOLL -D_POSIX_PTHREAD_SEMANTICS -DHAS_SOCK_TIMEOUT -DHAS_JVMTI
    + epoll() for keepalives
    +
        OpenSSL include: /usr/include
        OpenSSL lib:
        OpenSSL libraries: -lssl -lcrypto

I am able to build and install resin successfully. But when i am seeing the library files in libexec folder, all files are 64 bit architecture.

=================================================
file /opt/resin4.0.17/install/libexec/libresin.so
/opt/resin4.0.17/install/libexec/libresin.so: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), not stripped
=================================================

Could you please suggest me what is the configuration setting by which i can achieve 32bit resin library in 64 bit machine.

Regards,
Nits


Additional Information
Attached Files  resin4_0_19build_log.txt [^] (19,770 bytes) 07-21-11 01:29

- Relationships

- Notes
(0005384)
ferg
07-21-11 14:11

The configuration is ./configure --disable-64bit

There is a ./configure bug affecting that configuration that will be fixed in 4.0.21.
 

- Issue History
Date Modified Username Field Change
07-21-11 01:29 nits4resin New Issue
07-21-11 01:29 nits4resin File Added: resin4_0_19build_log.txt
07-21-11 14:11 ferg Note Added: 0005384
07-21-11 14:11 ferg Assigned To  => ferg
07-21-11 14:11 ferg Status new => closed
07-21-11 14:11 ferg Resolution open => fixed
07-21-11 14:11 ferg Fixed in Version  => 4.0.21


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker