[Rd] R uses private function in libc (PR#9107)

From: <quanah_at_stanford.edu>
Date: Fri 28 Jul 2006 - 00:45:44 GMT

Full_Name: Quanah Gibson-Mount
Version: 2.3.0, 2.3.1

OS: Linux
Submission from: (NULL) (

libc used to export the symbol:


however, newer versions of libc no longer export it. R has some serious problems around this, because the code has:

# ifdef linux

extern void * __libc_stack_end;
# endif


#if defined(linux)

    R_CStackStart = (uintptr_t) __libc_stack_end;
#elif defined(HAVE_KERN_USRSTACK)

in r-2.3.1/src/unix/system.c

This code needs to be fixed. It is causing all sorts of problems when trying to run R across multiple systems with different libc versions.


R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri Jul 28 18:12:57 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 28 Jul 2006 - 10:29:28 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.