Mantis Bugtracker
  

Viewing Issue Advanced Details [ Jump to Notes ] [ View Simple ] [ Issue History ] [ Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005871 [Resin] minor always 03-24-15 17:06 03-25-15 11:03
Reporter nam View Status public  
Assigned To nam
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 4.0.42
  Product Build
Summary 0005871: mod_caucho: libtool unrecognized option -m64 on solaris 2.11 x64
Description resin 4.0.43, solaris 2.11 x86_64

$ make

for dir in common apache2 resin_os resin resinssl; do (cd $dir; make); done
gcc -c -I/usr/include -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DB64 -fPIC -fno-omit-frame-pointer -m64 -DHAS_SOCK_TIMEOUT -DPOLL -D__SOLARIS__ -DHAS_JVMTI -lrt -m64 -DSHM stream.c
gcc -c -I/usr/include -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DB64 -fPIC -fno-omit-frame-pointer -m64 -DHAS_SOCK_TIMEOUT -DPOLL -D__SOLARIS__ -DHAS_JVMTI -lrt -m64 -DSHM config.c
gcc -c -I/usr/include -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DB64 -fPIC -fno-omit-frame-pointer -m64 -DHAS_SOCK_TIMEOUT -DPOLL -D__SOLARIS__ -DHAS_JVMTI -lrt -m64 -DSHM memory.c
/root/test/resin-pro-4.0.43/libtool --silent --mode=compile gcc -o stream.lo -c -I/usr/include -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DB64 -fPIC -fno-omit-frame-pointer -m64 -DHAS_SOCK_TIMEOUT -DPOLL -D__SOLARIS__ -DHAS_JVMTI -lrt -m64 -DSHM stream.c
/root/test/resin-pro-4.0.43/libtool --silent --mode=compile gcc -o config.lo -c -I/usr/include -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DB64 -fPIC -fno-omit-frame-pointer -m64 -DHAS_SOCK_TIMEOUT -DPOLL -D__SOLARIS__ -DHAS_JVMTI -lrt -m64 -DSHM config.c
/root/test/resin-pro-4.0.43/libtool --silent --mode=compile gcc -o memory.lo -c -I/usr/include -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DB64 -fPIC -fno-omit-frame-pointer -m64 -DHAS_SOCK_TIMEOUT -DPOLL -D__SOLARIS__ -DHAS_JVMTI -lrt -m64 -DSHM memory.c
EGREP="/usr/bin/ggrep -E" /root/test/resin-pro-4.0.43/libtool --silent --mode=compile gcc -o mod_caucho.lo -c -I/root/test/httpd-2.2.29/include -DRESIN_HOME=\"/usr/local/share/resin-4.0.43\" -I../common -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DB64 -fPIC -fno-omit-frame-pointer -m64 -DHAS_SOCK_TIMEOUT -DPOLL -D__SOLARIS__ -DHAS_JVMTI -lrt -m64 mod_caucho.c
EGREP="/usr/bin/ggrep -E" /root/test/resin-pro-4.0.43/libtool --silent --mode=link -m64 -R /usr/sfw/lib/64 -R /usr/local/lib/sparcv9 -shared -module -o mod_caucho.la -avoid-version -rpath /root/test/libexec mod_caucho.lo ../common/stream.lo ../common/config.lo ../common/memory.lo
*** Error code 1
*** Error code 1
*** Error code 1
The following command caused the error:
(cd modules/c/src; make)
for dir in common apache2 resin_os resin resinssl; do (cd $dir; make); done
gcc -c -I/usr/include -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DB64 -fPIC -fno-omit-frame-pointer -m64 -DHAS_SOCK_TIMEOUT -DPOLL -D__SOLARIS__ -DHAS_JVMTI -lrt -m64 -DSHM stream.c
stream.c: In function 'select_host':
stream.c:1583:40: warning: cast from pointer to integer of different size
gcc -c -I/usr/include -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DB64 -fPIC -fno-omit-frame-pointer -m64 -DHAS_SOCK_TIMEOUT -DPOLL -D__SOLARIS__ -DHAS_JVMTI -lrt -m64 -DSHM config.c
gcc -c -I/usr/include -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DB64 -fPIC -fno-omit-frame-pointer -m64 -DHAS_SOCK_TIMEOUT -DPOLL -D__SOLARIS__ -DHAS_JVMTI -lrt -m64 -DSHM memory.c
/root/test/resin-pro-4.0.43/libtool --silent --mode=compile gcc -o stream.lo -c -I/usr/include -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DB64 -fPIC -fno-omit-frame-pointer -m64 -DHAS_SOCK_TIMEOUT -DPOLL -D__SOLARIS__ -DHAS_JVMTI -lrt -m64 -DSHM stream.c
stream.c: In function 'select_host':
stream.c:1583:40: warning: cast from pointer to integer of different size
/root/test/resin-pro-4.0.43/libtool --silent --mode=compile gcc -o config.lo -c -I/usr/include -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DB64 -fPIC -fno-omit-frame-pointer -m64 -DHAS_SOCK_TIMEOUT -DPOLL -D__SOLARIS__ -DHAS_JVMTI -lrt -m64 -DSHM config.c
/root/test/resin-pro-4.0.43/libtool --silent --mode=compile gcc -o memory.lo -c -I/usr/include -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DB64 -fPIC -fno-omit-frame-pointer -m64 -DHAS_SOCK_TIMEOUT -DPOLL -D__SOLARIS__ -DHAS_JVMTI -lrt -m64 -DSHM memory.c
EGREP="/usr/bin/ggrep -E" /root/test/resin-pro-4.0.43/libtool --silent --mode=compile gcc -o mod_caucho.lo -c -I/root/test/httpd-2.2.29/include -DRESIN_HOME=\"/usr/local/share/resin-4.0.43\" -I../common -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DB64 -fPIC -fno-omit-frame-pointer -m64 -DHAS_SOCK_TIMEOUT -DPOLL -D__SOLARIS__ -DHAS_JVMTI -lrt -m64 mod_caucho.c
EGREP="/usr/bin/ggrep -E" /root/test/resin-pro-4.0.43/libtool --silent --mode=link -m64 -R /usr/sfw/lib/64 -R /usr/local/lib/sparcv9 -shared -module -o mod_caucho.la -avoid-version -rpath /root/test/libexec mod_caucho.lo ../common/stream.lo ../common/config.lo ../common/memory.lo
libtool: link: unrecognized option `-m64'
libtool: link: Try `libtool --help' for more information.
*** Error code 1
make: Fatal error: Command failed for target `mod_caucho.la'
Current working directory /root/test/resin-pro-4.0.43/modules/c/src/apache2
*** Error code 1
make: Fatal error: Command failed for target `plugins'
Current working directory /root/test/resin-pro-4.0.43/modules/c/src
*** Error code 1
The following command caused the error:
(cd modules/c/src; make)
make: Fatal error: Command failed for target `all'
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0006594)
nam
03-24-15 17:09

checking build system type... i386-pc-solaris2.11
checking host system type... i386-pc-solaris2.11
checking target system type... i386-pc-solaris2.11
target_os
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for a sed that does not truncate output... /usr/bin/gsed
checking for grep that handles long lines and -e... /usr/bin/ggrep
checking for egrep... /usr/bin/ggrep -E
checking for fgrep... /usr/bin/ggrep -F
checking how to print strings... print -r
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for egrep... (cached) /usr/bin/ggrep -E
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/epoll.h usability... no
checking sys/epoll.h presence... no
checking for sys/epoll.h... no
checking for JAVA_HOME... /usr/bin/../java/bin/..
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
checking the name lister (/usr/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i386-pc-solaris2.11 file names to i386-pc-solaris2.11 format... func_convert_file_noop
checking how to convert i386-pc-solaris2.11 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
mod_caucho will use shared between processes srun status
checking if apache is 2.4 or later...
no
checking if /usr/bin/java is Java 1.6...
yes
checking if /usr/bin/java is 64-bit...
yes
Using Apache 2.0 configuration /root/test/httpd.conf
Using Apache CFLAGS: -lrt
checking if /usr/bin/cp accepts -u...
no
checking for JNI in /usr/bin/../java/bin/../include/solaris ... found
Using JVMTI for class reloading
Using openssl include in ... /usr/include
Using openssl lib in ...
Using openssl libraries ... -lssl -lcrypto
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating modules/c/src/Makefile
config.status: creating modules/c/src/common/Makefile
config.status: creating modules/c/src/apache2/Makefile
config.status: creating modules/c/src/resin_os/Makefile
config.status: creating init.d/resin
config.status: creating bin/resinctl
config.status: executing depfiles commands
config.status: executing libtool commands
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating modules/c/src/Makefile
config.status: creating modules/c/src/common/Makefile
config.status: creating modules/c/src/apache2/Makefile
config.status: creating modules/c/src/resin_os/Makefile
config.status: creating init.d/resin
config.status: creating bin/resinctl
config.status: creating modules/c/src/resin/Makefile
config.status: creating modules/c/src/resinssl/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands


Resin Configuration Summary:

  RESIN : 4.0.43
    home : /usr/local/share/resin-4.0.43
    root : /var/resin
    conf : /etc/resin
    log : /var/log/resin
    plugins : common apache2 resin_os resin resinssl
    init : /etc/init.d/resin

  JAVA_HOME : /usr/bin/../java/bin/..

  JNI : 64-bit
    include : -I/usr/bin/../java/bin/../include -I/usr/bin/../java/bin/../include/solaris
    CFLAGS :
    cflags_shlib : -fPIC
    ld_shlib : /usr/bin/ld
    ldflags_shlib : -m64 -R /usr/sfw/lib/64 -R /usr/local/lib/sparcv9 -shared
    libs_shlib :
    poll() for keepalives

  OPENSSL : OpenSSL 1.0.1h 5 Jun 2014
    include : /usr/include
    lib :
    libraries : -lssl -lcrypto

  APACHE : /root/test/httpd-2.2.29
    conf : /root/test/httpd.conf
    libexec : /root/test/libexec
    include : /root/test/httpd-2.2.29/include
    CFLAGS : -lrt
    cflags_shlib : -m64
    ld_shlib :
    ldflags_shlib : -m64 -R /usr/sfw/lib/64 -R /usr/local/lib/sparcv9 -shared
    libs_shlib :
    apache_shm : -DSHM
    apache_24 :
 
(0006595)
nam
03-25-15 11:03

Fixed for 4.0.44.
 

- Issue History
Date Modified Username Field Change
03-24-15 17:06 nam New Issue
03-24-15 17:06 nam Summary mod_caucho: libtool unrecognized option -m64 on solaris 2.11 => mod_caucho: libtool unrecognized option -m64 on solaris 2.11 x64
03-24-15 17:09 nam Note Added: 0006594
03-25-15 11:02 nam Status new => assigned
03-25-15 11:02 nam Assigned To  => nam
03-25-15 11:03 nam Status assigned => closed
03-25-15 11:03 nam Note Added: 0006595
03-25-15 11:03 nam Resolution open => fixed


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