Opened 6 years ago

Last modified 6 years ago

#58263 closed defect

OpenBLAS fails for missing _cpuid_count — at Version 1

Reported by: rmottola (Riccardo) Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version:
Keywords: i386 Cc: michaelld (Michael Dickens)
Port: OpenBLAS

Description (last modified by ryandesign (Ryan Carsten Schmidt))

On Leopard i386, OpenBLAS fails to compile, failure:

--->  Building OpenBLAS
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.3.5" && /usr/bin/make -j2 -w all AR=/opt/local/bin/ar RANLIB=/opt/local/bin/ranlib 
Undefined symbols for architecture i386:
  "_cpuid_count", referenced from:
      _get_cacheinfo in getarch-04fdc3.o
ld: symbol(s) not found for architecture i386

Change History (1)

comment:1 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: NicosPavlov removed
Description: modified (diff)
Keywords: leopard added; Leopard removed
Owner: set to NicosPavlov
Status: newassigned

Indeed, leopard is too old to have _cpuid_count built in. It could be added with a patch, as was done previously for other ports, like php in [d242053632fa2c95c0b88e3ddeef744d32236093/macports-ports].

Or maybe our legacy support port now offers (or could be changed to offer) this.

Note: See TracTickets for help on using tickets.