[Bug 3794] libcrux_mlkem768_sha3.h: undefined reference to htole64 and le64toh when compiling since 9.9p2

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Feb 25 21:11:11 AEDT 2025


https://bugzilla.mindrot.org/show_bug.cgi?id=3794

--- Comment #6 from Jordy Provost <jordy.provost at beemotechnologie.com> ---
Great, thank you very much !
Don't hesitate if you need some more information.
I will test the patch(In reply to Darren Tucker from comment #5)
> (In reply to Jordy Provost from comment #4)
> [...]
> > My systems are something based on a very old one, we plan to update
> > them but it is a very big job, and it will probably takes months at
> > least, so we need to maintain, and we have a lot of them.
> > 
> > Obviously, i don't request you to make archeology,
> 
> As my fellow maintainers will likely attest, I am not above a bit of
> system archaeology :-)
> 
> > I have found endian.h here:
> > - /usr/include/bits/endian.h
> > - /usr/include/endian.h
> > 
> > I don't see any occurrence of le64toh in theses files, so in my
> > (pretty low) understanding, it seems you are right.
> 
> The current versions of the specs says <endian.h> is supposed to
> have le64toh and htole64 but perhaps yours predates that version of
> the spec.
> 
> In any case, I don't think it's very hard to make this work, it just
> needs those macros/functions checked individually.  I'll attach a
> patch for this shortly.

Thank you very much !
Don't hesitate if you need more information.
I am obviously available to test the patch as soon as possible, but
there is no emergency on my side as i have found a way to compile the
last version.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list