lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240514084335.19f5b280@hermes.local>
Date: Tue, 14 May 2024 08:43:35 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Brahmajit Das <brahmajit.xyz@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 1/1] Fix implicit declaration of function 'htobe64' in
 gcc 14 on musl systems

On Tue, 14 May 2024 06:35:37 +0000
Brahmajit Das <brahmajit.xyz@...il.com> wrote:

> On musl systems with GCC 14 and above, the htobe64 function cannot be
> found by default. From the man page[0], the function is from endian.h
> header file. If the file is not included in, then we get the following
> error message. The issue however cannot be reproduced on glibc systems.
> 
> In file included from ../include/libgenl.h:5,
>                  from libgenl.c:12:
> ../include/libnetlink.h: In function 'rta_getattr_be64':
> ../include/libnetlink.h:281:16: error: implicit declaration of function 'htobe64' [-Wimplicit-function-declaration]
>   281 |         return htobe64(rta_getattr_u64(rta));
>       |                ^~~~~~~
> make[1]: *** [../config.include:24: libgenl.o] Error 1
> 
> [0]: https://linux.die.net/man/3/htobe64
> 
> Signed-off-by: Brahmajit Das <brahmajit.xyz@...il.com>


Fixes: 976dca372e4c ("f_flower: implement pfcp opts")

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ