* [Buildroot] [PATCH] nginx: disallow AIO support on AArch64
@ 2014-10-12 16:58 Thomas Petazzoni
2014-10-12 17:29 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Petazzoni @ 2014-10-12 16:58 UTC (permalink / raw)
To: buildroot
The nginx AIO support cannot build on AArch64, because it hardcodes
the usage of SYS_eventfd(), while it should just use eventfd() from
the C library.
See https://bugs.launchpad.net/linaro-aarch64/+bug/1160013 for details.
Fixes:
http://autobuild.buildroot.org/results/54b/54bb761f9e774d91066b78217efcd583fdd85ff3/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/nginx/Config.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/nginx/Config.in b/package/nginx/Config.in
index 30cc9d2..ddab0ca 100644
--- a/package/nginx/Config.in
+++ b/package/nginx/Config.in
@@ -16,6 +16,10 @@ if BR2_PACKAGE_NGINX
config BR2_PACKAGE_NGINX_FILE_AIO
bool "file AIO support"
+ # Does not build, because nginx hardcodes using SYS_eventfd,
+ # but it's not available on AArch64, only eventfd() is.
+ # See https://bugs.launchpad.net/linaro-aarch64/+bug/1160013
+ depends on !BR2_aarch64
config BR2_PACKAGE_NGINX_HTTP
bool "http server"
--
2.0.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-12 17:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-12 16:58 [Buildroot] [PATCH] nginx: disallow AIO support on AArch64 Thomas Petazzoni
2014-10-12 17:29 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox