[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Disabling -pie when linking?
From: |
Samuel Thibault |
Subject: |
Re: Disabling -pie when linking? |
Date: |
Tue, 29 Jan 2013 12:29:14 +0100 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Svante Signell, le Tue 29 Jan 2013 10:09:52 +0100, a écrit :
> On Tue, 2013-01-29 at 07:36 +0100, Svante Signell wrote:
> > On Tue, 2013-01-29 at 00:13 +0100, Samuel Thibault wrote:
> > > Svante Signell, le Sun 20 Jan 2013 18:18:16 +0100, a écrit :
> > > > A recent problem popping up is that executables using the -pie flag when
> > > > linking segfaults when starting up. Examples are mktable in w3m
> > >
> > > It doesn't seem so simple. I've tried building a small program with
> > > -pie, and it does work. I've tried to use w3m, it does work. elinks does
> > > indeed crash.
>
> No problems with mktable in w3m?
What do you mean by mktable in w3m?
> > I know in which module elinks crashes. Disabling it makes things work
> > again. Can this be of interest?
>
> The problems with elinks is when initializing the perl_scripting_module
> in src/scripting/scripting.c defined in src/scripting/perl/perl.c
Ok, I'd avoid trying to debug that (perl, brrr), and rather debug w3m,
which is much more simple.
Samuel