octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MXE-Octave build of fftw


From: John D
Subject: Re: MXE-Octave build of fftw
Date: Fri, 28 Jun 2013 16:03:02 -0400

Message: 7
Date: Fri, 28 Jun 2013 09:01:17 -0700 (PDT)
From: PhilipNienhuis <address@hidden>
To: address@hidden
Subject: Re: MXE-Octave build of fftw
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

John Donoghue-2 wrote
>>     --enable-sse2  --with-our-malloc compiles ok
>>
>>
>> Still, I think it's worth a report to the FFTW dev team. Ironically, 
>> looking at the comments in kalloc.c, it mentions that our-malloc is 
>> specifically targeted at the VC++ compiler (though it refers to 
>> ancient versions, like VC++6) and the gcc/MinGW should be fine :).
>>
>> Michael.
>>
> 
> Just for info, my fedora cross build also fails at the same spot with 
> the --enable-sse2 option. I havent tried it yet with the 
> --with-our-malloc combination.

Cross-compiling (on Mageia-2) gives me this:

:
kalloc.c: In function 'fftwf_kernel_malloc':
kalloc.c:131:6: error: #error "Don't know how to malloc() aligned memory ...
try configuring --with-our-malloc"
make[4]: *** [kalloc.lo] Error 1


In fftw.mk I have this stanza:


define $(PKG)_BUILD
    cd '$(1)' && ./configure \
        F77=$(MXE_F77) \
        $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
        $(ENABLE_SHARED_OR_STATIC) \
        --prefix='$(HOST_PREFIX)' \
        --enable-threads \
        --enable-sse2 \
        --with-our-malloc \
        --enable-double && $(CONFIGURE_POST_HOOK)
    $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS=
noinst_PROGRAMS=
    $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS=
noinst_PROGRAMS=


What am I doing wrong here?

Thx,  Philip

-------------------

Did you add the --with-our-malloc in each of the configure calls?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]