• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Absolute addressing in a function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Absolute addressing in a function


  • Subject: Absolute addressing in a function
  • From: Steve Checkoway <email@hidden>
  • Date: Sat, 27 Oct 2007 13:38:07 -0700

I just tried to recompile some code that I have never modified but have built any number of times in the past from ffmpeg. Here's the build transcript:

CompileC build/Libraries.build/./ffmpeg-i386.build/Objects-normal/i386/ motion_est_mmx.o /Users/steve/programming/stepmania/PBProject/ Libraries/ffmpeg-r8448/libavcodec/i386/motion_est_mmx.c normal i386 c com.apple.compilers.gcc.4_0
cd /Users/steve/programming/stepmania/PBProject/Libraries
/Developer/usr/bin/gcc-4.0 -x c -arch i386 -pipe -Wno-trigraphs - fpascal-strings -fasm-blocks -Os -Dattribute_deprecated= -fmessage- length=0 -ffast-math -fstrict-aliasing -mmacosx-version-min=10.4 -I/ Users/steve/programming/stepmania/PBProject/Libraries/build/ Libraries.build/./ffmpeg-i386.build/ffmpeg-i386.hmap -Wmost -F/Users/ steve/programming/stepmania/PBProject/Libraries/build -F/Users/steve/ programming/stepmania/PBProject/Libraries/build -I/Users/steve/ programming/stepmania/PBProject/Libraries/build/include -I/Users/steve/ programming/stepmania/PBProject/Libraries/ffmpeg-r8448/libavutil -I/ Users/steve/programming/stepmania/PBProject/Libraries/ffmpeg-r8448/ libswscale -I/Users/steve/programming/stepmania/PBProject/Libraries/ ffmpeg-r8448/libavcodec -I/Users/steve/programming/stepmania/PBProject/ Libraries/ffmpeg-r8448 -I/Users/steve/programming/stepmania/PBProject/ Libraries/build/Libraries.build/./ffmpeg-i386.build/DerivedSources - DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -no-cpp-precomp - force_cpusubtype_ALL -D_LARGEFILE_SOURCE -D_GNU_SOURCE -fPIC - isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /Users/steve/programming/ stepmania/PBProject/Libraries/ffmpeg-r8448/libavcodec/i386/ motion_est_mmx.c -o /Users/steve/programming/stepmania/PBProject/ Libraries/build/Libraries.build/./ffmpeg-i386.build/Objects-normal/ i386/motion_est_mmx.o


Ld /Users/steve/programming/stepmania/PBProject/Libraries/build/./ ffmpeg-i386.framework/Versions/A/ffmpeg-i386 normal i386
cd /Users/steve/programming/stepmania/PBProject/Libraries
/Developer/usr/bin/gcc-4.0 -o /Users/steve/programming/stepmania/ PBProject/Libraries/build/./ffmpeg-i386.framework/Versions/A/ffmpeg- i386 -L/Users/steve/programming/stepmania/PBProject/Libraries/build -F/ Users/steve/programming/stepmania/PBProject/Libraries/build -F/Users/ steve/programming/stepmania/PBProject/Libraries/build -filelist /Users/ steve/programming/stepmania/PBProject/Libraries/build/ Libraries.build/./ffmpeg-i386.build/Objects-normal/i386/ffmpeg- i386.LinkFileList -lz -arch i386 -Wl,-single_module - compatibility_version 1 -current_version 1 -install_name @executable_path/../Frameworks/ffmpeg-i386.framework/Versions/A/ffmpeg- i386 -dynamiclib -mmacosx-version-min=10.4 -seg1addr 0x2F600000 -Wl,- search_paths_first -Wl,-read_only_relocs,suppress -isysroot /Developer/ SDKs/MacOSX10.4u.sdk
ld: absolute addressing (perhaps -mdynamic-no-pic) used in _sad8_xy2_mmx2 from /Users/steve/programming/stepmania/PBProject/ Libraries/build/Libraries.build/./ffmpeg-i386.build/Objects-normal/ i386/motion_est_mmx.o not allowed in slidable image
collect2: ld returned 1 exit status


I've never seen that error message before and I see nothing in the source file that would indicate something was different. That particular function sad8_xy2_mmx2 comes from a macro that expands to several similar functions. The file in question is <http://svn.mplayerhq.hu/ffmpeg/trunk/libavcodec/i386/motion_est_mmx.c?revision=7044&view=markup > and the macro is near the bottom.

I'm at a loss for how to proceed.

--
Steve Checkoway



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: xcodebuild tool excruciatingly slow
  • Next by Date: CVS issue with Xcode 3
  • Previous by thread: Re: xcodebuild tool excruciatingly slow
  • Next by thread: CVS issue with Xcode 3
  • Index(es):
    • Date
    • Thread