[BUG] Freestanding C ABI witness retains a named undefined symbol #10

Closed
opened 2026-10-17 05:18:50 +02:00 by erikinkinen · 2 comments
Owner

Summary

The C ABI probe rejects a named undefined symbol in its freestanding link at 57f715ad. The failure log omits the symbol-table rows needed to identify the dependency.

Reproduction

Run the maintained C ABI probe at 57f715ad with its selected original dependencies, or inspect CI 256.

Expected and actual behavior

The host calls and freestanding links must preserve the calling-convention witnesses without unresolved symbols. The probe instead stops at freestanding link retains a named undefined symbol after all 87 Python controls pass.

Environment and identity

LibPosixABI 57f715adca9ba6b4fafe5de082098db212ce41ac, test job 48598, attempt 1. The probe covers GCC and Clang at O0/O2 and the x86_64-unknown-none target.

Evidence and prior checks

The new wait/resource witness uses array and derived record equality where older freestanding witnesses check fields directly. A generated memory helper is a possible cause; the exact symbol and failing compiler/optimization are not yet known. The separate source-resolver repair is tracked in #9.

Tracking

  • Preserve all six leading arguments and all eleven expected raw fields in both calling conventions.
  • Print the original undefined-symbol rows and linked path on failure, with regression coverage.
  • Pass formatting for the changed Rust fixture.
  • Pass the complete maintained C ABI matrix without warnings or undefined symbols.
## Summary The C ABI probe rejects a named undefined symbol in its freestanding link at `57f715ad`. The failure log omits the symbol-table rows needed to identify the dependency. ## Reproduction Run the maintained C ABI probe at `57f715ad` with its selected original dependencies, or inspect [CI 256](https://git.erikinkinen.fi/erix/lib-posixabi/actions/runs/256). ## Expected and actual behavior The host calls and freestanding links must preserve the calling-convention witnesses without unresolved symbols. The probe instead stops at `freestanding link retains a named undefined symbol` after all 87 Python controls pass. ## Environment and identity LibPosixABI `57f715adca9ba6b4fafe5de082098db212ce41ac`, test job 48598, attempt 1. The probe covers GCC and Clang at O0/O2 and the `x86_64-unknown-none` target. ## Evidence and prior checks The new wait/resource witness uses array and derived record equality where older freestanding witnesses check fields directly. A generated memory helper is a possible cause; the exact symbol and failing compiler/optimization are not yet known. The separate source-resolver repair is tracked in #9. ## Tracking - [x] Preserve all six leading arguments and all eleven expected raw fields in both calling conventions. - [x] Print the original undefined-symbol rows and linked path on failure, with regression coverage. - [x] Pass formatting for the changed Rust fixture. - [x] Pass the complete maintained C ABI matrix without warnings or undefined symbols.
Author
Owner

c0027de3 replaces the new aggregate comparisons with the same complete field checks in both calling conventions. The unchanged link refusal now prints every original undefined-symbol row and the linked path. Formatting and all 15 driver controls pass. The complete native matrix in the new CI run remains pending; CI256’s exact unresolved symbol remains unknown.

c0027de3 replaces the new aggregate comparisons with the same complete field checks in both calling conventions. The unchanged link refusal now prints every original undefined-symbol row and the linked path. Formatting and all 15 driver controls pass. The complete native matrix in the new CI run remains pending; CI256’s exact unresolved symbol remains unknown.
Author
Owner

CI258 passes at c0027de3, including formatting, strict Clippy, Rust tests, all 88 Python controls and the complete maintained C ABI matrix. Host calls and freestanding static links pass with GCC and Clang at O0/O2, without warnings. Freestanding execution is outside this probe. CI256’s exact unresolved symbol remains unknown.

CI258 passes at c0027de3, including formatting, strict Clippy, Rust tests, all 88 Python controls and the complete maintained C ABI matrix. Host calls and freestanding static links pass with GCC and Clang at O0/O2, without warnings. Freestanding execution is outside this probe. CI256’s exact unresolved symbol remains unknown.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 09:34:51 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
erix/lib-posixabi#10
No description provided.