Skip to content

arch/intel64: fix broken ostest#18772

Merged
xiaoxiang781216 merged 5 commits intoapache:masterfrom
raiden00pl:intel64_ostest_fix
Apr 21, 2026
Merged

arch/intel64: fix broken ostest#18772
xiaoxiang781216 merged 5 commits intoapache:masterfrom
raiden00pl:intel64_ostest_fix

Conversation

@raiden00pl
Copy link
Copy Markdown
Member

Summary

  • boards/qemu-intel64: align _etbss to fix TLS block size mismatch
  • arch/x86_64/intel64: fix signal delivery race in x86_64_sigdeliver
  • boards/qemu-intel64/ostest: enable assertions
  • boards/qemu-intel64/nsh enable assertions
  • boards/qemu-intel64/jumbo: enable assertions and full opt

Impact

fix #17132

also enabled DEBUGASSERT for configs where ostest is present, so that similar bugs will be faster to detect in the future

Testing

qemu-intel64/ostest - PASS
qemu-intel64/jumbo - PASS
qemu-intel64/nsh - PASS

enable assertions for qemu-intel64/ostest

Signed-off-by: raiden00pl <raiden00@railab.me>
@github-actions github-actions bot added Arch: x86_64 Issues related to the x86_64 architecture Size: S The size of the change in this PR is small Board: x86_64 labels Apr 21, 2026
enable assertions and full opt for qemu-intel64/jumbo

Signed-off-by: raiden00pl <raiden00@railab.me>
enable assertions and full opt for qemu-intel64/nsh

Signed-off-by: raiden00pl <raiden00@railab.me>
copy logic from arm64 to fix SMP bugs in the signal trampoline
caused signals to be lost or mis-delivered in ostest signest_test
on qemu-intel64/jumbo.

Also update comments so this logic is easier to follow

Signed-off-by: raiden00pl <raiden00@railab.me>
Align _etbss in the linker script so (_etbss - _stdata) matches the
compiler's aligned TLS block size.

Fix ostest failure for CONFIG_SCHED_THREAD_LOCAL=y

Signed-off-by: raiden00pl <raiden00@railab.me>
@xiaoxiang781216 xiaoxiang781216 merged commit 7141f48 into apache:master Apr 21, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch: x86_64 Issues related to the x86_64 architecture Board: x86_64 Size: S The size of the change in this PR is small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] intel64 ostest broken

3 participants