Thank you so much Tony

The problem was (probably) that clang was updated and changed behaviour. 
Apparently FFTW felt like recompiling without running configure again, and 
then I was in trouble. 

For the record, the easiest fix is

make -C deps distclean-fftw

If you want to avoid downloading the tarball again, you can do the 
equivalent rm command:

rm -rf deps/fftw-3.3.3-single deps/fftw-3.3.3-double
Ivar

kl. 18:10:15 UTC+2 mandag 7. juli 2014 skrev Tony Kelman følgende:
>
> Ivar: I think Keno ran into the same -malign-double thing before here 
> https://github.com/JuliaLang/julia/pull/6809#issuecomment-44178953
> Are you switching between clang and gcc? You probably need to rerun FFTW's 
> configure.
>
> Tomas: There's still some lingering fragility in a few places of the 
> Makefiles. Post an issue if you can come up with a reproducible series of 
> steps that always causes a failure for a rebuild. Otherwise tough to pin 
> down.
>
>
> On Monday, July 7, 2014 1:57:08 AM UTC-7, Ivar Nesje wrote:
>>
>> After running `make cleanall`, I'm stuck on this error (apparently) while 
>> compiling fftw3f. Does anybody else see this, or have suggestions for how 
>> to solve it. I have tried to checkout old (previously working) commits, but 
>> it did not help. `release-0.2` apparently compiles fine.
>>
>>
>> Making install in support
>>
>> Making install in kernel
>>
>> libtool: compile:  clang -stdlib=libc++ -mmacosx-version-min=10.7 
>> -DHAVE_CONFIG_H -I. -I.. -I../simd -O3 -fomit-frame-pointer -mtune=native 
>> -malign-double -fstrict-aliasing -fno-schedule-insns -ffast-math -MT 
>> align.lo -MD -MP -MF .deps/align.Tpo -c align.c  -fno-common -DPIC -o 
>> .libs/align.o
>>
>> clang: error: unknown argument: '-malign-double' 
>> [-Wunused-command-line-argument-hard-error-in-future]
>>
>> clang: note: this will be a hard error (cannot be downgraded to a 
>> warning) in the future
>>
>> make[5]: *** [align.lo] Error 1
>>
>> make[4]: *** [install-recursive] Error 1
>>
>> make[3]: *** [/Users/ivarne/dev/julia/usr/lib/libfftw3f.dylib] Error 2
>>
>> make[2]: *** [install-fftw] Error 2
>>
>> make[1]: *** [julia-release] Error 2
>>
>> make: *** [release] Error 2
>>
>>
>>
>>
>>

Reply via email to