You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Harden ABI detection for cross-build wrappers (#19)
* Add explicit STACKMAN_ABI override support
* Normalize Windows ARM64 ABI token and keep alias compatibility
* Add ABI detection diagnostics and target-triple mismatch warning
* Use CFLAGS in target-triple probe and soften mismatch warning
* Document ABI detection hardening in changelog
* Address PR review feedback on changelog and ABI override
* Skip target probing when STACKMAN_ABI override is set
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
### Added
11
+
- Added explicit `STACKMAN_ABI` override support in the Makefile and ABI probe script for deterministic cross-build packaging
12
+
13
+
### Changed
14
+
- Normalized Windows ARM64 ABI naming to `win_arm64` and kept compatibility mapping for legacy `win_aarch64` inputs
15
+
- ABI probe diagnostics now query compiler target triple and emit clearer mismatch guidance when target intent is not fully propagated through wrapper/toolchain settings
16
+
- Target triple probing now prefers `CC` with `CFLAGS` (with fallback probing) so clang-style cross-target flags are reflected in secondary detection
if [ -n"${target_abi}" ] && [ "${target_abi}"!="${abi}" ];then
87
+
printf'%s\n'"warning: stackman ABI mismatch: compiler target '${target_triple}' suggests '${target_abi}', macro probe selected '${abi}'. This usually means target intent was not fully propagated (flags/wrapper selection). Consider setting STACKMAN_ABI explicitly for deterministic packaging.">&2
88
+
fi
89
+
if [ -n"${STACKMAN_ABI_DEBUG:-}" ] || [ -n"${STACKMAN_ABI_TRACE:-}" ];then
0 commit comments