Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Nov 2013 15:03:47 -0500
From:      Pedro Giffuni <pfg@FreeBSD.org>
To:        freebsd-toolchain@freebsd.org
Subject:   Stack tool for optimization-unstable code
Message-ID:  <5277FDA3.6020705@FreeBSD.org>

next in thread | raw e-mail | index | archive | help

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.







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5277FDA3.6020705>