On 09.01.2025 14:15, Marek Marczykowski-Górecki wrote:
> Xen compiled with -mtune=generic has .text alignment set to 64-bytes.
> Having text_diff non-64-bytes-aligned breaks stuff:
>
> Traceback (most recent call last):
> File
> "/builddir/build/BUILD/xen-4.20.0-build/xen-4.20.0-rc0/xen/./tools/combine_two_binaries.py",
> line 96, in <module>
> raise Exception('File sizes do not match')
> Exception: File sizes do not match: 70160 != 4080 + 66048
>
> Adjust the numbers as suggested by Frediano to work with 64-bytes and
> even 128-bytes alignment.
And then breaking at 256? As indicated on Matrix, imo we should be able to
cope with anything up to at least PAGE_SIZE. Or we should reduce .text
alignment before linking.
> Suggested-by: Frediano Ziglio <[email protected]>
> Signed-off-by: Marek Marczykowski-Górecki <[email protected]>
No Fixes: tag?
Jan