#47406: libvpx: Xcode 6.3 compiler failure ---------------------+---------------------- Reporter: blair@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: libvpx ---------------------+---------------------- I successfully built libvpx on Yosemite yesterday and rebuilt it today after upgrading to Xcode 6.3, it fails with this error: {{{ /usr/bin/clang -S -pipe -Os -arch x86_64 -m64 -arch x86_64 -O3 -fPIC -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wvla -Wimplicit-function-declaration -Wuninitialized -Wunused-variable -fno-strict-aliasing -Wno-unused- function -I. -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libvpx/libvpx/work/libvpx-v1.3.0" -DINLINE_ASM -o vp8/encoder/vp8_asm_enc_offsets.c.S vp8/encoder/vp8_asm_enc_offsets.c vp8/encoder/vp8_asm_enc_offsets.c:23:1: error: unexpected token in argument list DEFINE(vp8_block_coeff, offsetof(BLOCK, coeff)); ^ ./vpx_ports/asm_offsets.h:22:35: note: expanded from macro 'DEFINE' #define DEFINE(sym, val) asm("\n" #sym " EQU %0" : : "i" (val)) ^ <scratch space>:68:2: note: expanded from here "vp8_block_coeff" ^ <inline asm>:2:21: note: instantiated into assembly here vp8_block_coeff EQU $8 ^ vp8/encoder/vp8_asm_enc_offsets.c:24:1: error: unexpected token in argument list DEFINE(vp8_block_zbin, offsetof(BLOCK, zbin)); ^ ./vpx_ports/asm_offsets.h:22:35: note: expanded from macro 'DEFINE' #define DEFINE(sym, val) asm("\n" #sym " EQU %0" : : "i" (val)) ^ <scratch space>:69:2: note: expanded from here "vp8_block_zbin" ^ <inline asm>:2:20: note: instantiated into assembly here vp8_block_zbin EQU $40 ^ vp8/encoder/vp8_asm_enc_offsets.c:25:1: error: unexpected token in argument list DEFINE(vp8_block_round, offsetof(BLOCK, round)); ^ ./vpx_ports/asm_offsets.h:22:35: note: expanded from macro 'DEFINE' #define DEFINE(sym, val) asm("\n" #sym " EQU %0" : : "i" (val)) ^ <scratch space>:70:2: note: expanded from here "vp8_block_round" ^ <inline asm>:2:21: note: instantiated into assembly here vp8_block_round EQU $56 ^ vp8/encoder/vp8_asm_enc_offsets.c:26:1: error: unexpected token in argument list DEFINE(vp8_block_quant, offsetof(BLOCK, quant)); ^ ./vpx_ports/asm_offsets.h:22:35: note: expanded from macro 'DEFINE' #define DEFINE(sym, val) asm("\n" #sym " EQU %0" : : "i" (val)) ^ }}} -- Ticket URL: <https://trac.macports.org/ticket/47406> MacPorts <https://www.macports.org/> Ports system for OS X