DD1984 / sockperf

Automatically exported from code.google.com/p/sockperf
Other
1 stars 0 forks source link

add -rdynamic to makefile for stacktrace printout #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
please add -rdynamic to link command in Makefile.am
can be done using AM_LDFLAGS = -rdynamic

bellow is the description from man gcc
-rdynamic
Pass the flag -export-dynamic to the ELF linker, on targets that support it. 
This instructs the linker to add all symbols, not only used ones, to the 
dynamic symbol table. This option is needed for some uses of "dlopen" or to 
allow obtaining backtraces from within a program.

(note: we already use backtrace printouts upon error - this change will show 
them better)

Original issue reported on code.google.com by avne...@gmail.com on 31 Aug 2011 at 7:57

GoogleCodeExporter commented 9 years ago
please handle

Original comment by avne...@gmail.com on 31 Aug 2011 at 7:58

GoogleCodeExporter commented 9 years ago

Original comment by avne...@gmail.com on 31 Aug 2011 at 7:58

GoogleCodeExporter commented 9 years ago
added.

Original comment by yee...@mellanox.com on 1 Sep 2011 at 11:44