Opened 10 years ago

Closed 10 years ago

#46569 closed defect (fixed)

eigen3 @3.2.3 header compilatin error

Reported by: rsanchez.saez@… Owned by: eborisch (Eric A. Borisch)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: mkae (Marko Käning)
Port: eigen3

Description

After updating as per issue #4650, the header has an error when compiling to arm64.

The solution is to apply this patch https://bitbucket.org/eigen/eigen/commits/3e99bd6c81d0/ as noted here https://forum.kde.org/viewtopic.php?f=74&t=124334.

Attachments (1)

Screen Shot 2015-01-15 at 20.37.44.png (411.0 KB) - added by rsanchez.saez@… 10 years ago.
Compilation when targeting ARM64

Download all attachments as: .zip

Change History (6)

comment:1 Changed 10 years ago by rsanchez.saez@…

Sorry: I meant after updating as per issue #46506.

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to eborisch@…
Port: eigen3 added

Could you please attach a main.log file showing the problem you encountered?

Changed 10 years ago by rsanchez.saez@…

Compilation when targeting ARM64

comment:3 Changed 10 years ago by rsanchez.saez@…

I attached a screenshot showing the errors I get when compiling a project that includes the Eigen headers to an arm64 target.

Replacing '_ _pld' by the 'EIGEN_ARM_PREFETCH' macro in both NEON specific headers fixes it.

_ _pld() is not defined in the ARM64 arch (such as the iPhone 5s and up).

Version 4, edited 10 years ago by rsanchez.saez@… (previous) (next) (diff)

comment:4 Changed 10 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:5 Changed 10 years ago by eborisch (Eric A. Borisch)

Resolution: fixed
Status: newclosed

Resolved (in 3.2.4) with r132131.

Note: See TracTickets for help on using tickets.