personality(0) in sysdeps/unix/sysv/linux/init-first.c

H . J . Lu hjl@lucon.org
Thu Mar 2 08:09:00 GMT 2000


On Thu, Mar 02, 2000 at 06:27:48PM +0300, Ivan Kokshaysky wrote:
> Since "-taso" linker option (31-bit addressing) for alpha went into
> linux-binutils, people start to complain that it doesn't work - they get
> segfaults because pointers to malloc'ed memory aren't fitting in the
> 32-bit int. The reason is personality(0) call in init_first.c resetting
> 31-bit mode.
> Actually, this call was removed in glibc CVS 6 months ago, but still
> present in releases/snapshots...
> 

It is removed from glibc 2.2. For some reason, it is still in 2.1.3.
I will consider it a bug.


H.J.


More information about the Libc-hacker mailing list