[MacPorts] #23944: tbb fails to build on PowerPC

MacPorts noreply at macports.org
Sun Feb 27 06:15:38 UTC 2022


#23944: tbb fails to build on PowerPC
-------------------------+------------------------------
  Reporter:  leducvin@…  |      Owner:  (none)
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  1.8.2
Resolution:              |   Keywords:  powerpc haspatch
      Port:  tbb         |
-------------------------+------------------------------

Comment (by barracuda156):

 On Tiger `tbb` fails:

 {{{

 In file included from ../../src/tbbmalloc/proxy.cpp:163:
 ../../src/tbbmalloc/proxy_overload_osx.h: In constructor
 'DoMallocReplacement::DoMallocReplacement()':
 ../../src/tbbmalloc/proxy_overload_osx.h:137: error: 'struct
 malloc_introspection_t' has no member named 'zone_locked'
 ../../src/tbbmalloc/proxy_overload_osx.h:153: error: 'struct
 malloc_zone_t' has no member named 'memalign'
 ../../src/tbbmalloc/proxy_overload_osx.h:154: error: 'struct
 malloc_zone_t' has no member named 'free_definite_size'
 ../../src/tbbmalloc/proxy_overload_osx.h:159: error:
 'malloc_default_purgeable_zone' was not declared in this scope
 ../../src/tbbmalloc/proxy_overload_osx.h: At global scope:
 ../../src/tbbmalloc/proxy_overload_osx.h:84: warning: 'boolean_t
 impl_zone_enable_discharge_checking(malloc_zone_t*)' defined but not used
 ../../src/tbbmalloc/proxy_overload_osx.h:89: warning: 'void
 impl_zone_disable_discharge_checking(malloc_zone_t*)' defined but not used
 ../../src/tbbmalloc/proxy_overload_osx.h:90: warning: 'void
 impl_zone_discharge(malloc_zone_t*, void*)' defined but not used
 ../../src/tbbmalloc/proxy_overload_osx.h:115: warning: 'size_t
 impl_pressure_relief(_malloc_zone_t*, size_t)' defined but not used
 make[1]: *** [proxy.o] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_tbb/tbb/work
 /oneapi-src-oneTBB-eca91f1/build/macports_release'
 make: *** [tbbmalloc] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_tbb/tbb/work
 /oneapi-src-oneTBB-eca91f1'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_tbb/tbb/work/tbb-2020.3"
 && /usr/bin/make -j1 -w tbb tbbmalloc tbbproxy compiler=gcc
 stdlib=libstdc++ tbb_build_prefix=macports use_proxy=1 arch=ppc32
 Exit code: 2
 }}}

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


More information about the macports-tickets mailing list