I often get corrupted traces with clang world, the cause seems to be in rtld.
$ cd /usr/src/libexec/rtld-elf; env -i __MAKE_CONF=/dev/null TERM=$TERM sh
$ make CC=gcc all install
$ gdb yes
[...]
y
y
^C
Program received signal SIGINT, Interrupt.
0x0008009455ac in write () fro
Roman Divacky writes:
>> And compiling rtld with clang + -O0 makes it crash.
>
> what is "it" ? clang itself or rtld?
rtld, but not on trunk (r138219)
> Also I think it makes sense to check if this issue persists with TOT
> clang, can you check that?
It persists. Compiling only rtld.c with -O0