nginx sparc

sanchous nginx-forum at nginx.us
Sat Jan 5 21:11:12 UTC 2013


Добрый ночь!

Не удается собрать nginx на машине sun sparc (не ultra) под NetBSD.

# uname -srm
NetBSD 4.0.1 sparc

# gcc -v
Using built-in specs.
Target: sparc--netbsdelf
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure
--enable-long-long --disable-multilib --enable-threads --disable-symvers
--build=i386-unknown-netbsdelf4.99.3 --host=sparc--netbsdelf
--target=sparc--netbsdelf
Thread model: posix
gcc version 4.1.2 20061021 prerelease (NetBSD nb3 20061125)

# openssl version                                                         
OpenSSL 0.9.8e 23 Feb 2007

# pcre-config --version
8.31

# ./configure --prefix=/usr/pkg \
    --conf-path=/usr/pkg/etc/nginx/nginx.conf \
    --sbin-path=/usr/pkg/sbin \
    --with-http_ssl_module --with-http_stub_status_module \
    --with-cpu-opt="sparc32"

Configuration summary
  + using system PCRE library
  + using system OpenSSL library
  + md5: using OpenSSL library
  + sha1: using OpenSSL library
  + using system zlib library

  nginx path prefix: "/usr/pkg"
  nginx binary file: "/usr/pkg/sbin"
  nginx configuration prefix: "/usr/pkg/etc/nginx"
  nginx configuration file: "/usr/pkg/etc/nginx/nginx.conf"
  nginx pid file: "/usr/pkg/share/nginx/log/nginx/.pid"
  nginx error log file: "/usr/pkg/share/nginx/log/nginx-error.log"
  nginx http access log file: "/usr/pkg/share/nginx/log/nginx-access.log"
  nginx http client request body temporary files:
"/usr/pkg/share/nginx/log/client-body-temp"
  nginx http proxy temporary files: "/usr/pkg/share/nginx/log/proxy-temp"
  nginx http fastcgi temporary files:
"/usr/pkg/share/nginx/log/fastcgi-temp"
  nginx http uwsgi temporary files: "/usr/pkg/share/nginx/log/uwsgi-temp"
  nginx http scgi temporary files: "/usr/pkg/share/nginx/log/scgi-temp"

/usr/bin/make -f objs/Makefile
gcc -c -m32 -I/usr/pkg/include -L/usr/pkg/lib -I src/core  -I src/event  -I
src/event/modules  -I src/os/unix  -I objs  -o objs/src/core/nginx.o 
src/core/nginx.c
gcc -c -m32 -I/usr/pkg/include -L/usr/pkg/lib -I src/core  -I src/event  -I
src/event/modules  -I src/os/unix  -I objs  -o objs/src/core/ngx_log.o 
src/core/ngx_log.c
gcc -c -m32 -I/usr/pkg/include -L/usr/pkg/lib -I src/core  -I src/event  -I
src/event/modules  -I src/os/unix  -I objs  -o objs/src/core/ngx_palloc.o 
src/core/ngx_palloc.c
gcc -c -m32 -I/usr/pkg/include -L/usr/pkg/lib -I src/core  -I src/event  -I
src/event/modules  -I src/os/unix  -I objs  -o objs/src/core/ngx_array.o 
src/core/ngx_array.c
gcc -c -m32 -I/usr/pkg/include -L/usr/pkg/lib -I src/core  -I src/event  -I
src/event/modules  -I src/os/unix  -I objs  -o objs/src/core/ngx_list.o 
src/core/ngx_list.c
gcc -c -m32 -I/usr/pkg/include -L/usr/pkg/lib -I src/core  -I src/event  -I
src/event/modules  -I src/os/unix  -I objs  -o objs/src/core/ngx_hash.o 
src/core/ngx_hash.c
gcc -c -m32 -I/usr/pkg/include -L/usr/pkg/lib -I src/core  -I src/event  -I
src/event/modules  -I src/os/unix  -I objs  -o objs/src/core/ngx_buf.o 
src/core/ngx_buf.c
gcc -c -m32 -I/usr/pkg/include -L/usr/pkg/lib -I src/core  -I src/event  -I
src/event/modules  -I src/os/unix  -I objs  -o objs/src/core/ngx_queue.o 
src/core/ngx_queue.c
gcc -c -m32 -I/usr/pkg/include -L/usr/pkg/lib -I src/core  -I src/event  -I
src/event/modules  -I src/os/unix  -I objs  -o
objs/src/core/ngx_output_chain.o  src/core/ngx_output_chain.c
gcc -c -m32 -I/usr/pkg/include -L/usr/pkg/lib -I src/core  -I src/event  -I
src/event/modules  -I src/os/unix  -I objs  -o objs/src/core/ngx_string.o 
src/core/ngx_string.c
gcc -c -m32 -I/usr/pkg/include -L/usr/pkg/lib -I src/core  -I src/event  -I
src/event/modules  -I src/os/unix  -I objs  -o objs/src/core/ngx_parse.o 
src/core/ngx_parse.c
gcc -c -m32 -I/usr/pkg/include -L/usr/pkg/lib -I src/core  -I src/event  -I
src/event/modules  -I src/os/unix  -I objs  -o objs/src/core/ngx_inet.o 
src/core/ngx_inet.c
gcc -c -m32 -I/usr/pkg/include -L/usr/pkg/lib -I src/core  -I src/event  -I
src/event/modules  -I src/os/unix  -I objs  -o objs/src/core/ngx_file.o 
src/core/ngx_file.c
/var/tmp//ccouiI9K.s: Assembler messages:
/var/tmp//ccouiI9K.s:683: Error: Architecture mismatch on "casa".
/var/tmp//ccouiI9K.s:683:  (Requires v9|v9a|v9b; requested architecture is
sparclite.)
*** Error code 1

Stop.
make: stopped in /usr/pkg/src/nginx-1.2.6
*** Error code 1

Stop.
make: stopped in /usr/pkg/src/nginx-1.2.6

Posted at Nginx Forum: http://forum.nginx.org/read.php?21,234730,234730#msg-234730



Подробная информация о списке рассылки nginx-ru