[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 20:58:16 AEDT 2025
    
    
  
https://bugzilla.mindrot.org/show_bug.cgi?id=3794
--- Comment #5 from Darren Tucker <dtucker at dtucker.net> ---
(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.
-- 
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