This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils 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: [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

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