[MacPorts] #67307: glib2 compilation issues with clang

MacPorts noreply at macports.org
Tue May 2 14:59:29 UTC 2023


#67307: glib2 compilation issues with clang
-----------------------+----------------------
  Reporter:  rmottola  |      Owner:  mascguy
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  leopard
      Port:  glib2     |
-----------------------+----------------------

Comment (by kencu):

 the symbols are in libSystem.dylib on 10.5:

 {{{
 $ nm -a -arch i386 libSystem.B.dylib | grep _close
 0008e3ff T ___bt_close
 000e0e14 T ___rec_close
 00113604 T ___res_close
 0010fb0f T __res_close
 00041748 T _asl_close
 000eeb70 T _asl_file_close
 000eefc2 T _asl_file_list_close
 000f1bcf T _asl_legacy1_close
 000edd13 T _asl_store_close
 000edef6 T _asl_store_file_close
 000edcaf T _asl_store_file_closeall
 00001ca0 T _close
 00001ca0 T _close$NOCANCEL$UNIX2003
 0000c848 T _close$UNIX2003
 00085dd1 T _closedir
 00024e6b T _closedir$UNIX2003
 00067150 T _closelog
 000a7a73 T _dbm_close
 0002f42d T _fts_close
 00084784 T _fts_close$INODE64
 000911f4 T _kvm_close
 001292dc T _launchd_close
 0008e4ff T _mpool_close
 0007dfbc T _sem_close
 }}}

 {{{
 $ nm -a -arch x86_64 libSystem.B.dylib | grep _close
 0000000000084966 T ___bt_close
 00000000000ce0c0 T ___rec_close
 00000000000f8cce T ___res_close
 00000000000f57c6 T __res_close
 000000000003e33d T _asl_close
 00000000000da6e2 T _asl_file_close
 00000000000daadc T _asl_file_list_close
 00000000000dceca T _asl_legacy1_close
 00000000000d95cd T _asl_store_close
 00000000000d97bd T _asl_store_file_close
 00000000000d9568 T _asl_store_file_closeall
 0000000000021da8 T _close
 00000000000e75c8 T _close$NOCANCEL
 000000000007c9d5 T _closedir
 000000000006152b T _closelog
 0000000000099748 T _dbm_close
 000000000002c438 T _fts_close
 000000000007b24a T _fts_close$INODE64
 000000000010d630 T _launchd_close
 0000000000084a71 T _mpool_close
 0000000000075158 T _sem_close
 }}}


 as you can see, this one only exists for 32 bit:
 {{{
 _close$NOCANCEL$UNIX2003
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67307#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list