This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH 1/1] Add a --{enable,disable}-backends option
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Fri, 03 Apr 2015 13:20:32 +0200
- Subject: Re: [PATCH 1/1] Add a --{enable,disable}-backends option
Hi,
On Fri, 2015-04-03 at 10:03 +0200, Jan Heylen wrote:
> Add a --{enable,disable}-backends configuration option to elfutils. This
> allows to selectively disable the compilation of the libebl backends
> shared libraries. This is usefull when some application require linking
> against the elfutils libelf, but don't require the backends to be available
> at runtime on target, e.g. in a cross compilation setting.
I don't really like this solution since that means we are building known
broken binaries and libraries. If the backends aren't available various
things will just break or (worse) silently produce wrong results.
Could you explain what goes wrong in a cross compilation setting when
you build the backends? We might be able to fix this differently.
(Please assume I don't know how to actually setup a cross compilation
setting, I never cross compiled elfutils, but I am happy to learn.)
Thanks,
Mark