This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] [PATCH] Fix configure scripts for Debian systems


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]