You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's odd. The libbacktrace configure script checks whether dl_iterate_phdr exists, and only calls it if it is present on the system. Why does the configure script find dl_iterate_phdr if it is not present on your system?
I tried cross compiled on MIPS and the static lib was generated fine
./mips-linux-gcc --version
mips-linux-xgcc (Realtek RSDK-1.5.6p2) 4.4.6
Copyright (C) 2010 Free Software Foundation, Inc.
ls
../rsdk-1.5.6-5281-EB-2.6.30-0.9.30.3-131105/lib/libbacktrace.a
But getting below error while executing the below 'bt' same code (statically linked with libbacktrace.a)
https://github.com/ErwanLegrand/libbacktrace/blob/master/examples/bt.c
output/bt: ELF 32-bit MSB executable, MIPS, MIPS-I version 1 (SYSV), dynamically linked, interpreter /lib/ld-uClibc.so.0, with debug_info, not stripped
./bt
can't resolve symbol 'dl_iterate_phdr'
The text was updated successfully, but these errors were encountered: