From quanah at stanford.edu  Fri Jul 28 02:45:44 2006
From: quanah at stanford.edu (quanah at stanford.edu)
Date: Fri, 28 Jul 2006 02:45:44 +0200 (CEST)
Subject: [Rd] R uses private function in libc (PR#9107)
Message-ID: <20060728004544.72A8241EC5@slim.kubism.ku.dk>

Full_Name: Quanah Gibson-Mount
Version: 2.3.0, 2.3.1
OS: Linux
Submission from: (NULL) (171.66.155.86)


libc used to export the symbol:

__libc_stack_end;

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


and

#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.

--Quanah



[Rd] R uses private function in libc (PR#9107)
quanah at stanford.edu