From: Marius Bakke <mbakke@fastmail.com>
To: 40604@debbugs.gnu.org
Subject: bug#40604: http-parser 2.9.4 fails to build on armhf-linux
Date: Mon, 13 Apr 2020 20:16:11 +0200 [thread overview]
Message-ID: <87sgh7i74k.fsf@devup.no> (raw)
[-- Attachment #1: Type: text/plain, Size: 1663 bytes --]
The update to http-parser in 62f7f0d636d3b3ff796263ab892ebf53263539fa
causes a test failure armhf-linux:
--8<---------------cut here---------------start------------->8---
starting phase `check'
gcc -I. -DHTTP_PARSER_STRICT=1 -Wall -Wextra -Werror -O0 -g -c http_parser.c -o http_parser_g.o
gcc -I. -DHTTP_PARSER_STRICT=1 -Wall -Wextra -Werror -O0 -g -c test.c -o test_g.o
gcc -I. -DHTTP_PARSER_STRICT=0 -Wall -Wextra -Werror -O3 -c http_parser.c
gcc -I. -DHTTP_PARSER_STRICT=0 -Wall -Wextra -Werror -O3 -c test.c -o test.o
gcc -shared -Wl,-soname=libhttp_parser.so.2.9 -o libhttp_parser.so.2.9.4 libhttp_parser.o
gcc -Wall -Wextra -Werror -O0 -g http_parser_g.o test_g.o -o test_g
gcc -Wall -Wextra -Werror -O3 http_parser.o test.o -o test_fast
./test_g
test_g: test.c:4237: main: Assertion `sizeof(http_parser) == 4 + 4 + 8 + 2 + 2 + 4 + sizeof(void *)' failed.
make: *** [Makefile:76: test] Aborted
Test suite failed, dumping logs.
command "make" "test" "-j" "4" "PREFIX=/gnu/store/qlis9jzgcdk1m48hjdzag6gij244cwvz-http-parser-2.9.4" "CC=gcc" "library" failed with status 2
builder for `/gnu/store/gzywh6bmn10ip49yklmiagsjfcr2jflf-http-parser-2.9.4.drv' failed with exit code 1
--8<---------------cut here---------------end--------------->8---
The assert is new in 2.9.4 (one of two commits since 2.9.3):
https://github.com/nodejs/http-parser/commit/714cbb2dfbea9a521960b82b6239a991a64e3b9a
I can't tell what causes the size difference on armhf and don't
currently have access to hardware or QEMU for testing. Any takers?
Meanwhile I've reverted the commit on 'master' as this is a dependency
of libgit2 which is needed for 'guix pull'.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next reply other threads:[~2020-04-13 18:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-13 18:16 Marius Bakke [this message]
2020-04-13 18:25 ` bug#40604: http-parser 2.9.4 fails to build on armhf-linux Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-05-21 10:53 ` Ricardo Wurmus
2020-05-21 10:54 ` Ricardo Wurmus
2020-05-21 14:45 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-05-21 20:07 ` Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sgh7i74k.fsf@devup.no \
--to=mbakke@fastmail.com \
--cc=40604@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.