This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [RFC] [PATCH] Fix configure scripts for Debian systems
- From: Roland McGrath <roland at redhat dot com>
- To: "Stone, Joshua I" <joshua dot i dot stone at intel dot com>
- Cc: systemtap at sourceware dot org
- Date: Thu, 12 Jun 2008 15:38:55 -0700 (PDT)
- Subject: Re: [RFC] [PATCH] Fix configure scripts for Debian systems
- References: <20080612220747.GA8647@jistone-expr.sc.intel.com>
Systemtap does not use libebl directly any more, so there is really no need
to have the AC_CHECK_LIB for it at all.
I would argue that packagers of elfutils providing only static libraries
ought to do something like provide a libdw.so file containing:
GROUP ( libdw.a libebl.a libelf.so )
so that -ldw works for programs that use dwarf_* and dwfl_* entry points,
as it does in the normal arrangement where libdw.so is a shared library.
That said, it should do no harm to link stap with
-Wl,--start-group -ldw -lebl -Wl,--end-group -lelf
when the normal DSOs are there. libebl.a will be
consulted but having nothing to supply.
Thanks,
Roland