[libmill] Re: Test suite failure: OSX 10.10.3 w/ Xcode 6.3.2
- From: Martin Sustrik <sustrik@xxxxxxxxxx>
- To: libmill@xxxxxxxxxxxxx
- Date: Mon, 22 Jun 2015 23:18:09 +0200
On 2015-06-22 20:44, Jim Jagielski wrote:
Trying out HEAD on master, when compiling w/ clang (gcc on OS X is an
alias
to clang), the
test suite errors out. With gcc (for reals) it works fine.
Attached is the test-suite.log file from a failed test:
I am not sure about the cause. It's either over-zealous optimisation in
clang or a subtle bug in libmill. However, it seems that using
optimisation level -O1 instead of -O2 fixes the problem.
As a temporary measure I can add a check for clang into build system and
use -O1 if it is found.
What do you think?
Martin
Other related posts: