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

Roman Divacky rdivacky at freebsd.org
Mon Aug 22 14:34:09 UTC 2011


On Sun, Aug 21, 2011 at 11:11:10PM +0400, Test Rat wrote:
> Roman Divacky <rdivacky at freebsd.org> 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 seems to be a workaround.

I am confused, so does it work or crash with O0?


More information about the freebsd-toolchain mailing list