Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #1252

Re: Triple test failure update

From Chris Dodd <cdodd@acm.org>
Newsgroups comp.compilers
Subject Re: Triple test failure update
Date 2014-05-23 01:50 +0000
Organization A noiseless patient Spider
Message-ID <14-05-027@comp.compilers> (permalink)
References <14-05-003@comp.compilers> <14-05-004@comp.compilers> <14-05-008@comp.compilers>

Show all headers | View raw


"Nils M Holm" <nmh@t3x.org> wrote in news:14-05-008@comp.compilers:
> The assembly output of scc1 and scc2 is identical, the binaries are not.
> *Both* compilers seem to work perfectly fine.

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.

Chris Dodd
cdodd@acm.org

Back to comp.compilers | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Mysterious triple test failures "Nils M Holm" <nmh@t3x.org> - 2014-05-03 21:38 +0200
  Re: Mysterious triple test failures Kaz Kylheku <kaz@kylheku.com> - 2014-05-03 22:19 +0000
    Tripe test failure update "Nils M Holm" <nmh@t3x.org> - 2014-05-04 10:53 +0200
      Re: Triple test failure update Chris Dodd <cdodd@acm.org> - 2014-05-23 01:50 +0000
        Re: Triple test failure update "Nils M Holm" <nmh@t3x.org> - 2014-05-23 09:09 +0200
        Re: Triple test failure update alexfrunews@gmail.com - 2014-05-23 02:17 -0700
  Re: Mysterious triple test failures mrs@Kithrup.COM (Mike Stump) - 2014-05-04 04:47 +0000
  Re: Mysterious triple test failures alexfrunews@gmail.com - 2014-05-04 03:57 -0700
    Re: Tripe test failure update "Nils M Holm" <nmh@t3x.org> - 2014-05-05 10:30 +0200

csiph-web