[Openmcl-devel] linux 2.6.23

Takehiko Abe keke at gol.com
Fri Nov 2 15:36:10 UTC 2007


Gary Byers wrote:

> I'll try to install 2.6.23 on a laptop here when I get the chance.
> if you haven't heard from me in a few days, please nag.

Not to nag you -- you must be busy working on OSX -- just want
to inform that I think I found a culprit.

It's something called vDSO introduced into 2.6.23 kernel.
I still don't know what it is. It has something to do with
shared libs.

Quote: http://lkml.org/lkml/2007/7/19/125

| A vDSO is a ELF shared library supplied by the kernel that is mapped
| into user address space.  The vDSO mapping is randomized for each
| process for security reasons.
|
| [...]
|
| The vdso can be disabled with vdso=0

And disabling it lets the Clozure CL run fine.

btw, CCL dies (with vdso enabled) around %cstrcmp inside
revive-shared-libraries because libname is not a correct
cstring:

(%walk-shared-libraries
  #'(lambda (m)
      (with-macptrs (libname)
        (%setf-macptr libname
		     (soname-ptr-from-link-map m))
        (unless (%null-ptr-p libname)
	 (when (%cstrcmp soname libname)
	   (return-from found  m))))))

I'll dig further on this weekend.

Anyways, a simple workaround is to put 'vdso=0' to kernel boot option.

Cheers,
T.





More information about the Openmcl-devel mailing list