|Mysterious triple test failures email@example.com (Nils M Holm) (2014-05-03)|
|Re: Mysterious triple test failures firstname.lastname@example.org (Kaz Kylheku) (2014-05-03)|
|Tripe test failure update email@example.com (Nils M Holm) (2014-05-04)|
|Re: Triple test failure update firstname.lastname@example.org (Chris Dodd) (2014-05-23)|
|Re: Triple test failure update email@example.com (Nils M Holm) (2014-05-23)|
|Re: Triple test failure update firstname.lastname@example.org (2014-05-23)|
|From:||"Nils M Holm" <email@example.com>|
|Date:||Fri, 23 May 2014 09:09:11 +0200|
|References:||14-05-003 14-05-004 14-05-008 14-05-027|
|Posted-Date:||23 May 2014 12:45:44 EDT|
Chris Dodd <firstname.lastname@example.org> wrote:
> So the difference is in the assembler or the linker.
> Have you tried turning off ASLR (address space randomization)? You
> can do this on linux with
> # echo 0 > /proc/sys/kernel/randomize_va_space
> If there is anything in the assembler or linker that depends on
> addresses allocated in memory (such as hash tables?) then ASLR will
> move things around, which may result in things being processed in a
> different order and laid out differently.
Ah, this is interesting! I had previously thought about ASLR, but
then thought that it cannot affect executables as long as they merely
sit on the hard disk. Your comment sheds new light on this aspect.
Unfortunately, I have never been able to reproduce this behavior
myself (only heard about it from testers) and currently it does not
seem to be reproducible anywhere. This happened after I changed the
so it looks like John and a few others here in c.c. where right. It
was most probably the order of objects passed to the linker. However,
should the problem re-appear, I will definitely try what you suggested!
Nils M Holm < n m h @ t 3 x . o r g > www.t3x.org
Return to the
Search the comp.compilers archives again.