ooooo ooo ooooooooo. ooooooo ooooo
`888' `8' `888 `Y88. `8888 d8'
888 8 888 .d88' Y888..8P
888 8 888ooo88P' `8888'
888 8 888 .8PY888.
`88. .8' 888 d8' `888b
`YbodP' o888o o888o o88888o
The Ultimate Packer for eXecutables
https://upx.github.io
This repository consists of a single GitHub Actions workflow file that builds UPX with a recent Zig binary testing 124 different build targets.
See Actions for actual build results and logs.
And visit https://andrewkelley.me/post/zig-cc-powerful-drop-in-replacement-gcc-clang.html
for some background info about zig cc
.
- ziglang/zig#10411
- ziglang/zig#20690 RFC/Proposal: Turning Zig target triples into quadruples
- 2022-11-17 https://github.com/ziglang/zig/commit/88a0f3d windows: fix _tls_index
- 2022-12-28 https://github.com/ziglang/zig/commit/7350f0d mingw: add missing vscprintf.c file
- 2022-12-28 https://github.com/ziglang/zig/commit/34887cf powerpc does not have a red zone
- TODO: this seems WRONG (but is probably harmless):
- 2023-01-21 ziglang/zig#14397
- closes ziglang/zig#12992 zig c++ does not support exceptions on macos
- 2023-01-22 https://github.com/ziglang/zig/commit/aa626de
- 2023-01-22 https://github.com/ziglang/zig/commit/8484df5 zig cc: add -Wno-overriding-t-option to clang on darwin
- 2023-07-21 https://github.com/ziglang/zig/commit/8a18abf Remove the SingleThread limitation for ARM
- closes ziglang/zig#6573
- older Windows versions (XP and Vista)
- 2023-10-02 https://github.com/ziglang/zig/commit/15ce965 define _WIN32_WINNT based on target
- INFO: this reveals that libunwind cannot be compiled for XP and Vista (i386 only)
- libunwind needs
AcquireSRWLockShared()
(>= Windows Vista aka Windows 6) - on i386 libunwind also needs
EnumProcessModules()
from PSABI_VERSION 2, i.e >= Windows 7
- libunwind needs
- INFO: this reveals that libunwind cannot be compiled for XP and Vista (i386 only)
- 2024-01-xx: zig now targets
ucrt
instead ofmsvcrt
, so Windows 7 is required anyway- TODO: is this really true?
- 2023-10-02 https://github.com/ziglang/zig/commit/15ce965 define _WIN32_WINNT based on target
-
ziglang/zig#10989 pthread.h not found for target x86_64-windows-gnu
-
ziglang/zig#12992 zig c++ does not support exceptions on macos
-
ziglang/zig#13384 zig cc -target -windows-gnu produces a large amount of warnings
-
ziglang/zig#17928 zig cc -c -fPIE stopped working
-
ziglang/zig#18009 zig cc -c -fstack-protector stopped working
-
ziglang/zig#18690 zig cc -target x86_64-windows.win7-gnu stopped working
-
ziglang/zig#19206 zig cc -target x86_64-macos-none stopped working
-
ziglang/zig#19385 Improve old glibc versions
-
ziglang/zig#20389 Some riscv32-linux porting work
-
llvm/llvm-project#97222 [MC] Support .cfi_label