Welcome! Log In Create A New Profile

Advanced

0.7.65 - ошибка при сборке

agz
March 17, 2010 03:10AM
Вот. Система Centos 5.4, x86_64. gcc тот что в поставке идет в нагрузку - gcc44 (4.4.0).
gcc-4.1.2 нормально собирает.
Можно конечно -Werror убрать...

[code]
gcc44 -c -O -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_channel.o \
src/os/unix/ngx_channel.c
cc1: warnings being treated as errors
src/os/unix/ngx_channel.c: In function ‘ngx_write_channel’:
src/os/unix/ngx_channel.c:39: ошибка: доступ по указателю с приведением типа нарушает правила перекрытия объектов в памяти
src/os/unix/ngx_channel.c: In function ‘ngx_read_channel’:
src/os/unix/ngx_channel.c:156: ошибка: доступ по указателю с приведением типа нарушает правила перекрытия объектов в памяти
make[1]: *** [objs/src/os/unix/ngx_channel.o] Ошибка 1
make[1]: Leaving directory `/usr/src/nginx-0.7.65'
make: *** [build] Ошибка 2
[/code]
Subject Author Posted

0.7.65 - ошибка при сборке

agz March 17, 2010 03:10AM

Re: 0.7.65 - ошибка при сборке

Maxim Dounin March 17, 2010 05:16AM

Re: 0.7.65 - ошибка при сборке

agz March 17, 2010 05:50AM

Re: 0.7.65 - ошибка при сборке

Maxim Dounin March 17, 2010 07:18AM

Re: 0.7.65 - ошибка при сборке

agz March 17, 2010 07:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 302
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready