Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • eigen eigen
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 665
    • Issues 665
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Custom issue tracker
    • Custom issue tracker
  • Merge requests 17
    • Merge requests 17
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • libeigenlibeigen
  • eigeneigen
  • Issues
  • #1325
Closed
Open
Issue created Dec 04, 2019 by Eigen Bugzilla@eigenbzReporter

ARM Aarch64 + Clang/LLVM 3.5 will not compile with vectorization

Submitted by Emil Fresk

Assigned to Nobody

Link to original bugzilla bug (#1325)
Version: 3.3 (current stable)
Operating system: Linux

Description

  • Sniped from the forum post about the same problem, but put here for official handling *

I am testing latest Eigen on an ODROID-C2 board (ARM Aarch64) and I am getting the following error when compiling with Clang 3.5.0:

"""
In file included from .../eigen3/Eigen/Core:355:
.../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.
"""

It seems that there is a problem when instantiating the vectorization macros that sadly I am not enough familiar with to suggest a fix.
This error is not present in 3.2.xx.
Also, in https://github.com/tensorflow/tensorflow/issues/3065 they have a workaround for this problem.

Blocking

#558 (closed)

Edited Dec 05, 2019 by Eigen Bugzilla
Assignee
Assign to
Time tracking