[kde-freebsd] KDE related compile errors on CURRENT.

George Liaskos geo.liaskos at gmail.com
Thu Apr 14 10:58:06 CEST 2011


Hi list.

It seems that ssse3 support on base gcc is causing some compile errors
on KDE related ports, all of them so far are tracked down to eigen2.

More precisely, /usr/local/include/eigen2/Eigen/Core :

37     #ifdef __SSE3__
38       #include <pmmintrin.h>
39     #endif
40     #ifdef __SSSE3__
41       #include <tmmintrin.h>
42     #endif

I have tmmintrin.h only under /usr/include/clang/2.9, using r220528 - amd64.

[ 78%] Building CXX object
wallpapers/mandelbrot/CMakeFiles/plasma_wallpaper_mandelbrot.dir/mix.o
In file included from
/usr/ports/deskutils/kdeplasma-addons/work/kdeplasma-addons-4.6.2/wallpapers/mandelbrot/mix.h:23,
                 from
/usr/ports/deskutils/kdeplasma-addons/work/kdeplasma-addons-4.6.2/wallpapers/mandelbrot/mix.cpp:19:
/usr/local/include/eigen2/Eigen/Core:41:29: error: tmmintrin.h: No
such file or directory
[ 78%] [ 78%] Building CXX object
containments/groupingdesktop/lib/CMakeFiles/plasma_groupingcontainment.dir/plasma_groupingcontainment_automoc.o
Building CXX object
containments/groupingdesktop/lib/CMakeFiles/plasma_groupingcontainment.dir/abstractgroup.o
Linking CXX shared module ../../lib/plasma_wallpaper_virus.so
Linking CXX shared module ../../lib/plasma_wallpaper_marble.so
[ 78%] [ 78%] Building CXX object
containments/groupingdesktop/lib/CMakeFiles/plasma_groupingcontainment.dir/groupinfo.o
[ 78%] Built target plasma_wallpaper_virus
Built target plasma_wallpaper_marble
[ 78%] Building CXX object
containments/groupingdesktop/lib/CMakeFiles/plasma_groupingcontainment.dir/groupfactory.o
Scanning dependencies of target rtmlogin
In file included from /usr/local/include/eigen2/Eigen/Core:109,
                 from
/usr/ports/deskutils/kdeplasma-addons/work/kdeplasma-addons-4.6.2/wallpapers/mandelbrot/mix.h:23,
                 from
/usr/ports/deskutils/kdeplasma-addons/work/kdeplasma-addons-4.6.2/wallpapers/mandelbrot/render_impl.cpp:20,
                 from
/usr/ports/deskutils/kdeplasma-addons/work/kdeplasma-addons-4.6.2/wallpapers/mandelbrot/render_with_arch_defaults.cpp:1:
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h: In
static member function 'static void Eigen::ei_palign_impl<Offset,
float __vector__>::run(float __vector__&, const float __vector__&)':
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h:239:
error: there are no arguments to '_mm_alignr_epi8' that depend on a
template parameter, so a declaration of '_mm_alignr_epi8' must be
available
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h:239:
error: (if you use '-fpermissive', G++ will accept your code, but
allowing the use of an undeclared name is deprecated)
[ 78%] /usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h:
In static member function 'static void Eigen::ei_palign_impl<Offset,
long long int __vector__>::run(long long int __vector__&, const long
long int __vector__&)':
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h:249:
error: there are no arguments to '_mm_alignr_epi8' that depend on a
template parameter, so a declaration of '_mm_alignr_epi8' must be
available
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h: In
static member function 'static void Eigen::ei_palign_impl<Offset,
double __vector__>::run(double __vector__&, const double
__vector__&)':
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h:259:
error: there are no arguments to '_mm_alignr_epi8' that depend on a
template parameter, so a declaration of '_mm_alignr_epi8' must be
available
Building CXX object libs/rtm/tests/CMakeFiles/rtmlogin.dir/rtmlogin_automoc.o
In file included from /usr/local/include/eigen2/Eigen/Core:109,
                 from
/usr/ports/deskutils/kdeplasma-addons/work/kdeplasma-addons-4.6.2/wallpapers/mandelbrot/mix.h:23,
                 from
/usr/ports/deskutils/kdeplasma-addons/work/kdeplasma-addons-4.6.2/wallpapers/mandelbrot/mix.cpp:19:
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h: In
static member function 'static void Eigen::ei_palign_impl<Offset,
float __vector__>::run(float __vector__&, const float __vector__&)':
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h:239:
error: there are no arguments to '_mm_alignr_epi8' that depend on a
template parameter, so a declaration of '_mm_alignr_epi8' must be
available[ 78%]
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h:239:
error: (if you use '-fpermissive', G++ will accept your code, but
allowing the use of an undeclared name is deprecated)
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h: In
static member function 'static void Eigen::ei_palign_impl<Offset, long
long int __vector__>::run(long long int __vector__&, const long long
int __vector__&)':
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h:249:
error: there are no arguments to '_mm_alignr_epi8' that depend on a
template parameter, so a declaration of '_mm_alignr_epi8' must be
available
Scanning dependencies of target rtmrefresh
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h: In
static member function 'static void Eigen::ei_palign_impl<Offset,
double __vector__>::run(double __vector__&, const double
__vector__&)':
/usr/local/include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h:259:
error: there are no arguments to '_mm_alignr_epi8' that depend on a
template parameter, so a declaration of '_mm_alignr_epi8' must be
available
Building CXX object libs/rtm/tests/CMakeFiles/rtmlogin.dir/login.o
[ 79%] Building CXX object
libs/rtm/tests/CMakeFiles/rtmrefresh.dir/rtmrefresh_automoc.o
[ 79%] Building CXX object libs/rtm/tests/CMakeFiles/rtmrefresh.dir/refresh.o
gmake[2]: *** [wallpapers/mandelbrot/CMakeFiles/plasma_wallpaper_mandelbrot.dir/render_with_arch_defaults.o]
Error 1
gmake[2]: *** Waiting for unfinished jobs....
[ 80%] Building CXX object
containments/groupingdesktop/lib/CMakeFiles/plasma_groupingcontainment.dir/groupingcontainment.o
[ 80%] gmake[2]: ***
[wallpapers/mandelbrot/CMakeFiles/plasma_wallpaper_mandelbrot.dir/mix.o]
Error 1
gmake[1]: *** [wallpapers/mandelbrot/CMakeFiles/plasma_wallpaper_mandelbrot.dir/all]
Error 2
[ 80%] gmake[1]: *** Waiting for unfinished jobs....
Generating kopete_interface.cpp, kopete_interface.h
Building CXX object
containments/groupingdesktop/lib/CMakeFiles/plasma_groupingcontainment.dir/handle.o


Regards


More information about the kde-freebsd mailing list