On Fri, Dec 10, 2004 at 06:40:19PM +0000, Mike Hearn wrote:
This is because at some point, __libc_stack_end was changed from being public to private. It seems there's been some to-and-fro on this issue: on
Correct. I documented this problem in the compiling docs on the Wiki:
http://inkscape.org/cgi-bin/wiki.pl?CompilingStatic
Edit os_dep.c, and replace the __libc_stack_end pragma/extern with "ptr_t __libc_stack_end = 0;" This symbol doesn't link when going static.
export this symbol as weak. I will apply a patch to the autopackage copy of libgc soon to make it always fall back to parsing /proc, ask for an explanation of this mess from the glibc developers (I will probably be ignored) and post the patch to upstream libgc to use dlsym to retrieve this symbol, which should bypass symbol versioning.
From the research I did, the glibc folks do NOT want this symbol
exported. It was debated, and in the end it seemed that they marked it up in a way that it can't be linked against now.