[MacPorts] #61406: emacs @27.1_2+x11: dyld: lazy symbol binding failed: Symbol not found: _aligned_alloc

MacPorts noreply at macports.org
Sat May 21 12:30:14 UTC 2022


#61406: emacs @27.1_2+x11: dyld: lazy symbol binding failed: Symbol not found:
_aligned_alloc
--------------------------+----------------------
  Reporter:  texas-swift  |      Owner:  drkp
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.6.3
Resolution:               |   Keywords:
      Port:  emacs        |
--------------------------+----------------------

Comment (by barracuda156):

 Replying to [comment:1 ryandesign]:
 > The problem occurs because Xcode 11 has the macOS 10.15 SDK. Aligned
 alloc was apparently introduced in 10.15 and the emacs configure script
 erroneously takes it presence in the SDK as an indication that it can be
 used at runtime on 10.14, which it cannot. The developers of emacs appear
 to be unaware of how macOS SDKs work.

 I got this error now when building {{{algol68g}}} on 10.6:
 {{{
 Undefined symbols:
   "_aligned_alloc", referenced from:
       _a68_alloc in a68g-mem.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 }}}

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


More information about the macports-tickets mailing list