LRN <[email protected]> added the comment:

Ok, here's all information. It is available on the tracker (the link i gave),
but since you've asked...

gcc 4.3.2-tdm-2 creates an executable which fails to start
WinXP x64 SP2, MSYS
$ gcc -v
Using built-in specs.
Target: mingw32
Configured with: ../gcc-4.3.2/configure --prefix=/mingw --build=mingw32
--enable-languages=c,ada,c++,fortran,objc,obj-c++
--with-bugurl=http://www.tdragon.net/recentgcc/bugs.php --disable-nls
--disable-win32-registry --enable
-libgomp --disable-werror --enable-threads --disable-symvers
--enable-cxx-flags='-fno-function-sections -fno-data-sections'
--enable-fully-dynamic-string --enable-version-specific-runtime-libs
--enable-sjlj-exceptions --with-
pkgversion='4.3.2-tdm-2 mingw32'
Thread model: win32
gcc version 4.3.2 (4.3.2-tdm-2 mingw32)
$ ld -v
GNU ld (GNU Binutils) 2.19

How to reproduce:
$ svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
$ cd ffmpeg
$ ./configure --disable-decoders --disable-muxers --disable-demuxers
--disable-parsers --disable-protocols --disable-bsfs --disable-indevs
--disable-outdevs --disable-filters --disable-ffserver --disable-ffplay
--disable-encoders --disable-mmx --enable-shared --enable-encoder=mpeg4 &&
make && make install && ffmpeg_g.exe

$ gdb --exec ffmpeg_g.exe
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
(gdb) run
Starting program: d:\projects\ffmpeg/ffmpeg_g.exe
[New thread 4576.0xb20]
Error: dll starting at 0x77d40000 not found.
Error while mapping shared library sections:
NOT_AN_IMAGE: No such file or directory.
Error while mapping shared library sections:
C:\WINXP64\SysWOW64\ntdll32.dll: No such file or directory.
Error: dll starting at 0x77d40000 not found.
Error: dll starting at 0x77c20000 not found.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program exited with code 0200.
You can't do that without a process to debug.

Executable dies with 0xc0000005 (application failed to initialize
properly)


Comment from tdragon (the guy who builds gcc-tdm):
-------------------------
Without a *small* testcase to work with, this is not going to get fixed. I
need a single (preferably preprocessed) source file and compilation command
that consistently produces an executable with this problem. If you aren't
sure how to go about getting this, you should probably take this problem to
an ffmpeg support forum or an active ffmpeg guru instead.
-------------------------

____________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/roundup/ffmpeg/issue783>
____________________________________________________

Reply via email to