Symbol not found: _exc_server

100 views
Skip to first unread message

patrice....@yahoo.fr

unread,
Oct 17, 2014, 11:09:28 AM10/17/14
to darling...@googlegroups.com
Hello,

Thanks for this interesting project !

I want to create a multi-platform binary for a project I've done at work. My primary OS is GNU/LINUX. I've used WINE to create a WIN32 binary. I want to use DARLING to do the same for the OS X side.

So I'am trying to run 'Steel Bank Common Lisp' http://www.sbcl.org/platform-table.html with dyld. That does not work and I 've got this error message :

      dyld: Cannot execute binary file: Symbol not found: _exc_server

I've compiled DARLING via GENTOO ebuild (app-emulation/darling-9999.ebuild)

Thanks for your help :) !
Message has been deleted

patrice....@yahoo.fr

unread,
Oct 19, 2014, 9:30:51 AM10/19/14
to darling...@googlegroups.com
attached is
  - what I get enabling DYLD_DEBUG=+debug  DYLD_IGN_MISSING_SYMS=1
  - some info on my system

Cheers,
Patrice
dyld64_debug.txt
dyld64_system.txt

Luboš Doležel

unread,
Oct 21, 2014, 3:55:39 AM10/21/14
to darling...@googlegroups.com
Hello,

even though SBCL seems to be a multiplatform app, it uses a set of APIs not implemented in Darling.

ERROR @MachOObject.cpp:750 in void *Darling::MachOObject::performBind(MachO::Bind *):Creating a fake implementation for exc_server
ERROR @MachOObject.cpp:750 in void *Darling::MachOObject::performBind(MachO::Bind *):Creating a fake implementation for mach_msg_server
ERROR @MachOObject.cpp:750 in void *Darling::MachOObject::performBind(MachO::Bind *):Creating a fake implementation for mach_port_allocate
ERROR @MachOObject.cpp:750 in void *Darling::MachOObject::performBind(MachO::Bind *):Creating a fake implementation for mach_port_allocate_name
ERROR @MachOObject.cpp:750 in void *Darling::MachOObject::performBind(MachO::Bind *):Creating a fake implementation for mach_port_destroy
ERROR @MachOObject.cpp:750 in void *Darling::MachOObject::performBind(MachO::Bind *):Creating a fake implementation for mach_port_insert_right
ERROR @MachOObject.cpp:750 in void *Darling::MachOObject::performBind(MachO::Bind *):Creating a fake implementation for mach_port_move_member
ERROR @MachOObject.cpp:750 in void *Darling::MachOObject::performBind(MachO::Bind *):Creating a fake implementation for mach_thread_self
ERROR @MachOObject.cpp:750 in void *Darling::MachOObject::performBind(MachO::Bind *):Creating a fake implementation for thread_get_state
ERROR @MachOObject.cpp:750 in void *Darling::MachOObject::performBind(MachO::Bind *):Creating a fake implementation for thread_set_exception_ports
ERROR @MachOObject.cpp:750 in void *Darling::MachOObject::performBind(MachO::Bind *):Creating a fake implementation for thread_set_state

That being said, it seems to ignore these problems when DYLD_IGN_MISSING_SYMS is used.
I can see a crash, but it's only happening when the app is unloading. I haven't examined the true cause yet.

====
Undefined function called: mach_port_allocate
Undefined function called: mach_msg_server
fatal error encountered in SBCL pid 11446:
mach_msg_server returnedThis is SBCL 1.1.8.0-19cda10, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.


Segmentation fault
====

Luboš

Dne pátek, 17. října 2014 17:09:28 UTC+2 patrice....@yahoo.fr napsal(a):
Reply all
Reply to author
Forward
0 new messages