Bug 7206 - Получил Segmentation Fault при сборке mjpegtools
: Получил Segmentation Fault при сборке mjpegtools
Status: CLOSED WORKSFORME
: Sisyphus
(All bugs in Sisyphus/gcc3.4)
: unstable
: all Linux
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2005-06-26 01:31 by
Modified: 2006-05-27 02:56 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2005-06-26 01:32:04
При сборке mjpegtools (mjpegtools-1.7.0-alt0.2.src.rpm) при помощи компилятора
gcc3.4-3.4.3-alt6 получил ошибку Segmentation Fault. Проверьте, пожалуйста, на
новой версии.

При --target i586 всё проходит, при --target pentium4 почему-то он
преобразуется
в i786, на который компилятор говорит, что не знает -mtune=i786
Steps to Reproduce:
1. rpm --rebuild --target i686 mjpegtools-1.7.0-alt0.2.src.rpm

Actual Results:  
...
if i686-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include
-I../utils   -DNDEBUG -finline-functions -fno-PIC -march=i686 -mcpu=i686 -pipe
-Wall -O2 -march=i686 -pthread  -MT newdenoise.o -MD -MP -MF
".deps/newdenoise.Tpo" -c -o newdenoise.o newdenoise.cc; \
then mv -f ".deps/newdenoise.Tpo" ".deps/newdenoise.Po"; else rm -f
".deps/newdenoise.Tpo"; exit 1; fi
In file included from MotionSearcher.hh:16,
                 from newdenoise.cc:19:
BitmapRegion2D.hh:255: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL:http://bugs.altlinux.ru/> for instructions.
make[2]: *** [newdenoise.o] Error 1
make[2]: Leaving directory `/home/pif/RPM/BUILD/mjpegtools-1.7.0/y4mdenoise'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pif/RPM/BUILD/mjpegtools-1.7.0'
make: *** [all] Error 2
make: Leaving directory `/home/pif/RPM/BUILD/mjpegtools-1.7.0'
ошибка: Неверный код возврата из /home/pif/tmp/rpm-tmp.61362 (%build)


Expected Results:  
Нормальная работа
------- Comment #1 From 2006-05-27 02:56:04 -------
mjpegtools-1.7.0-alt0.4.1 новый компилятор (gcc-4.1.1) не собирает:

In file included from liblavrec.h:33,
                 from liblavrec.c:76:
./frequencies.h:107: error: array type has incomplete element type
liblavrec.c: In function 'lavrec_hardware_init':
liblavrec.c:1225: warning: comparisons like X<=Y<=Z do not have their
mathematical meaning