Subject: cl-sdl-opengl: compile files with nvidia 4496 under kernel 2.6.0-test11 (tls?)
From: John Kozak <[email-masked]>
To: Debian Bug Tracking System <[email-masked]>
Date: Sun, 11 Jan 2004 21:44:40 +0000

Package: cl-sdl-opengl
Version: 0.2.2
Severity: serious

opengl won't build on my system (NVIDIA's binary drivers 4496; kernel
2.6.0-test11).  The NVIDIA drivers were rebuilt for 2.6 using the TLS
(thread local storage) option, as recommended by the installer - the
attached log suggests that may have something to do with this.

Here's the log:

armadillo:~$ sudo sbcl
This is SBCL 0.8.2.18, an implementation of ANSI Common Lisp.

SBCL is derived from the CMU CL system created at Carnegie Mellon University.
Besides software and documentation originally created at Carnegie Mellon
University, SBCL contains some software originally from the Massachusetts
Institute of Technology, Symbolics Incorporated, and Xerox Corporation, and
material contributed by volunteers since the release of CMU CL into the
public domain. See the CREDITS file in the distribution for more information.

SBCL is a free software system, provided as is, with absolutely no warranty.
It is mostly in the public domain, but also includes some software copyrighted
  Massachusetts Institute of Technology, 1986;
  Symbolics, Inc., 1989, 1990, 1991, 1992; and
  Xerox Corporation, 1985, 1986, 1987, 1988, 1989, 1990
used under BSD-style licenses allowing copying only under certain conditions.
See the COPYING file in the distribution for more information.

More information about SBCL is available at <http://sbcl.sourceforge.net/>.
* (require :opengl)

STYLE-WARNING: redefining CD-STATUS in DEFUN
;;; Please wait, recompiling library...
; compiling file "/usr/share/common-lisp/source/opengl/opengl/gl.lisp" (written 04 FEB 2003 09:43:18 PM):
; compiling top level form:
; compiling top level form:
; compiling top level form:
; compiling top level form:
; compiling top level form:
; compiling top level form:
; compiling top level form:
; compiling top level form:
; compiling top level form:
; compiling top level form:
; compiling top level form:

debugger invoked on condition of type SIMPLE-ERROR:
  can't open object "/usr/lib/libGL.so": "/usr/lib/tls/libGLcore.so.1: undefined symbol: __gl_tls_var0"

Within the debugger, you can type HELP for help. At any command prompt (within
the debugger or not) you can type (SB-EXT:QUIT) to terminate the SBCL
executable. The condition which caused the debugger to be entered is bound to
SB-DEBUG:*DEBUG-CONDITION*. You can suppress this message by clearing
SB-DEBUG:*DEBUG-BEGINNER-HELP-P*.

restarts (invokable by number or by possibly-abbreviated name):
  0: [RETRY   ] Retry performing #<ASDF:COMPILE-OP NIL {904BB79}> on
                #<ASDF:CL-SOURCE-FILE "gl" {9C4BA79}>.
  1: [ACCEPT  ] Continue, treating #<ASDF:COMPILE-OP NIL {904BB79}> on
                #<ASDF:CL-SOURCE-FILE "gl" {9C4BA79}> as having been successful.
  2: [ABORT   ] Reduce debugger level (leaving debugger, returning to toplevel).
  3: [TOPLEVEL] Restart at toplevel READ/EVAL/PRINT loop.
(SB-ALIEN:LOAD-1-FOREIGN "/usr/lib/libGL.so")
0]

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux armadillo 2.6.0-test11 #1 Thu Jan 1 15:10:42 GMT 2004 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages cl-sdl-opengl depends on:
ii  cl-sdl                      0.2.2        Common Lisp bindings to the SDL gr
ii  cl-uffi                     1.4.4-1      Universal Foreign Function Library
ii  common-lisp-controller      3.82         This is a Common Lisp source and c
ii  libc6                       2.3.2.ds1-10 GNU C Library: Shared libraries an
ii  libglu1-mesa [libglu1]      5.0.0-5      The OpenGL utility library, libGLU
ii  libglu1-mesa-dev [libglu-de 5.0.0-5      The OpenGL utility library develop
ii  xlibmesa3-gl [libgl1]       4.2.1-15     Mesa 3D graphics library [XFree86]

-- no debconf information