Skip to content

[oneTBB backend] macOS < 10.13 with libc++ need -fno-aligned-allocation  #219

Open
@barracuda156

Description

@barracuda156

@eddelbuettel Could we fix this? The issue arises only with OneTBB backend and Clang with libc++ on < 10.13 (that is why we did not face it earlier: legacy TBB was used until recently).

We could fix it for dependents of RcppParallel like this:
macports/macports-ports@627f0dd

But considering a number of affected ports, it is somewhat suboptimal solution.

(To be explicit, this should not be used with gcc and libstdc++ on any macOS versions, including < 10.13. Everything works fine there, and also the flag is Clang-specific.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions