===> Building for libretro-vecx-20200517
clang -pipe -Os -DGIT_VERSION=\"-pkgsrc\" -O2 -DNDEBUG -D__LIBRETRO__ -DHAVE_STRINGS_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H  -DINLINE=inline -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -mmacosx-version-min=10.1 -DFRONTEND_SUPPORTS_RGB565 -arch i386 -arch x86_64 -I. -I./libretro-common/include -c -oe6809.o e6809.c
clang -pipe -Os -DGIT_VERSION=\"-pkgsrc\" -O2 -DNDEBUG -D__LIBRETRO__ -DHAVE_STRINGS_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H  -DINLINE=inline -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -mmacosx-version-min=10.1 -DFRONTEND_SUPPORTS_RGB565 -arch i386 -arch x86_64 -I. -I./libretro-common/include -c -oe8910.o e8910.c
e8910.c:151:9: warning: comparison of array 'snd_regs' equal to a null pointer is always false [-Wtautological-pointer-compare]
    if (snd_regs == NULL)
        ^~~~~~~~    ~~~~
1 warning generated.
e8910.c:151:9: warning: comparison of array 'snd_regs' equal to a null pointer is always false [-Wtautological-pointer-compare]
    if (snd_regs == NULL)
        ^~~~~~~~    ~~~~
1 warning generated.
clang -pipe -Os -DGIT_VERSION=\"-pkgsrc\" -O2 -DNDEBUG -D__LIBRETRO__ -DHAVE_STRINGS_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H  -DINLINE=inline -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -mmacosx-version-min=10.1 -DFRONTEND_SUPPORTS_RGB565 -arch i386 -arch x86_64 -I. -I./libretro-common/include -c -olibretro.o libretro.c
libretro.c:342:12: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value]
  int dx = abs(x1-x0), sx = x0<x1 ? 1 : -1;
           ^
libretro.c:342:12: note: remove the call to 'abs' since unsigned values cannot be negative
  int dx = abs(x1-x0), sx = x0<x1 ? 1 : -1;
           ^~~
libretro.c:343:12: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value]
  int dy = abs(y1-y0), sy = y0<y1 ? 1 : -1; 
           ^
libretro.c:343:12: note: remove the call to 'abs' since unsigned values cannot be negative
  int dy = abs(y1-y0), sy = y0<y1 ? 1 : -1; 
           ^~~
2 warnings generated.
libretro.c:342:12: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value]
  int dx = abs(x1-x0), sx = x0<x1 ? 1 : -1;
           ^
libretro.c:342:12: note: remove the call to 'abs' since unsigned values cannot be negative
  int dx = abs(x1-x0), sx = x0<x1 ? 1 : -1;
           ^~~
libretro.c:343:12: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value]
  int dy = abs(y1-y0), sy = y0<y1 ? 1 : -1; 
           ^
libretro.c:343:12: note: remove the call to 'abs' since unsigned values cannot be negative
  int dy = abs(y1-y0), sy = y0<y1 ? 1 : -1; 
           ^~~
2 warnings generated.
clang -pipe -Os -DGIT_VERSION=\"-pkgsrc\" -O2 -DNDEBUG -D__LIBRETRO__ -DHAVE_STRINGS_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H  -DINLINE=inline -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-uninitialized -fPIC -mmacosx-version-min=10.1 -DFRONTEND_SUPPORTS_RGB565 -arch i386 -arch x86_64 -I. -I./libretro-common/include -c -ovecx.o vecx.c
clang -o vecx_libretro.dylib -fPIC -mmacosx-version-min=10.1 -dynamiclib ./e6809.o ./e8910.o ./libretro.o ./vecx.o -L/opt/pkg/lib  -arch i386 -arch x86_64 
ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)
ld: warning: ignoring file /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/lib/dylib1.o, building for macOS-i386 but attempting to link with file built for unknown-x86_64
ld: warning: ignoring file /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/lib/libSystem.tbd (3 slices)
Undefined symbols for architecture i386:
  "_atof", referenced from:
      _check_variables in libretro.o
  "_calloc", referenced from:
      _retro_set_environment in libretro.o
  "_free", referenced from:
      _retro_set_environment in libretro.o
  "_memcpy", referenced from:
      _retro_load_game in libretro.o
      _vecx_serialize in vecx.o
      _vecx_deserialize in vecx.o
  "_memset", referenced from:
      _e8910_callback in e8910.o
      _retro_load_game in libretro.o
      _retro_unload_game in libretro.o
      _osint_render in libretro.o
      _retro_run in libretro.o
  "_strcat", referenced from:
      _retro_set_environment in libretro.o
  "_strcmp", referenced from:
      _retro_set_environment in libretro.o
      _check_variables in libretro.o
  "_strcpy", referenced from:
      _retro_set_environment in libretro.o
  "_strlen", referenced from:
      _retro_set_environment in libretro.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile.libretro:617: vecx_libretro.dylib] Error 1
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/emulators/libretro-vecx
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/emulators/libretro-vecx