facebook / facebook/folly

folly/folly/experimental/symbolizer/StackTrace.cpp:94:9: error: function ‘ssize_t folly::symbolizer::{anonymous}::getStackTraceInPlace(unw_context_t&, unw_cursor_t&, uintptr_t*, size_t)’ can never be inlined because it uses setjmp

Open
#1,698 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
30.5k
Forks
5.9k
PR merge metrics
No merged PRs in 30d

Description

Hi
I got this error, when using build.sh and Ampere ARM server, do you know how can i solve it?
ERROR LOG:
folly/folly/experimental/symbolizer/StackTrace.cpp:94:9: error: function ‘ssize_t folly::symbolizer::{anonymous}::getStackTraceInPlace(unw_context_t&, unw_cursor_t&, uintptr_t*, size_t)’ can never be inlined because it uses setjmp
ssize_t getStackTraceInPlace(

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the build.sh failure on the reported Ampere ARM server and read folly/experimental/symbolizer/StackTrace.cpp around line 94, especially getStackTraceInPlace. Confirm which compiler and build configuration produce the setjmp inlining diagnostic. Done means identifying and documenting a build that completes successfully or a clearly scoped change needed to resolve the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.