This forum has been archived. All content is frozen. Please use KDE Discuss instead.

ARM Aarch64 + Clang/LLVM 3.5 compile bug

Tags: None
(comma "," separated)
User avatar
emilf
Registered Member
Posts
29
Karma
0
OS
Hi all!

I am testing latest Eigen on an ODROID-C2 board (Aarch64) and I am getting the following error when compiling with Clang 3.5.0-10:
Code: Select all
In file included from /home/emifre/catkin_ws/devel/include/eigen3/Eigen/Core:355:
/home/emifre/catkin_ws/devel/include/eigen3/Eigen/src/Core/arch/NEON/Complex.h:286:35: error: statement expression not allowed at file scope
static uint64x2_t p2ul_CONJ_XOR = vld1q_u64( p2ul_conj_XOR_DATA );
                                  ^
/usr/include/clang/3.5.0/include/arm_neon.h:7624:39: note: expanded from macro 'vld1q_u64'
#define vld1q_u64(__p0) __extension__ ({ \
                                      ^
1 error generated.

I do not get this error with GCC, but I am trying Clang as Eigen's templates eats up all the RAM of the board (2 GB). :)
I read that Clang has slightly less memory usage so I'm hoping this gets fixed.

Edit:
This error does not happen in Eigen 3.2.7 & 3.2.10.

Edit2:
Does one have to email the developers to get an account on the bug tracker to do bug reports there?

Edit3:
In https://github.com/tensorflow/tensorflow/issues/3065 they have a workaround for this problem.
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]