[PATCH V4] gprofng: a new GNU profiler
Maciej W. Rozycki
macro@embecosm.com
Wed Feb 2 12:40:58 GMT 2022
On Thu, 27 Jan 2022, Jose E. Marchesi via Binutils wrote:
> > It looks like you configured build without --enable-shared.
> > If yes, this is expected.
>
> Woudn't it be better to skip building gprofng in case no --enable-shared
> is specified at `configure' time?
Is it actually necessary to require `--enable-shared' in the first place
for the program to work?
The thing is there is (otherwise) little point in using the option with
binutils, given that both libbfd and libopcodes are internal libraries not
for general use and neither provides a stable ABI, so every revision would
have to be separately installed if any external programs were to use them.
Therefore having these libraries built as DSOs causes all the drawbacks
of dynamic loading while no advantages of same are virtually used, and
consequently I believe hardly anyone uses such a configuration.
Maciej
More information about the Binutils
mailing list