[Bug c/41979] New: GCC fails to compile MPC-HC's ffmpeg/libavcodec

2009-11-07 Thread brunorex at gmail dot com
GCC version: gcc version 4.5.0 20091105 (experimental) (GCC)

System type: i386-pc-mingw32

Options given when GCC was configured/built:
../gcc-4.5-20091105-mingw/configure --host=i386-pc-mingw32
--build=x86_64-unknown-linux-gnu --target=i386-pc-mingw32
--prefix=/home/gfortran/gcc-home/binary/mingw32/native/x86_32/gcc/4.5-20091105
--with-gcc --with-gnu-ld --with-gnu-as --disable-shared --disable-nls
--disable-tls
--with-gmp=/home/gfortran/gcc-home/binary/mingw32/native/x86_32/gmp
--with-mpfr=/home/gfortran/gcc-home/binary/mingw32/native/x86_32/mpfr
--enable-languages=c,fortran,c++
--with-sysroot=/home/gfortran/gcc-home/binary/mingw32/cross/x86_32/gcc/4.5-20091105
--enable-libgomp --enable-threads=win32 --disable-win32-registry

The complete command line that triggers the bug:
gcc -c -I. -I.. -Ilibavcodec -Ilibavutil -I../../../../zlib
-I../../../../libpng -DHAVE_AV_CONFIG_H -D_ISOC99_SOURCE
-D_POSIX_C_SOURCE=200112 -std=gnu99 -DARCH_X86_32 -DWIN32 -D_WIN32 -mno-cygwin
-mdll -mthreads -pipe -DNDEBUG -UDEBUG -O3 -march=i686 -mmmx -fno-common
-fno-tree-vectorize -fomit-frame-pointer -fno-math-errno -MMD -o
libavcodec/dsputil.o libavcodec/dsputil.c

The compiler output:
libavcodec/dsputil.c: In function 'put_pixels8_l4':
libavcodec/dsputil.c:1156:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [libavcodec/dsputil.o] Error 1


Everything worked fine with GCC 4.5.0 20091029. MPC-HC rev is 1330.

Sorry, I don't know what else I should write here, I hope this helps.


-- 
   Summary: GCC fails to compile MPC-HC's ffmpeg/libavcodec
   Product: gcc
   Version: 4.5.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c
AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: brunorex at gmail dot com
  GCC host triplet: i386-pc-mingw32


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



[Bug c/41979] GCC fails to compile MPC-HC's ffmpeg/libavcodec

2009-11-07 Thread brunorex at gmail dot com


--- Comment #2 from brunorex at gmail dot com  2009-11-07 23:37 ---
Mind explaining how can I do that?

(In reply to comment #1)
> Please attach preprocessed source.  I suspect this is yet another dup of
> PR41891.
> 


-- 


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



[Bug c/41979] GCC fails to compile MPC-HC's ffmpeg/libavcodec

2009-11-08 Thread brunorex at gmail dot com


--- Comment #4 from brunorex at gmail dot com  2009-11-08 10:28 ---
Created an attachment (id=18993)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18993&action=view)
preprocessed source


-- 


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



[Bug c/41979] GCC fails to compile MPC-HC's ffmpeg/libavcodec

2009-11-08 Thread brunorex at gmail dot com


--- Comment #5 from brunorex at gmail dot com  2009-11-08 10:29 ---
Preprocessed source added.

Got this but should be normal:
gcc.exe: warning: -pipe ignored because -save-temps specified


-- 


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



[Bug target/41979] GCC fails to compile MPC-HC's ffmpeg/libavcodec

2009-11-19 Thread brunorex at gmail dot com


--- Comment #7 from brunorex at gmail dot com  2009-11-19 20:08 ---
I don't get the error anymore with gcc 4.5.0 20091112.


-- 


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



[Bug target/41979] GCC fails to compile MPC-HC's ffmpeg/libavcodec

2009-11-20 Thread brunorex at gmail dot com


-- 

brunorex at gmail dot com changed:

   What|Removed |Added

 Status|NEW |SUSPENDED


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