[Bug middle-end/39825] sigsegv compiling ffmpeg svn

2009-04-21 Thread sergio dot roa at dfki dot de


--- Comment #4 from sergio dot roa at dfki dot de  2009-04-21 13:23 ---
I compiled again disabling Altivec optimizations and it worked :)

$./configure --disable-altivec
[...]
$make
[...]

$ ./ffmpeg
FFmpeg version SVN-r18634, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-postproc --enable-pthreads
--enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora
--enable-libxvid --disable-altivec
  libavutil 50. 3. 0 / 50. 3. 0
  libavcodec52.27. 0 / 52.27. 0
  libavformat   52.32. 0 / 52.32. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale 0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Apr 21 2009 15:16:50, gcc: 4.3.2
At least one output file must be specified

I hope there are not so much optimization issues by using this ffmpeg...
Anyway, I guess this bug should be solved...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39825



[Bug middle-end/39825] sigsegv compiling ffmpeg svn

2009-04-21 Thread sergio dot roa at dfki dot de


--- Comment #2 from sergio dot roa at dfki dot de  2009-04-21 12:47 ---
Created an attachment (id=17663)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17663&action=view)
preprocessed source file


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39825



[Bug c/39825] New: sigsegv compiling ffmpeg svn

2009-04-20 Thread sergio dot roa at dfki dot de
Trying to compile the last svn ffmpeg version in a powerpc machine with Ubuntu
8.10:

$ uname -a
Linux aliena 2.6.25-2-powerpc #1 Tue Sep 30 14:49:00 UTC 2008 ppc GNU/Linux

$ gcc -v
Using built-in specs.
Target: powerpc-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.2-1ubuntu12'
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3
--program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug
--enable-objc-gc --enable-mpfr --disable-softfloat --enable-secureplt
--enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32
--with-long-double-128 --enable-checking=release --build=powerpc-linux-gnu
--host=powerpc-linux-gnu --target=powerpc-linux-gnu
Thread model: posix
gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu12)

The error is:

gcc -DHAVE_AV_CONFIG_H -I. -I"/home/sergio/ffmpeg" -D_ISOC99_SOURCE
-D_POSIX_C_SOURCE=200112 -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-fomit-frame-pointer -maltivec -mabi=altivec -pthread -g
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings
-Wtype-limits -Wundef -O3 -fno-math-errno -fno-signed-zeros -c -o
libavcodec/bmp.o libavcodec/bmp.c
libavcodec/bmp.c: In function ‘bmp_decode_frame’:
libavcodec/bmp.c:51: warning: ‘rgb[1]’ may be used uninitialized in this
function
libavcodec/bmp.c:51: warning: ‘rgb[2]’ may be used uninitialized in this
function
libavcodec/bmp.c:307: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.
make: *** [libavcodec/bmp.o] Error 1

Using the same gcc version in a 386 Ubuntu 8.10 machine there is no error.


-- 
   Summary: sigsegv compiling ffmpeg svn
   Product: gcc
   Version: 4.3.2
Status: UNCONFIRMED
  Severity: critical
  Priority: P3
 Component: c
AssignedTo: unassigned at gcc dot gnu dot org
    ReportedBy: sergio dot roa at dfki dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39825