Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PaX ASLR broken due TLS



On Fri, Mar 18, 2011 at 04:11:14PM +0300, Valeriy E. Ushakov wrote:
> > ===> Building for emacs-nox11-23.2
> > [1]   Segmentation fault (core dumped) /usr/bin/env USE...
> > *** Error code 139
> 
> Is that from temacs?  Was you existing emacs compiled without ASLR
> turned on?

The existing (GNU) Emacs was compiled with ASLR turned out. I think that the
compile error is from temacs;

Finding pointers to doc strings...
Finding pointers to doc strings...done
Loading /tmp/pkgsrc/editors/emacs-nox11/work/emacs-23.2/lisp/site-init.el
(source)...
Dumping under the name emacs
74101 pure bytes used
mv -f emacs bootstrap-emacs
cd ../lisp; /usr/pkg/bin/gmake -w compile-first EMACS=../src/bootstrap-emacs
gmake[3]: Entering directory
`/tmp/pkgsrc/editors/emacs-nox11/work/emacs-23.2/lisp'
Compiling
/tmp/pkgsrc/editors/emacs-nox11/work/emacs-23.2/lisp/emacs-lisp/bytecomp.el
[1]   Segmentation fault (core dumped) EMACSLOADPATH=/t...


> I checked emacs22 sources that I had handy and etc/PROBLEMS explicitly
> says that emacs will not compile on RedHat with ASLR and/or
> exec-shield (whatever that is).

OK.

> I'm actually suprised that it used to work before with ASLR but
> without Joerg's commit.  Or did I misunderstand?

It used to "work" (or perhaps, "run") with ASLR, yes.

- Jukka.


Home | Main Index | Thread Index | Old Index