Hi,
I am unable to compile openbios for sparc32 (on a sparc64 host) using gcc 4.x (tested with 4.0, 4.2 and 4.3), it looks like it does not like the TI mode and the __uint128_t type:
| libgcc/libgcc.h:14: error: unable to emulate ‘TI’ | libgcc/libgcc.h:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__udivmodti4’ | libgcc/libgcc.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__divti3’ | libgcc/libgcc.h:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__udivti3’ | libgcc/libgcc.h:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__umodti3’
Anyone as an idea of a fix?
Thanks, Aurelien