#20 libc dependency weirdness

other
closed
sbcl (7)
5
2002-03-17
2001-07-05
No

POSIX-ENVIRON appears to depend critically on the
particular libc, to the point that a version working on
debian version 2.2.3-4 will crash with a segmentation
violation with 2.2.3-6.

This makes distributing binaries tricky.

Discussion

  • Daniel Barlow

    Daniel Barlow - 2001-07-14

    Logged In: YES
    user_id=11182

    Reported upstream

    Workaround is to add this stuff to /etc/sbclrc

    ---tear along dotted line---
    ;;; temporary workaround for problems with LOAD-FOREIGN,
    remove when
    ;;;
    http://sourceforge.net/tracker/index.php?func=detail&aid=438754&group_id=285
    36&atid=393636
    ;;; is fixed

    (in-package :sb-impl)
    (def-alien-variable "environ" (* c-string))
    (defun posix-environ ()
    "Return the Unix environment (\"man environ\") as a list
    of SIMPLE-STRINGs."
    (declare (optimize (inhibit-warnings 3)))
    (c-strings->string-list environ))
    (compile 'posix-environ)
    (in-package :cl-user)

    ----tear along dotted line----

     
  • Christophe Rhodes

    • status: open --> pending
     
  • Christophe Rhodes

    Logged In: YES
    user_id=133801

    Looks like dan_b's fixed this one. Phew.

     
  • Christophe Rhodes

    • status: pending --> closed
     
  • Christophe Rhodes

    Logged In: YES
    user_id=133801

    d'Oh. Make sure that the bug is fixed before closing, idiot.

    Sorry, folks.

    Christophe

     
  • Christophe Rhodes

    • status: closed --> open
     
  • Daniel Barlow

    Daniel Barlow - 2002-03-17
    • status: open --> closed
     
  • Daniel Barlow

    Daniel Barlow - 2002-03-17

    Logged In: YES
    user_id=11182

    Use the real Debian package instead

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks