не собирается на одной машине .....

Michail Baikov lists at baikov.com
Wed Feb 22 10:59:07 MSK 2006


Igor Sysoev wrote:
> On Tue, 21 Feb 2006, Michail Baikov wrote:
> 
>> Igor Sysoev wrote:
>>> On Tue, 21 Feb 2006, Michail Baikov wrote:
>>>
>>>> gcc -c -march=i686 -O2 -fomit-frame-pointer -pipe  -I src/core -I
>>>> src/event -I src/event/modules -I src/os/unix -I objs \
>>>>        -o objs/src/core/ngx_cpuinfo.o \
>>>>        src/core/ngx_cpuinfo.c
>>>> src/core/ngx_cpuinfo.c: In function `ngx_cpuinfo':
>>>> src/core/ngx_cpuinfo.c:22: error: can't find a register in class `BREG'
>>>> while reloading `asm'
>>>> src/core/ngx_cpuinfo.c:22: error: can't find a register in class `BREG'
>>>> while reloading `asm'
>>>> make[1]: *** [objs/src/core/ngx_cpuinfo.o] Error 1
>>>> make[1]: Leaving directory
>>>> `/var/tmp/portage/nginx-0.3.29/work/nginx-0.3.29'
>>>> make: *** [build] Error 2
>>>>
>>>> !!! ERROR: www-servers/nginx-0.3.29 failed.
>>>
>>> OS
>>> gcc -v
>>> as -v
>>>
>>>
>>> Игорь Сысоев
>>> http://sysoev.ru
>>>
>>>
>> Как и везде :)
>>
>> Linux/i386
>> www ~ # gcc -v
>> Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/specs
>> Configured with: /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/configure
>> --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.4
>> --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include
>> --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4
>> --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/man
>> --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/info
>> --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3
>>
>> --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
>> --enable-nls --without-included-gettext --with-system-zlib
>> --disable-checking --disable-werror --disable-libunwind-exceptions
>> --disable-multilib --disable-libgcj --enable-languages=c,c++
>> --enable-shared --enable-threads=posix --enable-__cxa_atexit
>> --enable-clocale=gnu
>> Thread model: posix
>> gcc version 3.4.4 (Gentoo Hardened 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
>> www ~ # as -v
>> GNU assembler version 2.16.1 (i686-pc-linux-gnu) using BFD version 2.16.1
>>
>> На другой такой же машине все собирается. Тут апгрейд с .26 не проходит.
> 
> Есть ощущение, что здесь как-то пояивлся -fPIC, но его нигде не видно.
> 
> 
> Игорь Сысоев
> http://sysoev.ru
> 
> 
www ~ # emerge info
Portage 2.0.54 (hardened/x86/2.6, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14-hardened-r3 i686)
=================================================================
System uname: 2.6.14-hardened-r3 i686 Intel(R) Xeon(TM) CPU 3.00GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/alias /var/qmail/control
/var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL=""
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="bcmath bzip2 bzlib cnamefix crypt curl dlloader expat gd gmp
hardened iconv idn innodb java jpeg junit libwww memlimit mhash mysql
ncurses nls nptl nptlonly pam pcre perl php pic png python qmail
readline roundrobin semanticfix session slang sockets spamassassin ssl
symlink tcpd tiff truetype ucs2 udev unicode usb userlocales utf8 x86
xml2 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS

www ~ #


-- 
Mike Baikov <mike at baikov dot com>
GameDot Labs Developer







More information about the nginx-ru mailing list