[Bug 2056751] Re: Error compiling with glibc2.35 in Ubuntu22.04.3 LTS
Launchpad Bug Tracker
2056751 at bugs.launchpad.net
Sun May 12 04:17:14 UTC 2024
[Expired for glibc (Ubuntu) because there has been no activity for 60
days.]
** Changed in: glibc (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/2056751
Title:
Error compiling with glibc2.35 in Ubuntu22.04.3 LTS
Status in glibc package in Ubuntu:
Expired
Bug description:
When compiling code on Ubuntu 22.04.3 LTS, a glibc2.35 error message
appears as follows:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:110: error:
macro "__fortified_attr_access" requires 3 arguments, but only 1 given
The cause is an error with __fortified_attr_access at line 110 in
string_fortified.h, which should be modified to:
> @@ -107,7 +107,7 @@ __NTH (stpncpy (char *__dest, const char *__src, size_t __n))
> # else
> extern char *__stpncpy_chk (char *__dest, const char *__src, size_t __n,
> size_t __destlen) __THROW
> - __fortified_attr_access ((__write_only__, 1, 3))
> + __fortified_attr_access (__write_only__, 1, 3)
> __attr_access ((__read_only__, 2));
> extern char *__REDIRECT_NTH (__stpncpy_alias, (char *__dest, const char *__src,
> size_t __n), stpncpy);
It has been noted that this error has been corrected in newer versions
of glibc. It is recommended to update to the latest version of glibc.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2056751/+subscriptions
More information about the foundations-bugs
mailing list