Closed kronicd closed 10 years ago
Does brew doctor
have anything to say?
I too have the exact same issue. Brew 0.9.5 with latest "update" as of the time of this post.
However I can successfully brew install --env=std john-jumbo just fine.
Nothing in brew doctor, I can confirm it builds fine with the "--env=std" option.
Should this perhaps be built into the formula?
This installs for me without the std env.
same issue, trying with "--env-=std" now.
worked
quick question, i had john before i added john-jumbo and had to unlink. am i supposed to link it back after i install john-jumbo or am i just an idiot
Looks like the issue is coming from clang adding -march=native
. This is turning on SSE4.1, which isn't normally being turned on by the john-jumbo makefile. It intentionally defines _mm_testz_si128
even if it's already defined, which leads to the error in clang since it's pulling in a header that already defines it.
#if defined(__SSE4_1__)
# if !defined(__INTEL_COMPILER)
// This intrinsic is not always available in GCC, so define it here.
static inline int _mm_testz_si128 (__m128i __M, __m128i __V)
{
return __builtin_ia32_ptestz128 ((__v2di)__M, (__v2di)__V);
}
# endif
Should be fixed now.
john-jumbo is failing to build under 10.9.1
Here is a gist with verbose output: https://gist.github.com/kronicd/8887727