Skip to content

MacOS 10.13 Build is Broken #495

@dpapurt

Description

@dpapurt

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions