[Fixed] Snow Leopard compilation problem

Report and discuss *new*, *consistent*, *reproducible* bugs here
Forum rules
READ ME before posting bugs

Forum Rules can be found here

[Fixed] Snow Leopard compilation problem

Postby gusmau » Thu Jul 16, 2009 4:01 pm

We are successfully compiling HB versions on Leopard for a while. We use HB to encode company and customer Videos. We are members of Apple ADC, and are testing the upcoming 10.6 --snow leopard-- heavily. We run into a problem when compiling HB for the new XCODE, using the right yasm version, at libavcodec.a. Here is the message:
Code: Select all
cd ../macosx/ && xcodebuild -project HandBrake.xcodeproj -configuration standard -target HandBrakeCLI -target HandBrake EXTERNAL_SRC='..' EXTERNAL_BUILD='../build' EXTERNAL_PREFIX='/Applications' EXTERNAL_JOBS='2' EXTERNAL_METHOD='xcode' EXTERNAL_CONFARGS='--build=../build --arch=i386' EXTERNAL_GOALS='' EXTERNAL_VARS='' build

=== BUILD LEGACY TARGET external OF PROJECT HandBrake WITH CONFIGURATION standard ===
Check dependencies
ExternalBuildToolExecution external
    cd /Users/gustavo/hb-trunk/macosx
    setenv ACTION
    setenv ALTERNATE_GROUP staff
    setenv ALTERNATE_MODE u+w,go-w,a+rX
    setenv ALTERNATE_OWNER gustavo
    setenv ALWAYS_SEARCH_USER_PATHS YES
    setenv APPLE_INTERNAL_DEVELOPER_DIR /AppleInternal/Developer
    setenv APPLE_INTERNAL_DIR /AppleInternal
    setenv APPLE_INTERNAL_DOCUMENTATION_DIR /AppleInternal/Documentation
    setenv APPLE_INTERNAL_LIBRARY_DIR /AppleInternal/Library
    setenv APPLE_INTERNAL_TOOLS /AppleInternal/Developer/Tools
    setenv APPLY_RULES_IN_COPY_FILES NO
    setenv ARCHS i386
    setenv BUILD_COMPONENTS "headers build"
    setenv BUILD_DIR /Users/gustavo/hb-trunk/macosx/../build/macosx
    setenv BUILD_ROOT /Users/gustavo/hb-trunk/macosx/../build/macosx
    setenv BUILD_STYLE standard
    setenv BUILD_VARIANTS normal
    setenv BUILT_PRODUCTS_DIR ../build
    setenv CACHE_ROOT /var/folders/X0/X0EzSXRZG88xNNFP+LPgNE+++TM/-Caches-/com.apple.Xcode.502
    setenv CLASS_FILE_DIR /Users/gustavo/hb-trunk/macosx/../build/macosx/external.build/JavaClasses
    setenv CLONE_HEADERS NO
    setenv CONFIGURATION standard
    setenv CONFIGURATION_BUILD_DIR ../build
    setenv CONFIGURATION_TEMP_DIR /Users/gustavo/hb-trunk/macosx/../build/macosx
    setenv COPYING_PRESERVES_HFS_DATA NO
    setenv COPY_PHASE_STRIP YES
    setenv DEAD_CODE_STRIPPING NO
    setenv DEBUGGING_SYMBOLS YES
    setenv DEPLOYMENT_LOCATION NO
    setenv DEPLOYMENT_POSTPROCESSING NO
    setenv DERIVED_FILES_DIR
    setenv DERIVED_FILE_DIR /Users/gustavo/hb-trunk/macosx/../build/macosx/external.build/DerivedSources
    setenv DERIVED_SOURCES_DIR /Users/gustavo/hb-trunk/macosx/../build/macosx/external.build/DerivedSources
    setenv DEVELOPER_APPLICATIONS_DIR /Developer/Applications
    setenv DEVELOPER_BIN_DIR /Developer/usr/bin
    setenv DEVELOPER_DIR /Developer
    setenv DEVELOPER_FRAMEWORKS_DIR /Developer/Library/Frameworks
    setenv DEVELOPER_FRAMEWORKS_DIR_QUOTED "\"/Developer/Library/Frameworks\""
    setenv DEVELOPER_LIBRARY_DIR /Developer/Library
    setenv DEVELOPER_SDK_DIR /Developer/SDKs
    setenv DEVELOPER_TOOLS_DIR /Developer/Tools
    setenv DEVELOPER_USR_DIR /Developer/usr
    setenv DEVELOPMENT_LANGUAGE English
    setenv DO_HEADER_SCANNING_IN_JAM NO
    setenv DSTROOT /tmp/HandBrake.dst
    setenv DWARF_DSYM_FILE_NAME .dSYM
    setenv DWARF_DSYM_FOLDER_PATH ../build
    setenv ENABLE_HEADER_DEPENDENCIES YES
    setenv ENABLE_OPENMP_SUPPORT NO
    setenv EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS ".svn CVS"
    setenv EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES "*.nib *.lproj *.framework *.gch *.xcode* (*) CVS .svn"
    setenv EXTERNAL_BUILD ../build
    setenv EXTERNAL_CONFARGS "--build=../build --arch=i386"
    setenv EXTERNAL_JOBS 2
    setenv EXTERNAL_METHOD xcode
    setenv EXTERNAL_PREFIX /Applications
    setenv EXTERNAL_SRC ..
    setenv FILE_LIST /Users/gustavo/hb-trunk/macosx/../build/macosx/external.build/Objects/LinkFileList
    setenv FRAMEWORK_SEARCH_PATHS ../macosx
    setenv FRAMEWORK_VERSION A
    setenv GCC3_VERSION 3.3
    setenv GCC_DYNAMIC_NO_PIC YES
    setenv GCC_GENERATE_DEBUGGING_SYMBOLS NO
    setenv GCC_MODEL_TUNING G5
    setenv GCC_WARN_TYPECHECK_CALLS_TO_PRINTF YES
    setenv GENERATE_MASTER_OBJECT_FILE NO
    setenv GENERATE_PKGINFO_FILE NO
    setenv GID 20
    setenv GROUP staff
    setenv HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT YES
    setenv HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES YES
    setenv HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS YES
    setenv HEADERMAP_INCLUDES_PROJECT_HEADERS YES
    setenv HEADER_SEARCH_PATHS ../build/libhb
    setenv IBC_NOTICES NO
    setenv IBC_WARNINGS NO
    setenv INFOPLIST_EXPAND_BUILD_SETTINGS YES
    setenv INFOPLIST_OUTPUT_FORMAT same-as-input
    setenv INFOPLIST_PREPROCESS NO
    setenv INSTALL_DIR /tmp/HandBrake.dst
    setenv INSTALL_GROUP staff
    setenv INSTALL_MODE_FLAG u+w,go-w,a+rX
    setenv INSTALL_OWNER gustavo
    setenv INSTALL_ROOT /tmp/HandBrake.dst
    setenv JAVA_APP_STUB /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
    setenv JAVA_ARCHIVE_CLASSES YES
    setenv JAVA_ARCHIVE_TYPE JAR
    setenv JAVA_COMPILER /usr/bin/javac
    setenv JAVA_FRAMEWORK_RESOURCES_DIRS Resources
    setenv JAVA_JAR_FLAGS cv
    setenv JAVA_SOURCE_SUBDIR .
    setenv JAVA_USE_DEPENDENCIES YES
    setenv JAVA_ZIP_FLAGS -urg
    setenv KEEP_PRIVATE_EXTERNS NO
    setenv LD_GENERATE_MAP_FILE NO
    setenv LD_MAP_FILE_PATH /Users/gustavo/hb-trunk/macosx/../build/macosx/external.build/external-LinkMap--.txt
    setenv LD_OPENMP_FLAGS -fopenmp
    setenv LIBRARY_SEARCH_PATHS "../build/libhb ../build/contrib/lib"
    setenv LINKER_DISPLAYS_MANGLED_NAMES NO
    setenv LINK_WITH_STANDARD_LIBRARIES YES
    setenv LOCAL_ADMIN_APPS_DIR /Applications/Utilities
    setenv LOCAL_APPS_DIR /Applications
    setenv LOCAL_DEVELOPER_DIR /Library/Developer
    setenv LOCAL_LIBRARY_DIR /Library
    setenv MAC_OS_X_VERSION_ACTUAL 1060
    setenv MAC_OS_X_VERSION_MAJOR 1060
    setenv MAC_OS_X_VERSION_MINOR 0600
    setenv OBJECT_FILE_DIR /Users/gustavo/hb-trunk/macosx/../build/macosx/external.build/Objects
    setenv OBJROOT /Users/gustavo/hb-trunk/macosx/../build/macosx
    setenv ONLY_ACTIVE_ARCH NO
    setenv OPTIMIZATION_LEVEL 0
    setenv OS MACOS
    setenv PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES "/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Developer/Headers /Developer/SDKs /Developer/Platforms"
    setenv PLIST_FILE_OUTPUT_FORMAT same-as-input
    setenv PREBINDING NO
    setenv PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR YES
    setenv PRECOMP_DESTINATION_DIR /Users/gustavo/hb-trunk/macosx/../build/macosx/external.build/PrefixHeaders
    setenv PRESERVE_DEAD_CODE_INITS_AND_TERMS NO
    setenv PRODUCT_NAME external
    setenv PROFILING_CODE NO
    setenv PROJECT HandBrake
    setenv PROJECT_DERIVED_FILE_DIR /Users/gustavo/hb-trunk/macosx/../build/macosx/HandBrake.build/DerivedSources
    setenv PROJECT_DIR /Users/gustavo/hb-trunk/macosx
    setenv PROJECT_FILE_PATH /Users/gustavo/hb-trunk/macosx/HandBrake.xcodeproj
    setenv PROJECT_NAME HandBrake
    setenv PROJECT_TEMP_DIR /Users/gustavo/hb-trunk/macosx/../build/macosx/HandBrake.build
    setenv REMOVE_CVS_FROM_RESOURCES YES
    setenv REMOVE_SVN_FROM_RESOURCES YES
    setenv RUN_CLANG_STATIC_ANALYZER NO
    setenv SCAN_ALL_SOURCE_FILES_FOR_INCLUDES YES
    setenv SDKROOT
    setenv SEPARATE_STRIP NO
    setenv SEPARATE_SYMBOL_EDIT NO
    setenv SHARED_DERIVED_FILE_DIR ../build/DerivedSources
    setenv SHARED_PRECOMPS_DIR /Users/gustavo/hb-trunk/macosx/../build/macosx/cache
    setenv SKIP_INSTALL NO
    setenv SOURCE_ROOT /Users/gustavo/hb-trunk/macosx
    setenv SRCROOT /Users/gustavo/hb-trunk/macosx
    setenv STANDARD_C_PLUS_PLUS_LIBRARY_TYPE dynamic
    setenv STRINGS_FILE_OUTPUT_ENCODING UTF-16
    setenv STRIP_INSTALLED_PRODUCT YES
    setenv STRIP_STYLE all
    setenv SYMROOT /Users/gustavo/hb-trunk/macosx/../build/macosx
    setenv SYSTEM_ADMIN_APPS_DIR /Applications/Utilities
    setenv SYSTEM_APPS_DIR /Applications
    setenv SYSTEM_CORE_SERVICES_DIR /System/Library/CoreServices
    setenv SYSTEM_DEMOS_DIR /Applications/Extras
    setenv SYSTEM_DEVELOPER_APPS_DIR /Developer/Applications
    setenv SYSTEM_DEVELOPER_BIN_DIR /Developer/usr/bin
    setenv SYSTEM_DEVELOPER_DEMOS_DIR "/Developer/Applications/Utilities/Built Examples"
    setenv SYSTEM_DEVELOPER_DIR /Developer
    setenv SYSTEM_DEVELOPER_DOC_DIR "/Developer/ADC Reference Library"
    setenv SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR "/Developer/Applications/Graphics Tools"
    setenv SYSTEM_DEVELOPER_JAVA_TOOLS_DIR "/Developer/Applications/Java Tools"
    setenv SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR "/Developer/Applications/Performance Tools"
    setenv SYSTEM_DEVELOPER_RELEASENOTES_DIR "/Developer/ADC Reference Library/releasenotes"
    setenv SYSTEM_DEVELOPER_TOOLS /Developer/Tools
    setenv SYSTEM_DEVELOPER_TOOLS_DOC_DIR "/Developer/ADC Reference Library/documentation/DeveloperTools"
    setenv SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR "/Developer/ADC Reference Library/releasenotes/DeveloperTools"
    setenv SYSTEM_DEVELOPER_USR_DIR /Developer/usr
    setenv SYSTEM_DEVELOPER_UTILITIES_DIR /Developer/Applications/Utilities
    setenv SYSTEM_DOCUMENTATION_DIR /Library/Documentation
    setenv SYSTEM_LIBRARY_DIR /System/Library
    setenv TARGETNAME external
    setenv TARGET_BUILD_DIR ../build
    setenv TARGET_NAME external
    setenv TARGET_TEMP_DIR /Users/gustavo/hb-trunk/macosx/../build/macosx/external.build
    setenv TEMP_DIR /Users/gustavo/hb-trunk/macosx/../build/macosx/external.build
    setenv TEMP_FILES_DIR
    setenv TEMP_FILE_DIR /Users/gustavo/hb-trunk/macosx/../build/macosx/external.build
    setenv TEMP_ROOT /Users/gustavo/hb-trunk/macosx/../build/macosx
    setenv UID 502
    setenv USER gustavo
    setenv USER_APPS_DIR /Users/gustavo/Applications
    setenv USER_LIBRARY_DIR /Users/gustavo/Library
    setenv XCODE_APP_SUPPORT_DIR /Developer/Library/Xcode
    setenv XCODE_VERSION_ACTUAL 0320
    setenv XCODE_VERSION_MAJOR 0300
    setenv XCODE_VERSION_MINOR 0320
    /bin/sh ../make/xcodemake

env specification: external:
+ exec make -C ../build BUILD.method=xcode --jobs=2 build
make -C ./contrib/ffmpeg/ffmpeg-r19067/ clean
make -C ./contrib/libtheora/libtheora/ clean
rm -f libavdevice/*-example libavdevice/*-test libavdevice/*.o libavdevice/*~ libavdevice/*.ho libavdevice/*.map libavdevice/*.a libavdevice/*.lib libavdevice/*.so libavdevice/*.so.* libavdevice/*.dylib libavdevice/*.dll libavdevice/*.def libavdevice/*.dll.a libavdevice/*.exp
rm -rf tests/vsynth1 tests/vsynth2 tests/data tests/*~
rm -f libavformat/*-example libavformat/*-test libavformat/*.o libavformat/*~ libavformat/*.ho libavformat/*.map libavformat/*.a libavformat/*.lib libavformat/*.so libavformat/*.so.* libavformat/*.dylib libavformat/*.dll libavformat/*.def libavformat/*.dll.a libavformat/*.exp
Making clean in m4
rm -rf .libs _libs
rm -f libavcodec/*-example libavcodec/*-test libavcodec/*.o libavcodec/*~ libavcodec/*.ho libavcodec/*.map libavcodec/*.a libavcodec/*.lib libavcodec/*.so libavcodec/*.so.* libavcodec/*.dylib libavcodec/*.dll libavcodec/*.def libavcodec/*.dll.a libavcodec/*.exp libavcodec/alpha/*.o libavcodec/arm/*.o libavcodec/bfin/*.o libavcodec/mlib/*.o libavcodec/ppc/*.o libavcodec/ps2/*.o libavcodec/sh4/*.o libavcodec/sparc/*.o libavcodec/x86/*.o libavcodec/alpha/*~ libavcodec/arm/*~ libavcodec/bfin/*~ libavcodec/mlib/*~ libavcodec/ppc/*~ libavcodec/ps2/*~ libavcodec/sh4/*~ libavcodec/sparc/*~ libavcodec/x86/*~ libavcodec/alpha/*.ho libavcodec/arm/*.ho libavcodec/bfin/*.ho libavcodec/mlib/*.ho libavcodec/ppc/*.ho libavcodec/ps2/*.ho libavcodec/sh4/*.ho libavcodec/sparc/*.ho libavcodec/x86/*.ho libavcodec/alpha/*.map libavcodec/arm/*.map libavcodec/bfin/*.map libavcodec/mlib/*.map libavcodec/ppc/*.map libavcodec/ps2/*.map libavcodec/sh4/*.map libavcodec/sparc/*.map libavcodec/x86/*.map
rm -f *.lo
Making clean in tests
rm -f noop_theora noop_theora
rm -f comment comment
rm -f libavutil/*-example libavutil/*-test libavutil/*.o libavutil/*~ libavutil/*.ho libavutil/*.map libavutil/*.a libavutil/*.lib libavutil/*.so libavutil/*.so.* libavutil/*.dylib libavutil/*.dll libavutil/*.def libavutil/*.dll.a libavutil/*.exp libavutil/arm/*.o libavutil/bfin/*.o libavutil/sh4/*.o libavutil/x86/*.o libavutil/arm/*~ libavutil/bfin/*~ libavutil/sh4/*~ libavutil/x86/*~ libavutil/arm/*.ho libavutil/bfin/*.ho libavutil/sh4/*.ho libavutil/x86/*.ho libavutil/arm/*.map libavutil/bfin/*.map libavutil/sh4/*.map libavutil/x86/*.map
rm -f comment_theoradec comment_theoradec
rm -f libswscale/*-example libswscale/*-test libswscale/*.o libswscale/*~ libswscale/*.ho libswscale/*.map libswscale/*.a libswscale/*.lib libswscale/*.so libswscale/*.so.* libswscale/*.dylib libswscale/*.dll libswscale/*.def libswscale/*.dll.a libswscale/*.exp libswscale/bfin/*.o libswscale/mlib/*.o libswscale/ppc/*.o libswscale/sparc/*.o libswscale/x86/*.o libswscale/bfin/*~ libswscale/mlib/*~ libswscale/ppc/*~ libswscale/sparc/*~ libswscale/x86/*~ libswscale/bfin/*.ho libswscale/mlib/*.ho libswscale/ppc/*.ho libswscale/sparc/*.ho libswscale/x86/*.ho libswscale/bfin/*.map libswscale/mlib/*.map libswscale/ppc/*.map libswscale/sparc/*.map libswscale/x86/*.map
rm -f comment_theora comment_theora
rm -f ffmpeg ffplay ffserver ffmpeg_g ffplay_g ffserver_g
rm -f noop noop
rm -f *.o *~ *.ho *.map
rm -f doc/*.html doc/*.pod doc/*.1
rm -f noop_theoraenc noop_theoraenc
rm -f tests/seek_test
rm -f granulepos granulepos
rm -f granulepos_theoraenc granulepos_theoraenc
rm -f tests/audiogen tests/videogen tests/rotozoom tests/tiny_psnr
rm -f granulepos_theora granulepos_theora
rm -f tools/cws2fws tools/pktdumper tools/qt-faststart tools/trasher
rm -rf .libs _libs
/bin/rm -f ./contrib/ffmpeg/.stamp.build
make -C ./contrib/ffmpeg/ffmpeg-r19067/
rm -f *.o
rm -f *.lo
Making clean in doc
Making clean in spec
rm -rf .libs _libs
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavdevice/alldevices.o libavdevice/alldevices.c
rm -f pic-frame.tex hilbert-mb.tex hilbert-block.tex xifish.tex superblock.tex macroblock.tex raster-block.tex reference-frames.tex pixel444.tex pixel422.tex pixel420.tex idct.tex fdct.tex pic_even.tex pic_even_odd.tex pic_odd.tex pic_odd_even.tex
rm -f pic-frame.aux hilbert-mb.aux hilbert-block.aux xifish.aux superblock.aux macroblock.aux raster-block.aux reference-frames.aux pixel444.aux pixel422.aux pixel420.aux idct.aux fdct.aux pic_even.aux pic_even_odd.aux pic_odd.aux pic_odd_even.aux
rm -f pic-frame.pdf hilbert-mb.pdf hilbert-block.pdf xifish.pdf superblock.pdf macroblock.pdf raster-block.pdf reference-frames.pdf pixel444.pdf pixel422.pdf pixel420.pdf idct.pdf fdct.pdf pic_even.pdf pic_even_odd.pdf pic_odd.pdf pic_odd_even.pdf
rm -f vp3huff
rm -f vp3huff.tex
rm -f vp3huff.aux
rm -f spec.aux
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavformat/allformats.o libavformat/allformats.c
rm -f spec.log
rm -f spec.lof
rm -f spec.lot
rm -f spec.out
rm -f spec.bbl
rm -f spec.blg
rm -f spec.toc
rm -f vp3huff vp3huff
rm -f *.o
rm -f *.lo
Making clean in .
rm -rf .libs _libs
if test -d libtheora; then rm -rf libtheora; fi
if test -f doxygen-build.stamp; then rm -f doxygen-build.stamp; fi
rm -f *.lo
Making clean in include
Making clean in theora
rm -rf .libs _libs
rm -f *.lo
Making clean in .
rm -rf .libs _libs
rm -f *.lo
Making clean in lib
test -z "libtheoradec.la libtheoraenc.la libtheora.la" || rm -f libtheoradec.la libtheoraenc.la libtheora.la
rm -f "./so_locations"
rm -f "./so_locations"
rm -f "./so_locations"
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
Making clean in .
rm -rf .libs _libs
rm -f *.lo
/bin/rm -f ./contrib/libtheora/.stamp.build
make -C ./contrib/libtheora/libtheora/
make  all-recursive
Making all in lib
/bin/sh ../libtool --tag=CC --mode=compile /Developer/usr/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include   -I/Users/gustavo/hb-trunk/build/contrib//include -Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops  -c -o mmxidct.lo `test -f 'dec/x86/mmxidct.c' || echo './'`dec/x86/mmxidct.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavformat/cutils.o libavformat/cutils.c
/Developer/usr/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/Users/gustavo/hb-trunk/build/contrib//include -Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops -c dec/x86/mmxidct.c -o mmxidct.o
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavformat/metadata.o libavformat/metadata.c
/bin/sh ../libtool --tag=CC --mode=compile /Developer/usr/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include   -I/Users/gustavo/hb-trunk/build/contrib//include -Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops  -c -o mmxfrag.lo `test -f 'dec/x86/mmxfrag.c' || echo './'`dec/x86/mmxfrag.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavformat/metadata_compat.o libavformat/metadata_compat.c
libavformat/metadata_compat.c: In function ‘ff_metadata_mux_compat’:
libavformat/metadata_compat.c:129: warning: the address of ‘number’ will always evaluate as ‘true’
libavformat/metadata_compat.c:130: warning: the address of ‘number’ will always evaluate as ‘true’
LINES REMOVED...
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/eacmv.o libavcodec/eacmv.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/eatgq.o libavcodec/eatgq.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/eaidct.o libavcodec/eaidct.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/eatgv.o libavcodec/eatgv.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/eatqi.o libavcodec/eatqi.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/mpeg12.o libavcodec/mpeg12.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/error_resilience.o libavcodec/error_resilience.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/8bps.o libavcodec/8bps.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/8svx.o libavcodec/8svx.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/escape124.o libavcodec/escape124.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/ffv1.o libavcodec/ffv1.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/rangecoder.o libavcodec/rangecoder.c
libavcodec/ffv1.c:296: warning: ‘put_symbol’ defined but not used
libavcodec/rangecoder.c: In function ‘ff_init_range_decoder’:
libavcodec/rangecoder.c:54: warning: cast discards qualifiers from pointer target type
libavcodec/rangecoder.c:56: warning: passing argument 1 of ‘bytestream_get_be16’ from incompatible pointer type
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/huffyuv.o libavcodec/huffyuv.c
libavcodec/huffyuv.c:880: warning: ‘encode_bgr_bitstream’ defined but not used
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/flacdec.o libavcodec/flacdec.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/flacdata.o libavcodec/flacdata.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/flac.o libavcodec/flac.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/flashsv.o libavcodec/flashsv.c
libavcodec/flashsv.c: In function ‘flashsv_decode_frame’:
libavcodec/flashsv.c:198: warning: assignment discards qualifiers from pointer target type
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/flicvideo.o libavcodec/flicvideo.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/h263dec.o libavcodec/h263dec.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/h263.o libavcodec/h263.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/4xm.o libavcodec/4xm.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/fraps.o libavcodec/fraps.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/huffman.o libavcodec/huffman.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/gifdec.o libavcodec/gifdec.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/lzw.o libavcodec/lzw.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/h261dec.o libavcodec/h261dec.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/h261.o libavcodec/h261.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/h263_parser.o libavcodec/h263_parser.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/h264.o libavcodec/h264.c
In file included from libavcodec/h264.c:42:
libavcodec/x86/h264_i386.h: In function ‘decode_significance_x86’:
libavcodec/x86/h264_i386.h:41: warning: cast from pointer to integer of different size
libavcodec/x86/h264_i386.h:42: warning: cast from pointer to integer of different size
libavcodec/x86/h264_i386.h: In function ‘decode_significance_8x8_x86’:
libavcodec/x86/h264_i386.h:94: warning: cast from pointer to integer of different size
libavcodec/h264.c: In function ‘pred_direct_motion’:
libavcodec/h264.c:1048: warning: assignment from incompatible pointer type
libavcodec/h264.c:1049: warning: assignment from incompatible pointer type
libavcodec/h264.c: In function ‘filter_mb_dir’:
libavcodec/h264.c:6344: warning: initialization from incompatible pointer type
libavcodec/h264.c:6345: warning: initialization from incompatible pointer type
In file included from libavcodec/h264.c:8166:
libavcodec/svq3.c: In function ‘svq3_decode_slice_header’:
libavcodec/svq3.c:721: warning: cast discards qualifiers from pointer target type
libavcodec/svq3.c:724: warning: cast discards qualifiers from pointer target type
libavcodec/svq3.c:724: warning: cast discards qualifiers from pointer target type
libavcodec/svq3.c:724: warning: cast discards qualifiers from pointer target type
libavcodec/svq3.c:724: warning: cast discards qualifiers from pointer target type
libavcodec/h263.c: In function ‘mpeg4_decode_block’:
libavcodec/h263.c:4781: warning: ‘dc_pred_dir’ may be used uninitialized in this function
{standard input}:9468:suffix or operands invalid for `add'
{standard input}:9480:suffix or operands invalid for `add'
{standard input}:9745:suffix or operands invalid for `add'
{standard input}:9757:suffix or operands invalid for `add'
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/h264idct.o libavcodec/h264idct.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/h264pred.o libavcodec/h264pred.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/h264_parser.o libavcodec/h264_parser.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/cabac.o libavcodec/cabac.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/idcinvideo.o libavcodec/idcinvideo.c
libavcodec/idcinvideo.c: In function ‘idcin_decode_frame’:
libavcodec/idcinvideo.c:217: warning: ‘AVPaletteControl’ is deprecated
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/imc.o libavcodec/imc.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/indeo2.o libavcodec/indeo2.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/indeo3.o libavcodec/indeo3.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/dpcm.o libavcodec/dpcm.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/interplayvideo.o libavcodec/interplayvideo.c
libavcodec/interplayvideo.c: In function ‘ipvideo_decode_frame’:
libavcodec/interplayvideo.c:642: warning: ‘AVPaletteControl’ is deprecated
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/jpeglsdec.o libavcodec/jpeglsdec.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/jpegls.o libavcodec/jpegls.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/kmvc.o libavcodec/kmvc.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/loco.o libavcodec/loco.c
/Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/mace.o libavcodec/mace.c
make[2]: *** [libavcodec/h264.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [contrib/ffmpeg/.stamp.build] Error 2
Command /bin/sh failed with exit code 2
Command /bin/sh failed with exit code 2

=== BUILD NATIVE TARGET HandBrakeCLI OF PROJECT HandBrake WITH CONFIGURATION standard ===
Check dependencies
Ld ../build/HandBrakeCLI normal i386
    cd /Users/gustavo/hb-trunk/macosx
    /Developer/usr/bin/g++-4.2 -arch i386 -L../build -L../build/libhb -L../build/contrib/lib -F../build -F../macosx -filelist /Users/gustavo/hb-trunk/macosx/../build/macosx/HandBrakeCLI.build/Objects-normal/i386/HandBrakeCLI.LinkFileList ../build/contrib/lib/liba52.a ../build/contrib/lib/libavcodec.a ../build/contrib/lib/libavformat.a ../build/contrib/lib/libavutil.a ../build/contrib/lib/libdca.a ../build/contrib/lib/libdvdnav.a ../build/contrib/lib/libdvdread.a ../build/contrib/lib/libfaac.a ../build/contrib/lib/libfaad.a ../build/contrib/lib/libmkv.a ../build/contrib/lib/libmp3lame.a ../build/contrib/lib/libmp4v2.a ../build/contrib/lib/libogg.a ../build/contrib/lib/libmpeg2.a ../build/contrib/lib/libsamplerate.a ../build/contrib/lib/libswscale.a ../build/contrib/lib/libtheora.a ../build/contrib/lib/libvorbis.a ../build/contrib/lib/libvorbisenc.a ../build/contrib/lib/libx264.a -framework CoreServices -framework AudioToolbox -framework IOKit -lhb -liconv -lbz2 -lz -o ../build/HandBrakeCLI

i686-apple-darwin10-g++-4.2.1: ../build/contrib/lib/libavcodec.a: No such file or directory
i686-apple-darwin10-g++-4.2.1: ../build/contrib/lib/libavformat.a: No such file or directory
i686-apple-darwin10-g++-4.2.1: ../build/contrib/lib/libavutil.a: No such file or directory
i686-apple-darwin10-g++-4.2.1: ../build/contrib/lib/libswscale.a: No such file or directory
i686-apple-darwin10-g++-4.2.1: ../build/contrib/lib/libtheora.a: No such file or directory
i686-apple-darwin10-g++-4.2.1: ../build/contrib/lib/libx264.a: No such file or directory
Command /Developer/usr/bin/g++-4.2 failed with exit code 1
Command /Developer/usr/bin/g++-4.2 failed with exit code 1

=== BUILD NATIVE TARGET HandBrake OF PROJECT HandBrake WITH CONFIGURATION standard ===
Check dependencies
Ld ../build/HandBrake.app/Contents/MacOS/HandBrake normal i386
    cd /Users/gustavo/hb-trunk/macosx
    /Developer/usr/bin/g++-4.2 -arch i386 -L../build -L../build/libhb -L../build/contrib/lib -F../build -F../macosx -filelist /Users/gustavo/hb-trunk/macosx/../build/macosx/HandBrake.build/Objects-normal/i386/HandBrake.LinkFileList ../build/contrib/lib/liba52.a ../build/contrib/lib/libavcodec.a ../build/contrib/lib/libavformat.a ../build/contrib/lib/libavutil.a ../build/contrib/lib/libdca.a ../build/contrib/lib/libdvdnav.a ../build/contrib/lib/libdvdread.a ../build/contrib/lib/libfaac.a ../build/contrib/lib/libfaad.a ../build/contrib/lib/libmkv.a ../build/contrib/lib/libmp3lame.a ../build/contrib/lib/libmp4v2.a ../build/contrib/lib/libogg.a ../build/contrib/lib/libmpeg2.a ../build/contrib/lib/libsamplerate.a ../build/contrib/lib/libswscale.a ../build/contrib/lib/libtheora.a ../build/contrib/lib/libvorbis.a ../build/contrib/lib/libvorbisenc.a ../build/contrib/lib/libx264.a -framework Cocoa -framework Quartz -framework QTKit -framework OpenGL -framework AudioToolbox -framework IOKit -framework Growl -framework Sparkle -lhb -liconv -lbz2 -lz -o ../build/HandBrake.app/Contents/MacOS/HandBrake

i686-apple-darwin10-g++-4.2.1: ../build/contrib/lib/libavcodec.a: No such file or directory
i686-apple-darwin10-g++-4.2.1: ../build/contrib/lib/libavformat.a: No such file or directory
i686-apple-darwin10-g++-4.2.1: ../build/contrib/lib/libavutil.a: No such file or directory
i686-apple-darwin10-g++-4.2.1: ../build/contrib/lib/libswscale.a: No such file or directory
i686-apple-darwin10-g++-4.2.1: ../build/contrib/lib/libtheora.a: No such file or directory
i686-apple-darwin10-g++-4.2.1: ../build/contrib/lib/libx264.a: No such file or directory
Command /Developer/usr/bin/g++-4.2 failed with exit code 1
Command /Developer/usr/bin/g++-4.2 failed with exit code 1


Any help that points us in the right direction will be greatly appreciated. We do understand THIS IS UNSUPPORTED, but we want to give it a try.
gusmau
 
Posts: 8
Joined: Thu Jul 16, 2009 3:51 pm

 

Re: Snow Leopard compilation problem

Postby JohnAStebbins » Thu Jul 16, 2009 4:44 pm

It looks like you're compiling with multiple threads which jumbles up the output a lot. Try "./configure --launch-jobs=1 --launch". Then it may be clearer exactly where the error is.

This looks suspicious, though I have no idea what it means or who is generating it:
Code: Select all
{standard input}:9468:suffix or operands invalid for `add'
{standard input}:9480:suffix or operands invalid for `add'
{standard input}:9745:suffix or operands invalid for `add'
{standard input}:9757:suffix or operands invalid for `add'


Only thing that comes to mind is that gcc is barfing on some inline assembly. But I don't know why it says the file is {stdard input}
JohnAStebbins
Developer
 
Posts: 899
Joined: Sat Feb 09, 2008 8:21 pm

Re: Snow Leopard compilation problem

Postby gusmau » Thu Jul 16, 2009 11:13 pm

John, thanks for your suggestion. Did try, but no different. This seems to be the problem:
Code: Select all
  : /Developer/usr/bin/gcc -DHAVE_AV_CONFIG_H -I. -I"/Users/gustavo/hb-trunk/build/contrib/ffmpeg/ffmpeg-r19067" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -I/Users/gustavo/hb-trunk/build/contrib/include -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pipe -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno        -c -o libavcodec/h264.o libavcodec/h264.c
  : In file included from libavcodec/h264.c:42:
  : libavcodec/x86/h264_i386.h: In function ‘decode_significance_x86’:
  : libavcodec/x86/h264_i386.h:41: warning: cast from pointer to integer of different size
  : libavcodec/x86/h264_i386.h:42: warning: cast from pointer to integer of different size
  : libavcodec/x86/h264_i386.h: In function ‘decode_significance_8x8_x86’:
  : libavcodec/x86/h264_i386.h:94: warning: cast from pointer to integer of different size
  : libavcodec/h264.c: In function ‘pred_direct_motion’:
  : libavcodec/h264.c:1048: warning: assignment from incompatible pointer type
  : libavcodec/h264.c:1049: warning: assignment from incompatible pointer type
  : libavcodec/h264.c: In function ‘filter_mb_dir’:
  : libavcodec/h264.c:6344: warning: initialization from incompatible pointer type
  : libavcodec/h264.c:6345: warning: initialization from incompatible pointer type
  : In file included from libavcodec/h264.c:8166:
  : libavcodec/svq3.c: In function ‘svq3_decode_slice_header’:
  : libavcodec/svq3.c:721: warning: cast discards qualifiers from pointer target type
  : libavcodec/svq3.c:724: warning: cast discards qualifiers from pointer target type
  : libavcodec/svq3.c:724: warning: cast discards qualifiers from pointer target type
  : libavcodec/svq3.c:724: warning: cast discards qualifiers from pointer target type
  : libavcodec/svq3.c:724: warning: cast discards qualifiers from pointer target type
  : {standard input}:9468:suffix or operands invalid for `add'
  : {standard input}:9480:suffix or operands invalid for `add'
  : {standard input}:9745:suffix or operands invalid for `add'
  : {standard input}:9757:suffix or operands invalid for `add'
  : make[2]: *** [libavcodec/h264.o] Error 1
  : make[1]: *** [contrib/ffmpeg/.stamp.build] Error 2
  : Command /bin/sh failed with exit code 2
  : Command /bin/sh failed with exit code 2

Any other ideas?
gusmau
 
Posts: 8
Joined: Thu Jul 16, 2009 3:51 pm

Re: Snow Leopard compilation problem

Postby RazorD » Wed Aug 05, 2009 1:57 pm

I figured i'd give this a go as the existing binary release crashed on opening a file on Snow Leopard, but get the same errors. I'm guessing this is a gcc 4.2 issue compared to 4.0 (like the docs say is required)
RazorD
 
Posts: 1
Joined: Wed Aug 05, 2009 1:54 pm

Re: Snow Leopard compilation problem

Postby gusmau » Fri Aug 21, 2009 1:37 pm

Thanks to RazorD comments, we finally figured out how to compile in Snow Leopard. Indeed the issues related to ffmpeg and h264.c are related to differences between gcc 4.2 and gcc 4.0. Fortunately, the new set of Mac Development tools bring both, so a little bash script is needed before attempting to compile. Here is our code:
Code: Select all
sudo rm /Developer/usr/bin/g++
sudo rm /Developer/usr/bin/gcc
sudo rm /Developer/usr/bin/gcov
sudo ln -s /Developer/usr/bin/g++-4.0  /Developer/usr/bin/g++ 
sudo ln -s /Developer/usr/bin/gcc-4.0  /Developer/usr/bin/gcc
sudo ln -s /Developer/usr/bin/gcov-4.0 /Developer/usr/bin/gcov 
ls -la /Developer/usr/bin/g*

After this, the usual svn co; ./configure and make will flawlessly compile under RC of Snow Leopard. Please remember to use yasm 0.8.0.2194, compiled from source code with gcc 4.2.
After building, you can restore the default versions of compilers using the following bash script:
Code: Select all
sudo rm /Developer/usr/bin/g++
sudo rm /Developer/usr/bin/gcc
sudo rm /Developer/usr/bin/gcov
sudo ln -s /Developer/usr/bin/g++-4.2  /Developer/usr/bin/g++ 
sudo ln -s /Developer/usr/bin/gcc-4.2  /Developer/usr/bin/gcc
sudo ln -s /Developer/usr/bin/gcov-4.2 /Developer/usr/bin/gcov 
ls -la /Developer/usr/bin/g*

We have tested the build with a few of our films and it works pretty well. No scientific measurement has been made, but the impression is that there is a good performance improvement (maybe between 5% and 10%).
Thanks to all of you that pointed us in the right direction.
gusmau
 
Posts: 8
Joined: Thu Jul 16, 2009 3:51 pm

Re: Snow Leopard compilation problem

Postby s55 » Fri Aug 21, 2009 1:48 pm

Using GCC 4.2 does increase performance. As will building the 64 bit built. Overall, 5~15% is in around the ballpark that we've seen.
s55
Developer
 
Posts: 3957
Joined: Sun Dec 24, 2006 2:05 pm

Re: Snow Leopard compilation problem

Postby gusmau » Mon Aug 24, 2009 6:33 pm

S55, thanks. Do you care to tell me how to fully compile with gcc 4.2? We weren't able to make ffmpeg work.
gusmau
 
Posts: 8
Joined: Thu Jul 16, 2009 3:51 pm

Re: Snow Leopard compilation problem

Postby s55 » Mon Aug 24, 2009 7:03 pm

./configure --gcc=gcc-4.2 --launch
Nothing fancy needed.
seems to work just fine on leopard.


Edit: Just checked, it's now broken for whatever reason. This worked just a few weeks ago when I was doing performance charts. I guess you'll have to use 4.0 until some of us get snowleopard to test it and figure out the cause.
s55
Developer
 
Posts: 3957
Joined: Sun Dec 24, 2006 2:05 pm

Re: Snow Leopard compilation problem

Postby jann » Thu Aug 27, 2009 7:21 am

s55 wrote:./configure --gcc=gcc-4.2 --launch
Nothing fancy needed.
seems to work just fine on leopard.


Edit: Just checked, it's now broken for whatever reason. This worked just a few weeks ago when I was doing performance charts. I guess you'll have to use 4.0 until some of us get snowleopard to test it and figure out the cause.



arghh
Code: Select all
  : ** BUILD FAILED **
  :
  :
  : The following build commands failed:
  : external:
  :    ExternalBuildToolExecution external
  : HandBrakeCLI:
  :    Ld ../build/HandBrakeCLI normal i386
  : HandBrake:
  :    Preprocess /Users/jlinder/Documents/Projects/Handbrake/HandBrakeSVN/macosx/../build/macosx/HandBrake.build/Preprocessed-Info.plist Info.plist
  :    Ld ../build/HandBrake.app/Contents/MacOS/HandBrake normal i386
  : (4 failures)
  :
  : make: *** [macosx.build] Error 1


oh well, guess I have to wait to see if it can get fixed soon.
jann
 
Posts: 4
Joined: Thu Aug 27, 2009 5:27 am
Location: San Jose, CA

Re: Snow Leopard compilation problem

Postby lego » Wed Sep 02, 2009 2:14 am

Hi

It seemes like it is within this function that the problem exist, or more exact the lines that look like this,
"add %1, %%"REG_c" \n\t"
which is translated to this,
add %rdi, %ecx

I do not know what the appropriate fix is.. maybe someone with better assembler skills can have a look at it.

Code: Select all
build/contrib/ffmpeg/ffmpeg-r19067/libavcodec/x86/h264_i386.h:

static int decode_significance_x86(CABACContext *c, int max_coeff,
                                   uint8_t *significant_coeff_ctx_base,
                                   int *index){
    void *end= significant_coeff_ctx_base + max_coeff - 1;
    int minusstart= -(int)significant_coeff_ctx_base;
    int minusindex= 4-(int)index;
    int coeff_count;
    __asm__ volatile(
        "movl "RANGE    "(%3), %%esi            \n\t"
        "movl "LOW      "(%3), %%ebx            \n\t"

        "2:                                     \n\t"

        BRANCHLESS_GET_CABAC("%%edx", "%3", "(%1)", "%%ebx",
                             "%%bx", "%%esi", "%%eax", "%%al")

        "test $1, %%edx                         \n\t"
        " jz 3f                                 \n\t"

        BRANCHLESS_GET_CABAC("%%edx", "%3", "61(%1)", "%%ebx",
                             "%%bx", "%%esi", "%%eax", "%%al")

        "mov  %2, %%"REG_a"                     \n\t"
        "movl %4, %%ecx                         \n\t"
        "add  %1, %%"REG_c"                     \n\t"
        "movl %%ecx, (%%"REG_a")                \n\t"

        "test $1, %%edx                         \n\t"
        " jnz 4f                                \n\t"

        "add  $4, %%"REG_a"                     \n\t"
        "mov  %%"REG_a", %2                     \n\t"

        "3:                                     \n\t"
        "add  $1, %1                            \n\t"
        "cmp  %5, %1                            \n\t"
        " jb 2b                                 \n\t"
        "mov  %2, %%"REG_a"                     \n\t"
        "movl %4, %%ecx                         \n\t"
        "add  %1, %%"REG_c"                     \n\t"
        "movl %%ecx, (%%"REG_a")                \n\t"
        "4:                                     \n\t"
        "add  %6, %%eax                         \n\t"
        "shr $2, %%eax                          \n\t"

        "movl %%esi, "RANGE    "(%3)            \n\t"
        "movl %%ebx, "LOW      "(%3)            \n\t"
        :"=&a"(coeff_count), "+r"(significant_coeff_ctx_base), "+m"(index)
        :"r"(c), "m"(minusstart), "m"(end), "m"(minusindex)
        : "%"REG_c, "%ebx", "%edx", "%esi", "memory"
    );
    return coeff_count;
}
lego
 
Posts: 3
Joined: Wed Sep 02, 2009 12:09 am

Re: Snow Leopard compilation problem

Postby JohnAStebbins » Wed Sep 02, 2009 4:20 am

You might want to try the patch I posted here viewtopic.php?f=4&t=12115
JohnAStebbins
Developer
 
Posts: 899
Joined: Sat Feb 09, 2008 8:21 pm

Re: Snow Leopard compilation problem

Postby lego » Fri Sep 04, 2009 8:09 pm

I have now successfully compiled handbrake, i used the patch suggested in previous post ( I do not know if it gave a difference though)

What i also did was to change to use --arch=x86_64 as argument to configure.

This is turn was depending on a having a fftw lib in 64 bit, so I uninstalled macports which had installed a 32 bit version and downloaded the source to fftw. Maybe not the only solution but it did work...

I just ran:
curl http://www.fftw.org/fftw-3.2.2.tar.gz > fftw-3.2.2.tar.gz
tar zxvf fftw-3.2.2.tar.gz
cd fftw-3.2.2
./configure --with-gcc-arch=x86_64
make
Beware that it will install itself under /usr/local/lib, and macports keeps its copy in /opt/local/lib
sudo make install

After this handbrake compiled successfully with the --arch=x86_64 argument to configure.
lego
 
Posts: 3
Joined: Wed Sep 02, 2009 12:09 am

Re: Snow Leopard compilation problem

Postby jbjoret » Sun Sep 06, 2009 10:42 am

What did you need fftw for ? I just had to recompile yasm with GCC 4.2 and then compile Handbrake using ./configure --arch=x86_64 first. It builds and works successfully. Somehow I have a very strong feeling that parsing files (about 20 GB m2ts) is 3-5 times slower than the 32Bits version). I will build a 32 Bits version and compare with the same file after a fresh reboot between both.
User avatar
jbjoret
 
Posts: 76
Joined: Sat Feb 16, 2008 1:08 pm

Re: Snow Leopard compilation problem

Postby lego » Mon Sep 07, 2009 9:08 pm

Ok, there is no need to have fftw but it is used if you have it by the tests to libsamplerate, since I had a 32bit version (which macports downloaded) it didn't link when I tried to compile everything in 64bit.

I should have checked in the source but it was a bit faster to just solve the link issue.. so if anyone else gets into the same issue they could solve it by not allowing libsamplerate to find fftw as well.
lego
 
Posts: 3
Joined: Wed Sep 02, 2009 12:09 am


Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest