Opened 3 months ago

Last modified 3 months ago

#70229 new defect

R-RcppParallel dependents using libc++ on < 10.12 need a fix for aligned deallocation: error: aligned deallocation function of type 'void (void *, std::align_val_t) noexcept' is only available on macOS 10.13 or newer

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: elcapitan, yosemite Cc:
Port: R-rstan, R-RcppParallel, onetbb

Description

In file included from /opt/local/libexec/onetbb/include/tbb/../oneapi/tbb/task_arena.h:27:
/opt/local/libexec/onetbb/include/tbb/../oneapi/tbb/detail/_task.h:216:13: error: aligned deallocation function of type 'void (void *, std::align_val_t) noexcept' is only available on macOS 10.13 or newer
    virtual ~task() = default;
            ^
/opt/local/libexec/onetbb/include/tbb/../oneapi/tbb/detail/_task_handle.h:49:5: note: in defaulted destructor for 'tbb::detail::d1::task' first required here
    task_handle_task(d1::wait_context& wo, d1::task_group_context& ctx, d1::small_object_allocator& alloc)
    ^
/opt/local/libexec/onetbb/include/tbb/../oneapi/tbb/detail/_task.h:216:13: note: if you supply your own aligned allocation functions, use -faligned-allocation to silence this diagnostic
    virtual ~task() = default;
            ^

Change History (2)

comment:1 Changed 3 months ago by barracuda156

See also: #69657

comment:2 Changed 3 months ago by barracuda156

Keywords: mavericks mountainlion lion snowleopard removed
Note: See TracTickets for help on using tickets.