[MacPorts] #58263: OpenBLAS fails for missing _cpuid_count

MacPorts noreply at macports.org
Fri Mar 29 07:35:29 UTC 2019


#58263: OpenBLAS fails for missing _cpuid_count
-----------------------+--------------------------
  Reporter:  rmottola  |      Owner:  NicosPavlov
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  leopard i386
      Port:  OpenBLAS  |
-----------------------+--------------------------
Changes (by ryandesign):

 * status:  new => assigned
 * keywords:  Leopard i386 => leopard i386
 * owner:  (none) => NicosPavlov
 * cc: NicosPavlov (removed)


Old description:

> 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

New description:

 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
 }}}

--

Comment:

 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.

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


More information about the macports-tickets mailing list