[MacPorts] #44941: tbb @4.3-20140724: ‘struct malloc_introspection_t’ has no members named ‘enable_discharge_checking’ ‘disable_discharge_checking’ or ‘discharge’
#44941: tbb @4.3-20140724: ‘struct malloc_introspection_t’ has no members named ‘enable_discharge_checking’ ‘disable_discharge_checking’ or ‘discharge’ --------------------------+-------------------- Reporter: ryandesign@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: tbb --------------------------+-------------------- tbb failed to build on the snow leopard build server. https://build.macports.org/builders/buildports-snowleopard- x86_64/builds/29443/steps/compile/logs/stdio {{{ /usr/bin/g++-4.2 -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -Wall -fPIC -D__TBBMALLOC_BUILD=1 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/proxy.cpp /usr/bin/g++-4.2 -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -Wall -fPIC -D__TBBMALLOC_BUILD=1 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/tbb_function_replacement.cpp In file included from ../../src/tbbmalloc/proxy.cpp:65: ../../src/tbbmalloc/proxy_overload_osx.h: In constructor ‘DoMallocReplacement::DoMallocReplacement()’: ../../src/tbbmalloc/proxy_overload_osx.h:134: error: ‘struct malloc_introspection_t’ has no member named ‘enable_discharge_checking’ ../../src/tbbmalloc/proxy_overload_osx.h:135: error: ‘struct malloc_introspection_t’ has no member named ‘disable_discharge_checking’ ../../src/tbbmalloc/proxy_overload_osx.h:136: error: ‘struct malloc_introspection_t’ has no member named ‘discharge’ ../../src/tbbmalloc/proxy_overload_osx.h:150: error: ‘struct malloc_zone_t’ has no member named ‘pressure_relief’ make[1]: *** [proxy.o] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/44941> MacPorts <http://www.macports.org/> Ports system for OS X
#44941: tbb @4.3-20140724: ‘struct malloc_introspection_t’ has no members named ‘enable_discharge_checking’ ‘disable_discharge_checking’ or ‘discharge’ ---------------------------+-------------------- Reporter: ryandesign@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: tbb | ---------------------------+-------------------- Comment (by sean@…): In my haste to upgrade I missed that the latest TBB only supports 10.9 (the previous version only officially support 10.8 and higher). What is the best way to approach this? Unfortunately, I don't have a 10.6 system to test on. -- Ticket URL: <https://trac.macports.org/ticket/44941#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44941: tbb @4.3-20140724: ‘struct malloc_introspection_t’ has no members named ‘enable_discharge_checking’ ‘disable_discharge_checking’ or ‘discharge’ ---------------------------+-------------------- Reporter: ryandesign@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: tbb | ---------------------------+-------------------- Comment (by sean@…): Confirmed that the missing members are only available in 10.7 and higher. I will go ahead and submit a patch to remove the lines setting the offending fields in the `malloc_introspection_t` structure in the TBB source, which should allow TBB to work under 10.6. -- Ticket URL: <https://trac.macports.org/ticket/44941#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts