Skip to contentSkip to conversation

nginx: disallow AIO support on AArch64

PATCH New Thomas Petazzoni 2 participants 2 messages Oct 12, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nginx: disallow AIO support on AArch64

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/

---
 package/nginx/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/nginx/Config.in +4 -0
index 30cc9d2..ddab0ca 100644
@@ -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"
Signature · 1 line
2.0.0
#1 lore raw

PATCH 1/1 nginx: disallow AIO support on AArch64

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

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.

Quoted 7 lines

See https://bugs.launchpad.net/linaro-aarch64/+bug/1160013 for details.

Fixes:

http://autobuild.buildroot.org/results/54b/54bb761f9e774d91066b78217efcd583fdd85ff3/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard