package/libuhttpd: depends on gcc >= 4.9
PATCH 1/1 package/libuhttpd: depends on gcc >= 4.9
Add a dependency on gcc >= 4.9 to avoid the following build failure with gcc 4.8.3 raised since bump to version 3.14.1 in commit 61797c52f5deef2cb67e60cf075ca243078c8855 and
https://github.com/zhaojh329/libuhttpd/commit/ffdf7de3a4a1f5a62aa3814ac96e889958a30840:
/home/peko/autobuild/instance-1/output-1/build/libuhttpd-3.14.1/src/cgi.c:41:5: error: initializer element is not a constant expression [-Werror]
{"accept", strlen("accept"), "HTTP_ACCEPT"},
^It should be noted that upstream rejected a patch to remove -Werror:
https://github.com/zhaojh329/libuhttpd/pull/12
Fixes:
- http://autobuild.buildroot.org/results/a3a970a6398dcb0e4e03f4277f1a50c6b5eff7bd
--- package/libuhttpd/Config.in | 5 +++++ 1 file changed, 5 insertions(+)
package/libuhttpd/Config.in +5 -0
@@ -1,6 +1,7 @@ config BR2_PACKAGE_LIBUHTTPD bool "libuhttpd" depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 select BR2_PACKAGE_LIBEV select BR2_PACKAGE_WOLFSSL_ALL if BR2_PACKAGE_WOLFSSL help
@@ -8,3 +9,7 @@ config BR2_PACKAGE_LIBUHTTPD library based on libev https://github.com/zhaojh329/libuhttpd + +comment "libuhttpd needs a toolchain w/ gcc >= 4.9" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Arnout Vandecappelle
AppliedQuoted 9 lines · Fabrice Fontaine
Add a dependency on gcc >= 4.9 to avoid the following build failure with gcc 4.8.3 raised since bump to version 3.14.1 in commit
61797c52f5deef2cb67e60cf075ca243078c8855and
https://github.com/zhaojh329/libuhttpd/commit/ffdf7de3a4a1f5a62aa3814ac96e889958a30840:
/home/peko/autobuild/instance-1/output-1/build/libuhttpd-3.14.1/src/cgi.c:41:5: error: initializer element is not a constant expression [-Werror]{"accept", strlen("accept"), "HTTP_ACCEPT"}, ^
Quoted 7 lines
It should be noted that upstream rejected a patch to remove -Werror:
https://github.com/zhaojh329/libuhttpd/pull/12Fixes:
- http://autobuild.buildroot.org/results/a3a970a6398dcb0e4e03f4277f1a50c6b5eff7bdSigned-off-by Fabrice Fontaine <[email protected]>
Applied to master, thanks.
Regards,
Arnout
Quoted 17 lines
--- package/libuhttpd/Config.in | 5 +++++ 1 file changed, 5 insertions(+)package/libuhttpd/Config.in +1
-0@@ -1,6 +1,7 @@ config BR2_PACKAGE_LIBUHTTPD bool "libuhttpd" depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 select BR2_PACKAGE_LIBEV select BR2_PACKAGE_WOLFSSL_ALL if BR2_PACKAGE_WOLFSSL help
package/libuhttpd/Config.in config BR2_PACKAGE_LIBUHTTPD · line 15
Quoted 7 lines
package/libuhttpd/Config.in +4
-0@@ -8,3 +9,7 @@ config BR2_PACKAGE_LIBUHTTPD library based on libev https://github.com/zhaojh329/libuhttpd + +comment "libuhttpd needs a toolchain w/ gcc >= 4.9" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot