Skip to content

Commit 47069af

Browse files
ykoehlerYannick Koehler
and
Yannick Koehler
authored
disable dl_iterate_phdr for uclibc (#396)
Co-authored-by: Yannick Koehler <ykoehler@arubanetworks.com>
1 parent bcf088e commit 47069af

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/symbolize/gimli.rs

+6-3
Original file line numberDiff line numberDiff line change
@@ -358,9 +358,12 @@ cfg_if::cfg_if! {
358358
bias: slide,
359359
})
360360
}
361-
} else if #[cfg(any(
362-
target_os = "linux",
363-
target_os = "fuchsia",
361+
} else if #[cfg(all(
362+
any(
363+
target_os = "linux",
364+
target_os = "fuchsia",
365+
),
366+
not(target_env = "uclibc"),
364367
))] {
365368
// Other Unix (e.g. Linux) platforms use ELF as an object file format
366369
// and typically implement an API called `dl_iterate_phdr` to load

0 commit comments

Comments
 (0)