[cmucl-help] 19c alpha [Was Re: CMUCL 18c building on tru64 5.1]

Fausto Saporito fausto.saporito at gmail.com
Wed Sep 10 06:11:25 UTC 2014


2014-09-10 3:31 GMT+02:00 Carl Shapiro <carl.shapiro at gmail.com>:
> On Tue, Sep 9, 2014 at 2:07 PM, Fausto Saporito <fausto.saporito at gmail.com>
> wrote:
>>
>
> Can you provide a list of all of the undefined functions?  These functions
> are present in a shared library (libm) but it is likely that the compiler is
> outsmarting our attempt at having a static link and there are no defined
> symbols for these functions in the runtime executable.

yes... I think so, but the linking has -non_shared option, so it's
really strange

>
> I have worked around this problem in my own source tree by using the list in
> undefineds.h to generate assembly language stub functions.  These stub
> functions do nothing except jump directly to the shared library entry point.
> I then use the addresses of the stubs in place where their targets are
> referenced.  At present, I do this for the x86 but it would be trivial to
> adapt this to the alpha.
Warning:  Undefined foreign symbol: "sin"
Warning:  Undefined foreign symbol: "cos"
Warning:  Undefined foreign symbol: "tan"
Warning:  Undefined foreign symbol: "asin"
Warning:  Undefined foreign symbol: "acos"
Warning:  Undefined foreign symbol: "atan"
Warning:  Undefined foreign symbol: "atan2"
Warning:  Undefined foreign symbol: "sinh"
Warning:  Undefined foreign symbol: "cosh"
Warning:  Undefined foreign symbol: "tanh"
Warning:  Undefined foreign symbol: "asinh"
Warning:  Undefined foreign symbol: "acosh"
Warning:  Undefined foreign symbol: "atanh"
Warning:  Undefined foreign symbol: "exp"
Warning:  Undefined foreign symbol: "log"
Warning:  Undefined foreign symbol: "log10"
Warning:  Undefined foreign symbol: "pow"
Warning:  Undefined foreign symbol: "sqrt"
Warning:  Undefined foreign symbol: "hypot"
Warning:  Undefined foreign symbol: "log1p"
Warning:  Undefined foreign symbol: "pow"
Warning:  Undefined foreign symbol: "setuid"
Warning:  Undefined foreign symbol: "setgid"
Warning:  Undefined foreign symbol: "msync"
Warning:  Undefined foreign symbol: "chdir"
Warning:  Undefined foreign symbol: "chmod"
Warning:  Undefined foreign symbol: "fchmod"
Warning:  Undefined foreign symbol: "fchown"
Warning:  Undefined foreign symbol: "chown"

Warning:  Undefined foreign symbol: "creat"
Warning:  Undefined foreign symbol: "dup"
Warning:  Undefined foreign symbol: "link"
Warning:  Undefined foreign symbol: "mkdir"
Warning:  Undefined foreign symbol: "pipe"
Warning:  Undefined foreign symbol: "readlink"
Warning:  Undefined foreign symbol: "rename"
Warning:  Undefined foreign symbol: "sync"
Warning:  Undefined foreign symbol: "fsync"
Warning:  Undefined foreign symbol: "truncate"
Warning:  Undefined foreign symbol: "ftruncate"
Warning:  Undefined foreign symbol: "symlink"
Warning:  Undefined foreign symbol: "tcgetattr"
Warning:  Undefined foreign symbol: "cfgetospeed"
Warning:  Undefined foreign symbol: "cfsetospeed"
Warning:  Undefined foreign symbol: "cfgetispeed"
Warning:  Undefined foreign symbol: "tcsendbreak"
Warning:  Undefined foreign symbol: "tcdrain"
Warning:  Undefined foreign symbol: "tcflush"
Warning:  Undefined foreign symbol: "tcflow"
Warning:  Undefined foreign symbol: "stat"
Warning:  Undefined foreign symbol: "lstat"
Warning:  Undefined foreign symbol: "fstat"
Warning:  Undefined foreign symbol: "getrusage"
Warning:  Undefined foreign symbol: "utimes"
Warning:  Undefined foreign symbol: "setreuid"
Warning:  Undefined foreign symbol: "setregid"
Warning:  Undefined foreign symbol: "getppid"
Warning:  Undefined foreign symbol: "getgid"
Warning:  Undefined foreign symbol: "getpgrp"
Warning:  Undefined foreign symbol: "setpgrp"
Warning:  Undefined foreign symbol: "getuid"
Warning:  Undefined foreign symbol: "gethostid"
Warning:  Undefined foreign symbol: "ttyname"
Warning:  Undefined foreign symbol: "listen"
Warning:  Undefined foreign symbol: "accept"
Warning:  Undefined foreign symbol: "recv"
Warning:  Undefined foreign symbol: "getpeername"
Warning:  Undefined foreign symbol: "getsockopt"
Warning:  Undefined foreign symbol: "shutdown"
Warning:  Undefined foreign symbol: "getitimer"
Warning:  Undefined foreign symbol: "killpg"
Warning:  Undefined foreign symbol: "sigpause"


More information about the cmucl-help mailing list