Skip to content

Add arm64/armhf Ubuntu libc support and fix deb unpacking - #75

Open
zsy-arch wants to merge 2 commits into
niklasb:masterfrom
zsy-arch:add-arm-support
Open

Add arm64/armhf Ubuntu libc support and fix deb unpacking#75
zsy-arch wants to merge 2 commits into
niklasb:masterfrom
zsy-arch:add-arm-support

Conversation

@zsy-arch

Copy link
Copy Markdown

Adds a new ubuntu-arm category to ./get that fetches arm64/armhf glibc/musl/eglibc/dietlibc packages from ports.ubuntu.com, and fixes a bug in ./download where extraction could falsely report failure (and miss usr/lib/, lib64 layouts) — verified end-to-end on an arm64 Ubuntu host.

zsy-arch added 2 commits July 30, 2026 14:41
- get_all_debian() accepts an arch regex param (default amd64|i386)
- New 'ubuntu-arm' category in ./get, fetching arm64/armhf glibc/musl/
  eglibc/dietlibc from ports.ubuntu.com
- download: fix false 'Failed to save' errors when a lib subdir
  (e.g. gconv/) is present; add usr/lib/<triplet>, lib64, usr/lib64
  layout support
…l loss

- dump_libc_start_main_ret now recognizes ARM/AArch64 call instructions
  (bl/blr/blx) in addition to x86's call, fixing ./dump failures on
  arm64/armhf libc entries.
- dump_symbols now forces LC_ALL=C sort -u, since locale-aware collation
  (e.g. en_US.UTF-8) could silently drop symbols differing only by a
  leading underscore (e.g. dup2 vs __dup2).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant