|
From: <je...@go...> - 2005-02-14 00:13:31
|
Quoting Nicholas Nethercote <nj...@cs...>:
> I'm trying to get self-hosting to work on my machine. I just switched =
to
> recent versions of gcc (3.4.3) and ld (binutils 2.15) which support PIE=
.
> But once I built Valgrind, I get a seg fault at startup. Diagnostic pr=
intfs
> tell me that things are ok until at least the just before the call to
> jmp_with_stack() at the end of stage1.c:main2(). But the seg fault
> manifests before the first statement in vg_main.c:main() executes.
What's the fault address? What's the faulting instruction?
> The distro on the machine is an oldish Debian one; in particular the g=
libc
> version is 2.2.5:
In principle there should be no problem, but it wouldn't surprise me if t=
here
were some bug which prevents PIE from working. Or something we haven't t=
aken
into account.
J
|