Add patch from upstream commit 30159aea4b3f6421da9d74a8bf22aad6d3bf26b4 to fix musl build issue: src/Error.cpp: In static member function 'static std::string Poco::Error::getMessage(int)': src/Error.cpp:71:55: error: invalid conversion from 'int' to 'const char*' [-fpermissive] return std::string(strerror_r(errorCode, errmsg, 256)); There are 2 flavors of `strerror_r`, a GNU which returns a string and a POSIX version which returns an int. When the POSIX and GNU API collides musl always provides the POSIX API. That being the case for `strerror_r` musl does only support the POSIX version, despite of `_GNU_SOURCE`. Only use the GNU version for glibc or uClibc. Fixes: http://autobuild.buildroot.net/results/cc3/cc392a6e294b9eed697b205329f8146a28e423e2/ http://autobuild.buildroot.net/results/693/693ef640a95702b20eb4e811936510e0a58cdfdd/ http://autobuild.buildroot.net/results/7f0/7f0966ee57aea574fda2157562e9c3202bd3819d/ http://autobuild.buildroot.net/results/7c0/7c02072a885a874e8b640905ef21929e6e143aae/ Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> |
||
---|---|---|
arch | ||
board | ||
boot | ||
configs | ||
docs | ||
fs | ||
linux | ||
package | ||
support | ||
system | ||
toolchain | ||
.defconfig | ||
.gitignore | ||
CHANGES | ||
Config.in | ||
Config.in.legacy | ||
COPYING | ||
Makefile | ||
Makefile.legacy | ||
README |
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 Freenode IRC. If you would like to contribute patches, please read https://buildroot.org/manual.html#submitting-patches