test
This commit is contained in:
@@ -2,6 +2,27 @@
|
||||
|
||||
---
|
||||
|
||||
## V44 2026-03-21 01:30:00
|
||||
|
||||
**Fix zlib chicken-and-egg: bootstrap host libz.so.1 into chroot before building**
|
||||
|
||||
### Changes:
|
||||
- Updated `023a-chroot-build-all.sh`: Before entering the chroot, copies the host
|
||||
system's `libz.so.1` into `$LFS/usr/lib/`. This breaks the circular dependency:
|
||||
ld needs libz.so.1 → can't link without it → can't build zlib without linking.
|
||||
The temporary copy lets ld work, so zlib's configure tests pass, and the real
|
||||
zlib build (024a-zlib.sh) replaces the temporary copy with a proper one.
|
||||
|
||||
### Plan deviation/changes:
|
||||
- None
|
||||
|
||||
### What is missing/needs polish:
|
||||
- The host-copied libz.so.1 is a temporary hack. It gets replaced by the real
|
||||
zlib build immediately. If the host doesn't have zlib, the user needs to
|
||||
install it first (pacman -S zlib on Arch).
|
||||
|
||||
---
|
||||
|
||||
## V43 2026-03-21 01:15:00
|
||||
|
||||
**Add zlib build to chroot phase — ld needs libz.so.1 at runtime**
|
||||
|
||||
Reference in New Issue
Block a user