From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marie Maurer Date: Mon, 24 Aug 2020 14:09:01 +0000 Subject: [Buildroot] Building for Raspberry Pi on Pi (in Ubuntu WSL same is working) Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello, I am trying to build an image for the Pi on the Pi. Below problem occurs, same on 2020.05 and 2020.08-rc1. make raspberrypi3_defconfig make Executing sudo apt update sudo apt upgrade was not helpful. >>> host-gmp 6.1.2 Building PATH="/home/pi/buildroot/buildroot-2020.08-rc1/output/host/bin:/home/pi/buildroot/buildroot-2020.08-rc1/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" PKG_CONFIG="/home/pi/buildroot/buildroot-2020.08-rc1/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/pi/buildroot/buildroot-2020.08-rc1/output/host/lib/pkgconfig:/home/pi/buildroot/buildroot-2020.08-rc1/output/host/share/pkgconfig" /usr/bin/make -j5 -C /home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/ make[1]: Entering directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2' /usr/bin/make all-recursive make[2]: Entering directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2' Making all in tests make[3]: Entering directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/tests' Making all in . make[4]: Entering directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/tests' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/tests' Making all in devel make[4]: Entering directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/tests/devel' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/tests/devel' Making all in mpn make[4]: Entering directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/tests/mpn' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/tests/mpn' Making all in mpz make[4]: Entering directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/tests/mpz' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/tests/mpz' Making all in mpq make[4]: Entering directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/tests/mpq' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/tests/mpq' Making all in mpf make[4]: Entering directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/tests/mpf' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/tests/mpf' Making all in rand make[4]: Entering directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/tests/rand' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/tests/rand' Making all in misc make[4]: Entering directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/tests/misc' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/tests/misc' Making all in cxx make[4]: Entering directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/tests/cxx' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/tests/cxx' make[3]: Leaving directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/tests' Making all in mpn make[3]: Entering directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/mpn' /bin/bash ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" /usr/bin/gcc -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo divrem_1 | sed 's/_$//'` -I/home/pi/buildroot/buildroot-2020.08-rc1/output/host/include -O2 -I/home/pi/buildroot/buildroot-2020.08-rc1/output/host/include -Wa,--noexecstack `test -f 'divrem_1.asm' || echo './'`divrem_1.asm /bin/bash ../libtool --tag=CC --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo mulmid | sed 's/_$//'` -I/home/pi/buildroot/buildroot-2020.08-rc1/output/host/include -O2 -I/home/pi/buildroot/buildroot-2020.08-rc1/output/host/include -c -o mulmid.lo mulmid.c /bin/bash ../libtool --tag=CC --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo random | sed 's/_$//'` -I/home/pi/buildroot/buildroot-2020.08-rc1/output/host/include -O2 -I/home/pi/buildroot/buildroot-2020.08-rc1/output/host/include -c -o random.lo random.c /bin/bash ../libtool --tag=CC --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo random2 | sed 's/_$//'` -I/home/pi/buildroot/buildroot-2020.08-rc1/output/host/include -O2 -I/home/pi/buildroot/buildroot-2020.08-rc1/output/host/include -c -o random2.lo random2.c /bin/bash ../libtool --tag=CC --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo pow_1 | sed 's/_$//'` -I/home/pi/buildroot/buildroot-2020.08-rc1/output/host/include -O2 -I/home/pi/buildroot/buildroot-2020.08-rc1/output/host/include -c -o pow_1.lo pow_1.c libtool: compile: ../mpn/m4-ccas --m4=m4 /usr/bin/gcc -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_divrem_1 -I/home/pi/buildroot/buildroot-2020.08-rc1/output/host/include -O2 -I/home/pi/buildroot/buildroot-2020.08-rc1/output/host/include -Wa,--noexecstack divrem_1.asm -fPIC -DPIC -o .libs/divrem_1.o libtool: compile: /usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_random2 -I/home/pi/buildroot/buildroot-2020.08-rc1/output/host/include -O2 -I/home/pi/buildroot/buildroot-2020.08-rc1/output/host/include -c random2.c -fPIC -DPIC -o .libs/random2.o libtool: compile: /usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_mulmid -I/home/pi/buildroot/buildroot-2020.08-rc1/output/host/include -O2 -I/home/pi/buildroot/buildroot-2020.08-rc1/output/host/include -c mulmid.c -fPIC -DPIC -o .libs/mulmid.o m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_divrem_1 -DPIC divrem_1.asm >tmp-divrem_1.s libtool: compile: /usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_pow_1 -I/home/pi/buildroot/buildroot-2020.08-rc1/output/host/include -O2 -I/home/pi/buildroot/buildroot-2020.08-rc1/output/host/include -c pow_1.c -fPIC -DPIC -o .libs/pow_1.o libtool: compile: /usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_random -I/home/pi/buildroot/buildroot-2020.08-rc1/output/host/include -O2 -I/home/pi/buildroot/buildroot-2020.08-rc1/output/host/include -c random.c -fPIC -DPIC -o .libs/random.o /usr/bin/gcc -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_divrem_1 -I/home/pi/buildroot/buildroot-2020.08-rc1/output/host/include -O2 -I/home/pi/buildroot/buildroot-2020.08-rc1/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:129: Error: selected processor does not support `mls r1,r4,r8,r11' in ARM mode tmp-divrem_1.s:145: Error: selected processor does not support `mls r1,r4,r8,r11' in ARM mode tmp-divrem_1.s:158: Error: selected processor does not support `mls r1,r4,r8,r11' in ARM mode tmp-divrem_1.s:175: Error: selected processor does not support `mls r1,r4,r3,r8' in ARM mode tmp-divrem_1.s:209: Error: selected processor does not support `mls r11,r4,r12,r3' in ARM mode make[3]: *** [Makefile:768: divrem_1.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/mpn' make[2]: *** [Makefile:956: all-recursive] Error 1 make[2]: Leaving directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2' make[1]: *** [Makefile:775: all] Error 2 make[1]: Leaving directory '/home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2' make: *** [package/pkg-generic.mk:250: /home/pi/buildroot/buildroot-2020.08-rc1/output/build/host-gmp-6.1.2/.stamp_built] Error 2 pi at raspberrypi:~/buildroot/buildroot-2020.08-rc1 $ Many thanks! Best regards, Marie Pixida GmbH Ungererstr. 129 80805 M?nchen Amtsgericht M?nchen - HRB 173520 Gesch?ftsf?hrer Johann Neubauer, Panagiota Dimou www.pixida.de [PIXIDA] Unsere Datenschutzgrunds?tze -------------- next part -------------- An HTML attachment was scrubbed... URL: