Bug#788217: RFS: clfft/2.4-1 [ITP Bug#783084] -- OpenCL FFT library
Hello Ghislain,
It seems to me thaht I already saw this problem with Jerome... I built my package on a 32bit system.
> cd /«PKGBUILDDIR»/obj-i586-linux-gnu/library && /usr/bin/c++ -DCLFFT_EXPORTS -DclFFT_EXPORTS -m64 -pthread -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/«PKGBUILDDIR»/obj-i586-linux-gnu/include -I/«PKGBUILDDIR»> /src/library/../include -o CMakeFiles/clFFT.dir/transform.cpp.o -c /«PKGBUILDDIR»/src/library/transform.cpp
the problem is this -m64 option.
In file included from /«PKGBUILDDIR»/src/library/../include/stdafx.h:27:0,
from /«PKGBUILDDIR»/src/library/transform.cpp:21:
/usr/include/c++/4.9/iostream:38:28: fatal error: bits/c++config.h: No such file or directory
#include <bits/c++config.h>
^
compilation terminated.
make[3]: *** [library/CMakeFiles/clFFT.dir/transform.cpp.o] Error 1
library/CMakeFiles/clFFT.dir/build.make:57: recipe for target 'library/CMakeFiles/clFFT.dir/transform.cpp.o' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/obj-i586-linux-gnu'
make[2]: *** [library/CMakeFiles/clFFT.dir/all] Error 2
make[1]: *** [all] Error 2
> FYI, I build both clBLAS and clFFT with gbp with a sid cowbuilder chroot as backend. For both, I use
>DIST=sid ARCH=amd64 gbp buildpackage --git-upstream-tag=v2.4 --git-upstream-branch=master \
>--git-debian-branch=debian/sid --git-no-pristine-tar
yes and me with a 10 years old i386 computer :).
Fred
Reply to: