-
Notifications
You must be signed in to change notification settings - Fork 13k
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
backtraces have blank lines and <unknown> instead of function names on FreeBSD #54434
backtraces have blank lines and <unknown> instead of function names on FreeBSD #54434
Comments
Output for the same code on macOS -- notice that
|
There's a downstream patch for this https://reviews.freebsd.org/D11574 (found through https://svnweb.freebsd.org/ports/head/lang/rust/files/) Upstreamed path to gcc: https://gcc.gnu.org/ml/gcc-patches/2018-03/msg00068.html (don't know how to tell if it's been merged) |
I looked at gcc git and that patch is not there. It also isn't in https://github.com/ianlancetaylor/libbacktrace (I'm not sure anymore if one repository is canonical or if merges are done both ways). |
By the way, mounting |
I'd suggest sending the patch as a PR to the aforementioned libbacktrace repository, then once it lands, also update the libbacktrace in rust-lang-nursery. |
* Define HAVE_KERN_PROC on FreeBSD to fix rust-lang/rust#54434 For the same reason define HAVE_KERN_PROC_ARGS on NetBSD. This depends on having [1] available in libbacktrace. [1] ianlancetaylor/libbacktrace@0f06cda * Add dragonfly too
Update backtrace crate to 0.3.46 * Support line-tables-only when using libbacktrace * Update libbacktrace to latest master * Define HAVE_KERN_PROC on FreeBSD to fix rust-lang#54434
Update backtrace crate to 0.3.46 * Support line-tables-only when using libbacktrace * Update libbacktrace to latest master * Define HAVE_KERN_PROC on FreeBSD to fix rust-lang#54434
Update backtrace crate to 0.3.46 * Support line-tables-only when using libbacktrace * Update libbacktrace to latest master * Define HAVE_KERN_PROC on FreeBSD to fix rust-lang#54434
Note that I am using
rustup
, not the FreeBSDlang/rust
port.The text was updated successfully, but these errors were encountered: