Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS 10.13 Build is Broken #495

Closed
dpapurt opened this issue Mar 8, 2021 · 0 comments · Fixed by #524
Closed

MacOS 10.13 Build is Broken #495

dpapurt opened this issue Mar 8, 2021 · 0 comments · Fixed by #524

Comments

@dpapurt
Copy link

dpapurt commented Mar 8, 2021

I am on macOS version 10.13.6. There is one recent change that now breaks the build on macOS 10.13, since the function backtrace_from_fp() appears not to exist in my older version of macOS. In the latest release, the linker fails with a symbol not found error for _backtrace_from_fp

Latest release file sentry_unwinder_libbacktrace.c has

    if (addr) {
#if defined(SENTRY_PLATFORM_MACOS) && __has_builtin(__builtin_available)
        if (__builtin_available(macOS 10.14, *))
            return (size_t)backtrace_from_fp(addr, ptrs, (int)max_frames);
#endif
        return 0;
    }

Previous releases that built in 10.13

    if (addr) {
#ifdef MAC_OS_X_VERSION_10_14
        return backtrace_from_fp(addr, ptrs, max_frames);
#endif
        return 0;
    }

I am hoping that you can make this work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant