[ISSUE] Failure to compile for MIPS32 using maltael_defconfig

Majid B. majidhbutler3509 at gmail.com
Thu Sep 29 05:45:16 CEST 2022


Hello,

I've tried to build U-Boot 2022.07 with the following series of
instructions:

export CROSS_COMPILE=mipsel-linux-gnu-
make mrproper
make O=build maltael_defconfig
make V=1 O=build -j$(nproc)

Unfortunately, I seem to always run into this error:

In file included from arch/mips/lib/cache.c:10:
./arch/mips/include/asm/cacheops.h: In function ‘flush_cache’:
./arch/mips/include/asm/cacheops.h:18:9: error: invalid argument to
built-in function
   18 |         __builtin_mips_cache(op, addr);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [scripts/Makefile.build:257: arch/mips/lib/cache.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1906: arch/mips/lib] Error 2
make: *** Waiting for unfinished jobs....

What could I be doing wrong?

I'd really appreciate any help I can get on this.
Thank you in advance!

Regards,
Majid B.


More information about the U-Boot mailing list