Re: Issues with CLISP on Debian (Jessie) and Arch

Jerry James <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <CAHCOHQmkUp0ThZM7O15uNsvmyfkZWhUj7yGuJdCyooaxFSdorA@mail.gmail.com>
On Fri, Apr 3, 2015 at 8:53 AM, Barry Fishman <[email protected]> wrote:
> I found the Arch repository version doesn't supports '(require "linux")'.

Ah, good find.  I maintain the clisp package for Fedora Linux, and it
looks like we have the same problem.  The trouble is that the linker
is trying to take only what it thinks it needs from libgnu.a, so you
have to force the issue.  I think this should do the trick:

sed -i 's/\(${GLLIB_A}\) \(${LIBS}\)/-Wl,--whole-archive \1
-Wl,--no-whole-archive \2/' src/makemake.in

> When I disabled that code, the linux plugin seemed to work fine.

That may lead to trouble later, as the second argument to ioctl
differs in both size and signedness between what clisp expects and
glibc provides.
-- 
Jerry James
http://www.jamezone.org/

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.