Skip to content

Add -Wl,--export-dynamic to AM_LDFLAGS

Ondřej Surý requested to merge ondrej-use--Wl,--export-dynamic into main

From the ld man page:

When creating a dynamically linked executable, using the -E option or the --export-dynamic option causes the linker to add all symbols to the dynamic symbol table. The dynamic symbol table is the set of symbols which are visible from dynamic objects at run time.

This should allow the backtrace(3) to fully resolve the symbols when creating backtrace on an assertion failure.

Merge request reports