#5340 closed defect (fixed)
ICA: Binutils not linked to zstd
Reported by: | Xi Ruoyao | Owned by: | Xi Ruoyao |
---|---|---|---|
Priority: | normal | Milestone: | 12.1 |
Component: | Book | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description
Binutils building system attempts to detect zstd with pkg-config, but pkgconf is not installed before binutils. But if we rebuild Binutils on a full LFS system, it will link to zstd. So there is an ICA issue.
If Binutils is linked to zstd, it can use zstd instead of zlib for compressing debug sections (if required by the user via command line). So at least it's a useful feature.
I guess we can explicitly tell Binutils how to link to zstd to resolve the issue.
Change History (4)
comment:1 by , 16 months ago
comment:2 by , 16 months ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 16 months ago
Replying to Xi Ruoyao:
I guess we can explicitly tell Binutils how to link to zstd to resolve the issue.
It's very difficult (requiring nasty hacks on building system). Perhaps moving pkgconf before binutils is easier.
comment:4 by , 16 months ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed at r12.0-13-gb1b918267 and r12.0-14-g5f36bceaa.
We'll need to add libzstd.so.&zstd-version; into online_usrlib once Binutils is linked to zstd.