Le sam. 15 mars 2025 à 04:24, Sam Hartman <
hartmans@debian.org> a écrit :
Package: ftp.debian.org
Severity: normal
X-Debbugs-Cc: debian-arm@lists.debian.org,
node-websocket@packages.debian.org
User: ftp.debian.org@packages.debian.org
Usertags: remove
User: debian-arm@lists.debian.org
Usertags: armel
node-websocket has fallen out of trixie because it bus errors on one of
the tests.
A bundled addon, bufferutil, crashes on armel when built with -O2 (and
doesn't with -O1).
The relevant part
https://salsa.debian.org/js-team/node-websocket/-/blob/master/bufferutil/src/bufferutil.c?ref_type=heads#L67
62 uint64_t *pMask8 = (uint64_t *)maskAlignedArray;
63
64 while (loop--) {
65 uint64_t *pFrom8 = (uint64_t *)source;
66 uint64_t *pTo8 = (uint64_t *)destination;
*67 *pTo8 = *pFrom8 ^ *pMask8;*
68 source += 8;
69 destination += 8;
70 }
The fact that it fails only on armel makes it look like an optimization bug
in gcc.
Unless someone has an idea about how to not trigger that bug, I'll try to
fix the build conf to compile it with -O1 on armel.
Jérémy
<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Le sam. 15 mars 2025 à 04:24, Sam Hartman <<a href="mailto:
hartmans@debian.org">
hartmans@debian.org</a>> a écrit :<br><
/div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Package: <a href="
http://ftp.debian.org" rel="noreferrer" target="_blank">ftp.debian.org</a><br>
Severity: normal<br>
X-Debbugs-Cc: <a href="mailto:
debian-arm@lists.debian.org" target="_blank">
debian-arm@lists.debian.org</a>, <a href="mailto:
node-websocket@packages.debian.org" target="_blank">
node-websocket@packages.debian.org</a><br>
User: <a href="mailto:
ftp.debian.org@packages.debian.org" target="_blank">
ftp.debian.org@packages.debian.org</a><br>
Usertags: remove<br>
User: <a href="mailto:
debian-arm@lists.debian.org" target="_blank">
debian-arm@lists.debian.org</a><br>
Usertags: armel<br>
node-websocket has fallen out of trixie because it bus errors on one of the tests.<br></blockquote><div><br></div><div>A bundled addon, bufferutil, crashes on armel when built with -O2 (and doesn't with -O1).</div><div><br></div><div>The relevant
part <a href="
https://salsa.debian.org/js-team/node-websocket/-/blob/master/bufferutil/src/bufferutil.c?ref_type=heads#L67">https://salsa.debian.org/js-team/node-websocket/-/blob/master/bufferutil/src/bufferutil.c?ref_type=heads#L67</a></div><div><br></
<div>62 uint64_t *pMask8 = (uint64_t *)maskAlignedArray;<br>63 <br>64 while (loop--) {<br>65 uint64_t *pFrom8 = (uint64_t *)source;<br>66 uint64_t *pTo8 = (uint64_t *)destination;<br><b>67 *pTo8 = *pFrom8 ^ *pMask8;</b><br>68
source += 8;<br>69 destination += 8;<br>70 }<br><br></div><div>The fact that it fails only on armel makes it look like an optimization bug in gcc.</div><div>Unless someone has an idea about how to not trigger that bug, I'll try to fix
the build conf to compile it with -O1 on armel.</div><div><br></div><div>Jérémy</div><div><br></div></div></div>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)