[Bug sanitizer/59410] tsan tests fail with address randomization disabled
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Dec 6 18:03:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59410
--- Comment #21 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Kostya Serebryany from comment #20)
> > >
> > > # readelf -lW a.out
> >
> > Your address must be sensible. Otherwise kernel will ignore it.
> > Please try "-Ttext-segment 0x855555000000".
>
> How is 0x855555000000 censible if it's beyond the address space?
> (Or I miss something?)
>
> Anyway, here is an experiment that proves that on my box
> -Ttext-segment is ignored if ASLR is off.
>
>
That is true. The kernel change was made to fix:
https://bugzilla.kernel.org/show_bug.cgi?id=36372
More information about the Gcc-bugs
mailing list