[Ffmpeg-devel] Recent change in configure causes error message in MSys/MinGW

Jonathon Elwood jaelwood
Fri Mar 30 19:09:03 CEST 2007


There was a recent change to 'configure' that is now causing a Windows box
to appear in MSys/MinGW.  The box says "ffmpeg-conf-17246-3728-29106.exe has
encountered a problem and needs to close".  I know this is a question
specific to MSys/MinGW and this may not be the appropriate place to post
this problem.  If there is another list that would be more appropriate
please let me know.

I looked in 'configure' and found this change was recently added.  I'm not
sure exactly when it was added, but I have source from roughly 6 days ago
and this section doesn't exist in that version (of course, if I remove this
change the Windows Box doesn't appear) .



fi



if test $arch = "x86_32" -o $arch = "x86_64"; then

    if test "$targetos" = "mingw32" -o "$targetos" = "CYGWIN"; then

        cat <<EOF

WARNING: The following test might cause a testapp to crash (intentionally)

resulting in the appearance of a dialog box. Please click "Don't send" and

ignore it.

EOF

    fi



    # check whether EBP is available on x86

    # As 'i' is stored on the stack, this program will crash

    # if the base pointer is used to access it because the

    # base pointer is cleared in the inline assembly code.

    check_exec <<EOF && enable ebp_available

int main(){

    volatile int i=0;

    asm volatile (

        "xorl %%ebp, %%ebp"

    ::: "%ebp");

    return i;

}

EOF



    # check wether EBX is available on x86

    check_cc <<EOF && enable ebx_available

int main(){

    asm volatile ("":::"%ebx");

}

EOF

There is a note here stating that this was done intentionally.  I don't know
what this script is doing, so I'm not sure how important it is.  Is this the
way it should work with MSys/MinGW now or is there a library I'm missing
that will stop this error from occurring?  Also, the note says to click
"Don't send" and ignore it.  Does that mean that if I ignore this error
./configure will still work fine?




More information about the ffmpeg-devel mailing list