Opened 15 months ago

Closed 15 months ago

Last modified 15 months ago

#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 Xi Ruoyao, 15 months ago

We'll need to add libzstd.so.&zstd-version; into online_usrlib once Binutils is linked to zstd.

comment:2 by Xi Ruoyao, 15 months ago

Owner: changed from lfs-book to Xi Ruoyao
Status: newassigned

in reply to:  description comment:3 by Xi Ruoyao, 15 months ago

Replying to 5340:

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.

Last edited 15 months ago by Xi Ruoyao (previous) (diff)

comment:4 by Xi Ruoyao, 15 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.