[clang] rtld-elf/rtld.c and stack traces in gdb(1)

2011-08-21 Thread Test Rat
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

Re: [clang] rtld-elf/rtld.c and stack traces in gdb(1)

2011-08-21 Thread Test Rat
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