Hi Andreas, > On Sep 30 2020, Lukasz Majewski wrote: > > > Unfortunately, yes. The m68k architecture has the issue with > > properly compiling this code (in futex-internal.c) as it has very > > limited number of registers (8 x 32 bit IIRC). > > The m68k has 16 registers, which is plenty (x86 has only 8). This is what I got from wiki (and no I'm not the expert with m68k, so corrections are welcome): https://en.wikipedia.org/wiki/Motorola_68000_series (8 x 32 bit data registers) And I cannot say why it is not able to generate the correct code... The proposed flag (-fno-inline) seems to be the most pragmatic solution (the code in question is in futex-interna.c and the flag only affects this port). > > Andreas. > Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de