Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#18663 closed defect (duplicate)

x264 20090129 compile error

Reported by: daniel.pernold@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: compile error Cc:
Port: x264

Description

Following error occurs while compiling x264 without special configuration.

Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_x264/work/x264-snapshot-20090129-2245" && make default " returned error 2
Command output: /usr/bin/gcc-4.0 -O4 -ffast-math -O2 -fno-common -read_only_relocs suppress -Wall -I. -falign-loops=16 -DHAVE_MMX -DARCH_X86 -DSYS_MACOSX -DHAVE_PTHREAD -fPIC -s -fomit-frame-pointer   -c -o encoder/analyse.o encoder/analyse.c
/usr/bin/gcc-4.0 -O4 -ffast-math -O2 -fno-common -read_only_relocs suppress -Wall -I. -falign-loops=16 -DHAVE_MMX -DARCH_X86 -DSYS_MACOSX -DHAVE_PTHREAD -fPIC -s -fomit-frame-pointer   -c -o encoder/me.o encoder/me.c
/usr/bin/gcc-4.0 -O4 -ffast-math -O2 -fno-common -read_only_relocs suppress -Wall -I. -falign-loops=16 -DHAVE_MMX -DARCH_X86 -DSYS_MACOSX -DHAVE_PTHREAD -fPIC -s -fomit-frame-pointer   -c -o encoder/ratecontrol.o encoder/ratecontrol.c
/usr/bin/gcc-4.0 -O4 -ffast-math -O2 -fno-common -read_only_relocs suppress -Wall -I. -falign-loops=16 -DHAVE_MMX -DARCH_X86 -DSYS_MACOSX -DHAVE_PTHREAD -fPIC -s -fomit-frame-pointer   -c -o encoder/set.o encoder/set.c
/usr/bin/gcc-4.0 -O4 -ffast-math -O2 -fno-common -read_only_relocs suppress -Wall -I. -falign-loops=16 -DHAVE_MMX -DARCH_X86 -DSYS_MACOSX -DHAVE_PTHREAD -fPIC -s -fomit-frame-pointer   -c -o encoder/macroblock.o encoder/macroblock.c
encoder/macroblock.c: In function 'x264_macroblock_probe_skip':
encoder/macroblock.c:745: warning: 'mvp[0]' may be used uninitialized in this function
encoder/macroblock.c:745: warning: 'mvp[1]' may be used uninitialized in this function
/usr/bin/gcc-4.0 -O4 -ffast-math -O2 -fno-common -read_only_relocs suppress -Wall -I. -falign-loops=16 -DHAVE_MMX -DARCH_X86 -DSYS_MACOSX -DHAVE_PTHREAD -fPIC -s -fomit-frame-pointer   -c -o encoder/cabac.o encoder/cabac.c
/usr/bin/gcc-4.0 -O4 -ffast-math -O2 -fno-common -read_only_relocs suppress -Wall -I. -falign-loops=16 -DHAVE_MMX -DARCH_X86 -DSYS_MACOSX -DHAVE_PTHREAD -fPIC -s -fomit-frame-pointer   -c -o encoder/cavlc.o encoder/cavlc.c
/usr/bin/gcc-4.0 -O4 -ffast-math -O2 -fno-common -read_only_relocs suppress -Wall -I. -falign-loops=16 -DHAVE_MMX -DARCH_X86 -DSYS_MACOSX -DHAVE_PTHREAD -fPIC -s -fomit-frame-pointer   -c -o encoder/encoder.o encoder/encoder.c
/usr/bin/gcc-4.0 -O4 -ffast-math -O2 -fno-common -read_only_relocs suppress -Wall -I. -falign-loops=16 -DHAVE_MMX -DARCH_X86 -DSYS_MACOSX -DHAVE_PTHREAD -fPIC -s -fomit-frame-pointer   -c -o common/x86/mc-c.o common/x86/mc-c.c
/usr/bin/gcc-4.0 -O4 -ffast-math -O2 -fno-common -read_only_relocs suppress -Wall -I. -falign-loops=16 -DHAVE_MMX -DARCH_X86 -DSYS_MACOSX -DHAVE_PTHREAD -fPIC -s -fomit-frame-pointer   -c -o common/x86/predict-c.o common/x86/predict-c.c
yasm -O2 -f macho -DPREFIX -DPIC -Icommon/x86/ -o common/x86/cabac-a.o common/x86/cabac-a.asm
yasm -O2 -f macho -DPREFIX -DPIC -Icommon/x86/ -o common/x86/dct-a.o common/x86/dct-a.asm
yasm -O2 -f macho -DPREFIX -DPIC -Icommon/x86/ -o common/x86/deblock-a.o common/x86/deblock-a.asm
yasm -O2 -f macho -DPREFIX -DPIC -Icommon/x86/ -o common/x86/mc-a.o common/x86/mc-a.asm
yasm -O2 -f macho -DPREFIX -DPIC -Icommon/x86/ -o common/x86/mc-a2.o common/x86/mc-a2.asm
yasm -O2 -f macho -DPREFIX -DPIC -Icommon/x86/ -o common/x86/pixel-a.o common/x86/pixel-a.asm
yasm -O2 -f macho -DPREFIX -DPIC -Icommon/x86/ -o common/x86/predict-a.o common/x86/predict-a.asm
yasm -O2 -f macho -DPREFIX -DPIC -Icommon/x86/ -o common/x86/quant-a.o common/x86/quant-a.asm
yasm -O2 -f macho -DPREFIX -DPIC -Icommon/x86/ -o common/x86/sad-a.o common/x86/sad-a.asm
yasm -O2 -f macho -DPREFIX -DPIC -Icommon/x86/ -o common/x86/cpu-a.o common/x86/cpu-a.asm
yasm -O2 -f macho -DPREFIX -DPIC -Icommon/x86/ -o common/x86/dct-32.o common/x86/dct-32.asm
yasm -O2 -f macho -DPREFIX -DPIC -Icommon/x86/ -o common/x86/pixel-32.o common/x86/pixel-32.asm
/usr/bin/gcc-4.0 -shared -o libx264.66.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/mdate.o common/set.o common/quant.o common/vlc.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 common/x86/mc-c.o common/x86/predict-c.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/sad-a.o common/x86/cpu-a.o common/x86/dct-32.o common/x86/pixel-32.o -dynamiclib -Wl,-single_module -Wl,-read_only_relocs,suppress -install_name /opt/local/lib/libx264.66.dylib -L/opt/local/lib -lm -lmx -lpthread -s
ld64: warning: option -s is obsolete and being ignored
ld: absolute addressing (perhaps -mdynamic-no-pic) used in _x264_cabac_encode_decision_asm from common/x86/cabac-a.o not allowed in slidable image
collect2: ld returned 1 exit status
make: *** [libx264.66.dylib] Error 1

Change History (2)

comment:1 Changed 16 years ago by dbevans (David B. Evans)

Keywords: x264 removed
Resolution: duplicate
Status: newclosed

This is a duplicate of #18470. You need to upgrade XCode from version 3.0 to version 3.1.2.

comment:2 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.