Bug 15131 - Target GDB uses internal zlib
Summary: Target GDB uses internal zlib
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-14 11:46 UTC by Dirk Schoebel
Modified: 2022-12-04 12:01 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Schoebel 2022-11-14 11:46:06 UTC
Target GDB enables zlib support if zlib is enabled for the target.
The dependency is set correctly too.
However, when configuring it only passes '--with-zlib' which enables the internally shipped zlib library and does not use the system one, which the dependency would imply. The correct (possibly additional) configure flag would be '--with-system-zlib' to use the one available on the system already.
Comment 1 Yann E. MORIN 2022-12-04 12:01:13 UTC
Dirk, All,

Thanks for the report. We believe that has now been fixed with
commit 3341ceb1e585 (package/gdb: zlib is mandatory, not optional)
from Fabrice.

If the problem persists, please re-open.

Regards,
Yann E. MORIN.