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: Build without .so files


On Thu, Feb 27, 2020 at 11:51:41AM +0000, Romain GEISSLER wrote:
> It looks like last year a change was merge removing the need to dlopen the backend libraries [1].

Yes, this is part of the 0.178 release.

> Right now, even if I configure with flags like "—disable-shared
> --enable-static" it seems that I still endup with .so files and that
> tools like eu-readelf depend on it. So what is the official way
> today to have a fully static build ?

There is none. Sorry.

> I saw BUILD_STATIC in
> configure.ac, but it seems to be enabled only for gcov/gprof
> builds. Would it make sense to take —disable-shared here ?

Yes, that might make sense. It isn't really tested much though.  So
someone would have to carefully audit the build files to see if it
really works as intended.

Cheers,

Mark


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