On 2026-01-09 08:04, Herman ten Brugge via Tinycc-devel wrote:
> While debugging some i386 code I found some memory alignment differences.

quickly tested the proposed patch if it fixes the linux-tcc kernel-panic issue
(https://lists.gnu.org/archive/html/tinycc-devel/2026-01/msg00007.html):

- strict alignment does NOT prevent those kernel panics (see linking variant1)
  triggered with sata/ahci.c support with prolonged disk i/o load (dd)
- the linking variant2 compiling/linking in separate phases does prevent kernel
  panics still, no memory corruption then
- and, strict alignment slightly increases kernel image size

theres a few more peculiarities to debug, so i'll keep the alignment-patch
applied, maybe i can re-confirm a few other test-cases.

(furthermore i've repaired the asix.c driver backport which seems stable now. as
suspected, it's been a bug inside driver code unrelated to either alignment or
linking issues with tcc)

-- 

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to