Thread (3 messages) flat view 3 messages, 2 authors, 2021-09-10

Re: [Buildroot] [PATCH 1/1] package/nginx: override endianness

From: Peter Korsgaard <peter@korsgaard.com>
Date: 2021-09-10 09:59:23

quoted
quoted
quoted
quoted
"Nevo" == Nevo Hed [off-list ref] writes:
 > Though several cross-compilation patches exist in buildroot's nginx
 > package dir they do not seem to address endianness.

 > The test program generated by the configure script compiles but fails
 > to run (as it is built for another architecture) but the script does
 > not distinguish between the failure to run the program and an
 > indication of certain endianness.  As such the fallback of big-endian
 > is used.  This setting then causes http2 headers (anything not in the
 > static dictionary) to come out as undecipherable trash on 64bit
 > targets (see ngx_http_v2_huff_encode_buf()).

 > This commit includes a patch to the configure script to allow a
 > `--force-endianness=big|little` flag as well as setting that flag in
 > buildroot's package makefile.

 > Signed-off-by: Nevo Hed [off-list ref]

Committed to 2021.02.x and 2021.05.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help