[MacPorts] #58528: OpenBLAS @0.3.6: error: 32-bit absolute addressing is not supported in 64-bit mode

MacPorts noreply at macports.org
Sat Oct 5 19:20:30 UTC 2019


#58528: OpenBLAS @0.3.6: error: 32-bit absolute addressing is not supported in
64-bit mode
-----------------------+-------------------------
  Reporter:  kencu     |      Owner:  NicosPavlov
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  OpenBLAS  |
-----------------------+-------------------------

Comment (by kencu):

 So the issue in this ticket is actually different than [ticket:58832], and
 seems to be that the forced processor, "YONAH", doesn't exist in that
 file, and so there is no macro to define it properly, ergo the unreplaced
 `PREFETCH`. Just spitballin', it looks like it should be the same as
 CORE2, but that's a WAG at the moment:
 {{{
 #ifdef ATOM
 #define PREFETCH        prefetcht0
 #define PREFETCHW       prefetcht0
 #define PREFETCHSIZE    (16 * 12)
 #endif

 #ifdef CORE2
 #define PREFETCH        prefetcht0
 #define PREFETCHW       prefetcht0
 #define PREFETCHSIZE    (16 * 12)
 #endif

 #if defined(PENRYN) || defined(DUNNINGTON)
 #define PREFETCH        prefetcht0
 #define PREFETCHW       prefetcht0
 #define PREFETCHSIZE    (16 * 12)
 #endif

 #if defined(NEHALEM) || defined(SANDYBRIDGE)  || defined(HASWELL) ||
 defined(ZEN) || defined (SKYLAKEX)
 #define PREFETCH        prefetcht0
 #define PREFETCHW       prefetcht0
 #define PREFETCHSIZE    (16 * 12)
 #endif

 #ifdef PENTIUM4
 #define PREFETCH        prefetcht0
 #define PREFETCHW       prefetcht0
 #define PREFETCHSIZE    (16 * 20)
 #endif

 #ifdef OPTERON
 #define PREFETCH        prefetch
 #define PREFETCHW       prefetchw
 #define PREFETCHSIZE    (16 * 8)
 #define movsd           movlps
 #endif

 #if defined(BARCELONA) || defined(SHANGHAI) || defined(BOBCAT) ||
 defined(BARCELONA_OPTIMIZATION)
 #define PREFETCH        prefetch
 #define PREFETCHW       prefetchw
 #define PREFETCHSIZE    (16 * 16)
 #endif

 #ifdef NANO
 #define PREFETCH        prefetcht0
 #define PREFETCHW       prefetcht0
 #define PREFETCHSIZE    (16 * 24)
 #endif

 #ifdef GENERIC
 #define PREFETCH        prefetcht0
 #define PREFETCHW       prefetcht0
 #define PREFETCHSIZE    (16 * 20)
 #endif
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/58528#comment:21>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list