gcc errror with current glibc
Klaus Dittrich
kladit@t-online.de
Tue Jul 15 09:33:34 GMT 2025
I today installed glibc-2.41.9000-517-g0263528f8d
compiled by gcc version 15.1.1 20250712.
Afterwards I tried to compile this gcc version again
and got this error:
/sources/gcc/gcc-15-20250712/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:766:27:
error: 'TCGETS' was not declared in this scope; did you mean 'TCGETA'?
766 | unsigned IOCTL_TCGETS = TCGETS;
| ^~~~~~
| TCGETA
/sources/gcc/gcc-15-20250712/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:772:27:
error: 'TCSETS' was not declared in this scope; did you mean 'TCSETA'?
772 | unsigned IOCTL_TCSETS = TCSETS;
| ^~~~~~
| TCSETA
/sources/gcc/gcc-15-20250712/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:773:28:
error: 'TCSETSF' was not declared in this scope; did you mean 'TCSETXF'?
773 | unsigned IOCTL_TCSETSF = TCSETSF;
| ^~~~~~~
| TCSETXF
/sources/gcc/gcc-15-20250712/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:774:28:
error: 'TCSETSW' was not declared in this scope; did you mean 'TCSETAW'?
774 | unsigned IOCTL_TCSETSW = TCSETSW;
| ^~~~~~~
| TCSETAW
make[4]: *** [Makefile:627: sanitizer_platform_limits_posix.lo] Error 1
The installed version of glibc was
glibc-2.41.9000-486-g632d895f3e and the same gcc
was installed without error with it.
So I assume this bug(?) appeared somewhere since then.
Please cc me.
--
Regards Klaus
More information about the Libc-alpha
mailing list