[PATCH master 0/3] Fix GCC 11 THUMB2 relocate_to_current_adr miscompile
Ahmad Fatoum
a.fatoum at pengutronix.de
Thu Oct 13 04:53:53 PDT 2022
On 13.10.22 13:52, Marco Felsch wrote:
> Hi Ahmad,
> On 22-10-13, Ahmad Fatoum wrote:
>> TL;DR: GCC can prove that variables aren't supposed to overlap and as
>> such it generated code than readded get_runtime_offset() on top of an
>> already relocated linker-defined variable's address.
>> See PATCH 2/3 for a disassembly of the affected code. Board code can
>> be similarly micompiled, but that's a fix for another day.
>
> I didn't received a 2/3 nor a 1/3 yet. Does it stuck somewhere?
At least lore.barebox.org got it:
https://lore.barebox.org/barebox/20221013090352.562170-1-a.fatoum@pengutronix.de/T/#t
>
> Regards,
> Marco
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list