Opened 3 years ago

Last modified 2 years ago

#63759 new defect

avidemux tries to build partially for x86_64 on Apple Silicon

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: arm64 Cc: cooljeanius (Eric Gallager)
Port: avidemux

Description

On an Apple Slicon Mac, avidemux tries to build parts of itself for x86_64 despite not being asked to do so, and it fails:

https://build.macports.org/builders/ports-11_arm64-builder/builds/32282/steps/install-port/logs/stdio

ld: warning: ignoring file ../../ffmpeg/build/libavutil/libADM6avutil.56.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
Undefined symbols for architecture x86_64:
  "_av_set_cpu_flags_mask", referenced from:
      CpuCaps::setMask(unsigned int) in ADM_cpuCap.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Change History (1)

comment:1 Changed 2 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.