[Buildroot] Building for Raspberry Pi on Pi (in Ubuntu WSL same is working)

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Aug 25 07:33:45 UTC 2020


Hello Marie,

On Tue, 25 Aug 2020 07:26:18 +0000
Marie Maurer <marie.maurer at pixida.de> wrote:

> Perhaps full rebuild necessary?

No, I don't think a full rebuild will help here.

> checking build system type... armv7l-unknown-linux-gnueabihf
> checking host system type... armv7l-unknown-linux-gnueabihf

On which RaspberryPi are you building ? It's detecting an ARMv7 core
here.

>  /usr/bin/gcc -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_divrem_1 -I/home/pi/buildroot/buildroot-2020.08-rc2/output/host/include -O2 -I/home/pi/buildroot/buildroot-2020.08-rc2/output/host/include -Wa,--noexecstack tmp-divrem_1.s -fPIC -DPIC -o .libs/divrem_1.o
> tmp-divrem_1.s: Assembler messages:
> tmp-divrem_1.s:130: Error: selected processor does not support `mls r1,r4,r8,r11' in ARM mode
> tmp-divrem_1.s:146: Error: selected processor does not support `mls r1,r4,r8,r11' in ARM mode
> tmp-divrem_1.s:159: Error: selected processor does not support `mls r1,r4,r8,r11' in ARM mode
> tmp-divrem_1.s:176: Error: selected processor does not support `mls r1,r4,r3,r8' in ARM mode
> tmp-divrem_1.s:210: Error: selected processor does not support `mls r11,r4,r12,r3' in ARM mode
> make[3]: *** [Makefile:768: divrem_1.lo] Error 1

And it doesn't make any sense for ARMv7 to not have support for MLS if
I'm correct.

But more globally, why are you trying to build Buildroot on a
RaspberryPi itself? It's going to be massively slow compared to the
build time you would achieve on any reasonable x86-64 system.

Best regards,

Thomas Petazzoni
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list