ICE compiling libAV 0.8.4 w/ Xcode 4.5.2 on Mac OS X 10.8.2

Originator:nathan.herring
Number:rdar://12949241 Date Originated:03-Jan-2013 02:08 AM
Status:Open Resolved:
Product:Developer Tools Product Version:Version 4.5.2 (4G2008a)
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:

Steps to Reproduce:
1) Install Xcode 4.5.2 via App Store
2) export PATH=$PATH:/Applications/Xcode.app/Contents/Developer/usr/bin
3) Unzip libAV 0.8.4 (downloadable from http://libav.org/releases/libav-0.8.4.tar.gz)
4) ./configure --disable-static --enable-shared --cc="gcc -m32 --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk" --disable-decoder=h264,svq3 --disable-parser=h264 --enable-runtime-cpudetect --build-suffix=_dvdProbe sysinclude=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr --disable-debug --shlibdir="@executable_path/../Frameworks" --prefix="@executable_path/../Frameworks" --extra-cflags=-O3 --disable-yasm
5) make

Expected Results:
CC to finish without an ICE (either with an error or not).

Actual Results:
...
CC	libavcodec/x86/dsputil_mmx.o
UNREACHABLE executed!
libavcodec/x86/dsputil_mmx.c:2945: internal compiler error: Abort trap: 6
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make: *** [libavcodec/x86/dsputil_mmx.o] Error 1

Regression:
Unknown. First time I've tried to follow the instructions to build it, and they were clearly targeting SnowLeopard and MacOSX10.4u.sdk: "./configure --disable-static --enable-shared --cc="gcc -m32" --disable-decoder=h264,svq3 --disable-parser=h264 --enable-runtime-cpudetect --build-suffix=_dvdProbe sysinclude=/Volumes/SnowLeopard/Developer/SDKs/MacOSX10.4u.sdk/usr --disable-debug --shlibdir="@executable_path/../Frameworks" --prefix="@executable_path/../Frameworks" --extra-cflags=-O3" -- I added the --sysroot argument and fixed the sysinclude path.

Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!