All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] gmp.h error compiling Linux 5.11 with Buildroot 2021.02 default arm toolchain
@ 2021-03-24  9:14 Michael Opdenacker
  2021-03-24  9:35 ` Michael Opdenacker
  2021-03-24  9:50 ` Thomas Petazzoni
  0 siblings, 2 replies; 8+ messages in thread
From: Michael Opdenacker @ 2021-03-24  9:14 UTC (permalink / raw)
  To: buildroot

Greetings,

I'm try to compile Linux 5.11 for BeagleBone Black with the default
toolchain generated by Buildroot 2021.02 (uClibc, gcc 9.3 for Cortex
A8). I'm on Ubuntu 20.04.

cd linux-5.11.8
export PATH=/home/tux/boot-time-labs/rootfs/buildroot/output/host/bin:$PATH
export ARCH=arm
export CROSS_COMPILE=arm-linux-
make omap2plus_defconfig
make

...

?HOSTLD scripts/dtc/dtc
HOSTCXX scripts/gcc-plugins/arm_ssp_per_task_plugin.so
In file included from
/home/tux/boot-time-labs/rootfs/buildroot/output/host/lib/gcc/arm-buildroot-linux-uclibcgnueabihf/9.3.0/plugin/include/gcc-plugin.h:28,
from scripts/gcc-plugins/gcc-common.h:7,
from scripts/gcc-plugins/arm_ssp_per_task_plugin.c:3:
/home/tux/boot-time-labs/rootfs/buildroot/output/host/lib/gcc/arm-buildroot-linux-uclibcgnueabihf/9.3.0/plugin/include/system.h:687:10:
fatal error: gmp.h: No such file or directory
687 | #include <gmp.h>
| ^~~~~~~
compilation terminated.
make[2]: *** [scripts/gcc-plugins/Makefile:47:
scripts/gcc-plugins/arm_ssp_per_task_plugin.so] Error 1
make[1]: *** [scripts/Makefile.build:496: scripts/gcc-plugins] Error 2

make: *** [Makefile:1185: scripts] Error 2


arm-linux-gcc --version
arm-linux-gcc.br_real (Buildroot 2021.02-378-g603b5d0fa9) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.? There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Does it ring a bell to some of you? I didn't find any similar error
reports on this list, so anyway I guess it's useful to report it.

Cheers,

Michael.


-- 
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-03-24 16:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-24  9:14 [Buildroot] gmp.h error compiling Linux 5.11 with Buildroot 2021.02 default arm toolchain Michael Opdenacker
2021-03-24  9:35 ` Michael Opdenacker
2021-03-24  9:44   ` Michael Opdenacker
2021-03-24  9:50 ` Thomas Petazzoni
2021-03-24 13:47   ` Michael Opdenacker
2021-03-24 14:12     ` Thomas Petazzoni
2021-03-24 14:54       ` Michael Opdenacker
2021-03-24 16:35         ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.