Added zlib
This commit is contained in:
@@ -2,6 +2,29 @@
|
||||
|
||||
---
|
||||
|
||||
## V43 2026-03-21 01:15:00
|
||||
|
||||
**Add zlib build to chroot phase — ld needs libz.so.1 at runtime**
|
||||
|
||||
### Changes:
|
||||
- Added `024a-zlib.sh`: Builds zlib as the first package in the chroot. The linker
|
||||
(`ld`) from binutils pass 2 was compiled with zlib support and dynamically links
|
||||
against `libz.so.1`. Without it, every link attempt fails with "error while loading
|
||||
shared libraries: libz.so.1: cannot open shared object file". This was the actual
|
||||
root cause of "C compiler cannot create executables" — not a missing ld symlink
|
||||
(though that was also needed and fixed in V42).
|
||||
- Updated `023a-chroot-build-all.sh`: Added `024a-zlib.sh` between 024 and 025.
|
||||
- Simplified `024-chroot-essentials.sh`: Replaced verbose gcc diagnostic with a
|
||||
simple presence check + note that zlib must be built first.
|
||||
|
||||
### Plan deviation/changes:
|
||||
- None
|
||||
|
||||
### What is missing/needs polish:
|
||||
- None
|
||||
|
||||
---
|
||||
|
||||
## V42 2026-03-21 01:00:00
|
||||
|
||||
**Fix chroot gcc linker failure — create cross-prefix symlinks for ld**
|
||||
|
||||
Reference in New Issue
Block a user