diff --git a/src/symbolize/gimli.rs b/src/symbolize/gimli.rs index 2330c4f0b..ad5410c00 100644 --- a/src/symbolize/gimli.rs +++ b/src/symbolize/gimli.rs @@ -358,9 +358,12 @@ cfg_if::cfg_if! { bias: slide, }) } - } else if #[cfg(any( - target_os = "linux", - target_os = "fuchsia", + } else if #[cfg(all( + any( + target_os = "linux", + target_os = "fuchsia", + ), + not(target_env = "uclibc"), ))] { // Other Unix (e.g. Linux) platforms use ELF as an object file format // and typically implement an API called `dl_iterate_phdr` to load