mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 08:14:09 -09:00
7b98e2ce2c54c228c13d5ac50168fc4fa66fc15e
Fixes: https://autobuild.buildroot.net/results/924b1015d4b81385409ef00f1a14be3ca1959c8e/ As part of building flex for the target a few files are built for the host, including a rpl_malloc() implementation containing a malloc() forward declaration without any function parameters. GCC 15 defaults to -std=gnu23, which handles function declarations without parameters differently from earlier C standards leading to compilation errors: ../lib/malloc.c:6:12: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 6 | void *malloc (); | ^~~~~~ ../lib/malloc.c:5:1: note: 'malloc' is declared in header '<stdlib.h>' 4 | #include <sys/types.h> +++ |+#include <stdlib.h> 5 | ../lib/malloc.c: In function 'rpl_malloc': ../lib/malloc.c:16:15: error: too many arguments to function 'malloc'; expected 0, have 1 https://gcc.gnu.org/gcc-15/porting_to.html#c23-fn-decls-without-parameters Add a patch submitted upstream to correct the prototype. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
…
…
Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation. The documentation can be found in docs/manual. You can generate a text document with 'make manual-text' and read output/docs/manual/manual.text. Online documentation can be found at http://buildroot.org/docs.html To build and use the buildroot stuff, do the following: 1) run 'make menuconfig' 2) select the target architecture and the packages you wish to compile 3) run 'make' 4) wait while it compiles 5) find the kernel, bootloader, root filesystem, etc. in output/images You do not need to be root to build or run buildroot. Have fun! Buildroot comes with a basic configuration for a number of boards. Run 'make list-defconfigs' to view the list of provided configurations. Please feed suggestions, bug reports, insults, and bribes back to the buildroot mailing list: buildroot@buildroot.org You can also find us on #buildroot on OFTC IRC. If you would like to contribute patches, please read https://buildroot.org/manual.html#submitting-patches
Description
Languages
Makefile
62.5%
Python
19%
C
8.5%
Shell
6.1%
PHP
1.4%
Other
2.1%