[MacPorts] #65838: tor: build failure with Xcode/CLT 14: ld: archive member '__.SYMDEF SORTED' is not mach-o or llvm bitcode file for architecture x86_64

MacPorts noreply at macports.org
Thu Sep 15 14:53:37 UTC 2022


#65838: tor: build failure with Xcode/CLT 14: ld: archive member '__.SYMDEF SORTED'
is not mach-o or llvm bitcode file for architecture x86_64
-------------------------+------------------------
  Reporter:  i0ntempest  |      Owner:  i0ntempest
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.2
Resolution:  fixed       |   Keywords:  ld
      Port:  tor         |
-------------------------+------------------------

Comment (by jmroot):

 The `__.SYMDEF` or `__.SYMDEF SORTED` files are the archive table of
 contents as created by `ar s`/`ranlib` (see the docs on the `-s` and `-a`
 options in the libtool manual for the difference). Those are definitely
 supposed to exist as archive members, I just don't know if any special
 handling of them may have previously happened. I can see how there could
 be problems if you extract one archive with a `__.SYMDEF` and one with a
 `__.SYMDEF SORTED` and then add all their contents to a new archive. I
 guess only one is treated as a table of contents and then the other looks
 like an an invalid object file.

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


More information about the macports-tickets mailing list