[MacPorts] #63008: libpng +universal build fails with "Undefined symbols for architecture arm64"

MacPorts noreply at macports.org
Mon May 31 20:06:11 UTC 2021


#63008: libpng +universal build fails with "Undefined symbols for architecture
arm64"
--------------------------+--------------------
 Reporter:  ShadSterling  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.7.1
 Keywords:                |       Port:  libpng
--------------------------+--------------------
 Running macOS 11.2.3 on intel (`Darwin Kernel Version 20.3.0: Thu Jan 21
 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64`, `MacBookPro16,4`)

 {{{
 :info:build libtool: link: /usr/bin/clang -dynamiclib  -o
 .libs/libpng16.16.dylib  .libs/png.o .libs/pngerror.o .libs/pngget.o
 .libs/pngmem.o .libs/pngpread.o .libs/pngread.o .libs/pngrio.o
 .libs/pngrtran.o .libs/pngrutil.o .libs/pngset.o .libs/pngtrans.o
 .libs/pngwio.o .libs/pngwrite.o .libs/pngwtran.o .libs/pngwutil.o
 mips/.libs/mips_init.o mips/.libs/filter_msa_intrinsics.o
 intel/.libs/intel_init.o intel/.libs/filter_sse2_intrinsics.o
 powerpc/.libs/powerpc_init.o powerpc/.libs/filter_vsx_intrinsics.o
 -L/opt/local/lib -lz  -Os -arch arm64 -arch x86_64
 -Wl,-headerpad_max_install_names -Wl,-syslibroot
 -Wl,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk
 -arch arm64 -arch x86_64   -install_name  /opt/local/lib/libpng16.16.dylib
 -compatibility_version 54 -current_version 54.0 -Wl,-single_module
 -Wl,-exported_symbols_list,.libs/libpng16-symbols.expsym
 :info:build Undefined symbols for architecture arm64:
 :info:build   "_png_do_expand_palette_rgb8_neon", referenced from:
 :info:build       _png_do_read_transformations in pngrtran.o
 :info:build   "_png_do_expand_palette_rgba8_neon", referenced from:
 :info:build       _png_do_read_transformations in pngrtran.o
 :info:build   "_png_init_filter_functions_neon", referenced from:
 :info:build       _png_read_filter_row in pngrutil.o
 :info:build   "_png_riffle_palette_neon", referenced from:
 :info:build       _png_do_read_transformations in pngrtran.o
 :info:build ld: symbol(s) not found for architecture arm64
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63008>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list