[x264-devel] x86_64 ld error

Norman Macintyre normanmacintyre at aim.com
Thu May 2 11:00:59 CEST 2013


x264 fails to build on Mac OS X 10.6.x, 10.7.x and 10.8.x due to a ld error.

gcc -o libx264.132.dylib  common/mc.o common/predict.o common/pixel.o common/macroblock.o common/frame.o common/dct.o common/cpu.o common/cabac.o common/common.o common/osdep.o common/rectangle.o common/set.o common/quant.o common/deblock.o common/vlc.o common/mvpred.o common/bitstream.o encoder/analyse.o encoder/me.o encoder/ratecontrol.o encoder/set.o encoder/macroblock.o encoder/cabac.o encoder/cavlc.o encoder/encoder.o encoder/lookahead.o common/threadpool.o common/x86/mc-c.o common/x86/predict-c.o common/x86/const-a.o common/x86/cabac-a.o common/x86/dct-a.o common/x86/deblock-a.o common/x86/mc-a.o common/x86/mc-a2.o common/x86/pixel-a.o common/x86/predict-a.o common/x86/quant-a.o common/x86/cpu-a.o common/x86/dct-64.o common/x86/bitstream-a.o common/x86/sad-a.o common/x86/trellis-64.o   -shared -dynamiclib -Wl,-single_module -Wl,-read_only_relocs,suppress -install_name /opt/lib/libx264.132.dylib  -m64  -lm -arch x86_64 -lpthread
ld: warning: -read_only_relocs cannot be used with x86_64
ld: illegal text-relocation to _x264_coeff_last16_sse2 in common/x86/quant-a.o from l004 in common/x86/cabac-a.o for architecture x86_64
collect2: ld returned 1 exit status
make: *** [libx264.132.dylib] Error 1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20130502/0be48b2e/attachment.html>


More information about the x264-devel mailing list