kumquat-buildroot/package/binutils
Fabrice Fontaine a3c1ba68f4 package/binutils: zlib is mandatory
As found out by Yann [1], binutils will use its bundled copy of zlib,
whether it is already provided by the system or not, and unless
explicitly told to use the system zlib with --with-system-zlib, which
is available since version 2.21 and
700d40ca16

This will fix the following build failure with oprofile when compiling
in a static configuration where zlib is not enabled:

    checking for bfd_openr in -lbfd... no
    checking for compress in -lz... no
    configure: error: libz library not found; required by libbfd

As found out by Arnout [1], this fails infrequently because static is
already pretty rare, but in addition zlib is almost always selected by
some other package.

Fixes:
 - http://autobuild.buildroot.org/results/0e1d16dfbb455a08db80ac5d35613908c3b4163f

[1] https://patchwork.ozlabs.org/project/buildroot/patch/20211030214734.2154583-1-fontaine.fabrice@gmail.com/

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr:
  - reword the explanations about the system zlib
  - extend the oprofile example with static and !zlib
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-11-10 21:40:39 +01:00
..
2.32
2.35.2
2.36.1
2.37
arc-2020.09-release
binutils.hash package/binutils: remove csky version 2021-10-17 18:59:25 +02:00
binutils.mk package/binutils: zlib is mandatory 2021-11-10 21:40:39 +01:00
Config.in package/binutils: zlib is mandatory 2021-11-10 21:40:39 +01:00
Config.in.host package/binutils: remove csky version 2021-10-17 18:59:25 +02:00