Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#18470 closed defect (invalid)

x264@20090129 fails to link

Reported by: steven@… Owned by: acho@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: martin@…, lemuelf@…, bianying@…
Port: x264

Description (last modified by mf2k (Frank Schima))

[Users/steven] > upgrade x264
--->  Building x264
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 -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 (13)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to acho@…
Priority: HighNormal

comment:2 Changed 15 years ago by martin@…

Cc: martin@… added

Cc Me!

comment:3 Changed 15 years ago by lemuelf@…

Cc: lemuelf@… added

Cc Me!

comment:4 Changed 15 years ago by bianying@…

Cc: bianying@… added

Cc Me!

comment:5 Changed 15 years ago by steven@…

Hi all,

Is there any progress for this ticket?

Thanks

comment:6 Changed 15 years ago by bianying@…

This problem disappeared after upgrading XCode to 3.1.2.

comment:7 Changed 15 years ago by mf2k (Frank Schima)

@steven: Please confirm if updating to Xcode 3.1.2 solves the problem for you so we can close this ticket.

comment:8 Changed 15 years ago by steven@…

I will try to upgrade my XCode (still having v3.0 it seems), but it's not normal that it fails to compile anyway right? I'll post the answer as soon as I have more information.

comment:9 Changed 15 years ago by mf2k (Frank Schima)

It compiles fine for me with Xcode 3.1.2. I think this is problem with Xcode 3.0 only.

comment:10 Changed 15 years ago by steven@…

It compiles fine with XCode 3.1.2 yes. Still weird that 3.0 doesn't want to compile it.

comment:11 Changed 15 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

comment:12 Changed 15 years ago by dbevans (David B. Evans)

See #17993 for explanation of XCode 3.0 linker bug

comment:13 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.