question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Packages that require new OSX SDKs

See original GitHub issue

Issue:

We have moved from C++14 to C++17 and there are now a couple of issues when building our library on conda-forge. I’ll focus for now on the OSX issue only. When compiling our Python bindings using pybind11, with clang 9.0.0, we get errors with a note as this:

note: 'operator delete' has been explicitly marked unavailable here
_LIBCPP_OVERRIDABLE_FUNC_VIS _LIBCPP_AVAILABILITY_SIZED_NEW_DELETE void  operator delete(void* __p, std::size_t __sz) _NOEXCEPT;

We have already investigated this issue in the web, and we now add the compile options -fno-aligned-allocation -fno-sized-deallocation, which have been enough to solve the exact same issue in our own machines (making sure clang 9.0.0 from conda-forge is used). However, the issue is not resolved with these options when compiling in a conda-forge environment. Full build log available in this Azure link.

@isuruf has pointed out that this is due to an older SDK and a newer one could be provided as a solution.

The full build log (with all env and conda system info) in this text file:

conda-forge-osx-build-log.txt

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:22 (19 by maintainers)

github_iconTop GitHub Comments

1reaction
isurufcommented, Nov 16, 2019

Thanks @beckermr

0reactions
beckermrcommented, Nov 15, 2019

fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MacOSX 11.2 SDK | Apple Developer Forums
MacOSX 11.2 SDK · macOS · Xcode · Apple Silicon.
Read more >
A primer on macOS SDKs - Firefox Source Docs
A macOS SDK is an on-disk directory that contains header files and meta information for macOS APIs. Apple distributes SDKs as part of...
Read more >
How can I download and install macOS 10.12 SDK?
To run Xcode 8.3.3 you'll need either macOS Sierra 10.12 or macOS ... The latest release for them can be downloaded from the...
Read more >
Where to get macos SDK 10.6 for Xcode?
If you don't know how to crack open these packages, just install it. ... UPDATE: In modern versions of Xcode (7.3+) to use...
Read more >
Rollbar SDKs and the new Apple-Silicon Mac Platform
12.2 and Xamarin related packages to their latest available beta packages), the build succeeded, and the app ran well, producing a valid payload ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found