This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]