Stack tool for optimization-unstable code
Pedro Giffuni
pfg at FreeBSD.org
Mon Nov 4 20:06:42 UTC 2013
Hello;
I was looking at some article referred by IT world (and later
Slashdot) for this tool:
http://css.csail.mit.edu/stack/
It tries to find out non-obvious bugs of the type that are caused
by compiler optimizations.
The master version at github has a build issue for FreeBSD but
the "inline" branch should work. I got the zipped tarball but
this should work directly with git:
git clone -b intreehttps://github.com/xiw/stack.git
For building you need to use gmake and force it to use clang
(on 9.x). You also need "llvm-config" which is included in the
llvm-devel port.
I am currently updating my clang-devel package so I haven't
built it yet but I thought I'd share the info in case someone else
is interested :)
Enjoy,
Pedro.
More information about the freebsd-toolchain
mailing list