This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/41979] New: GCC fails to compile MPC-HC's ffmpeg/libavcodec
- From: "brunorex at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Nov 2009 21:30:01 -0000
- Subject: [Bug c/41979] New: GCC fails to compile MPC-HC's ffmpeg/libavcodec
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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