From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=altlinux.org; s=dkim; h=Subject:In-Reply-To:Content-Type:MIME-Version: References:Message-ID:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=YPD5pbJGv+tbQCGctCCgV2NBlMpZ3g6aD2GXVT1JZdU=; b=IoZSzo4huxH/21J0e6Tp6VVuPV 73km1d7/EAJvsEvkQu02URHE072ZuFKw8uLaCvcJcy9RmWfxkbOfGhWLi3j2B/Xb/em9oScUhFZf/ FfyvLDCIlr9O9eiyGn47xJ0A7GsGQJhkz4wMKRn5/UYLML6NLarNP4gCAUHhOyfQObh1wzSgTT/We GYMq9CubrQwEhb/E/HSZ+/0bZe2V2KwwskVjME14fG2hXfh/hXX0cX1xdnQJqQs/2kbkBDABYfwne Q3pojOVqyw1LprWVHM161vQIT/onzwxbNYQxEWhW0TnJR5yPHfOd1WxRJdFjR1JShmWH2BWYR4+oz s7deRcFg==; Date: Wed, 4 Oct 2023 12:43:30 +0300 From: Arseny Maslennikov To: ALT Linux Team development discussions Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bJrpfJiwS0EynkO8" Content-Disposition: inline In-Reply-To: OpenPGP: url=http://grep.cs.msu.ru/~ar/pgp-key.asc X-SA-Exim-Connect-IP: 37.110.126.107 X-SA-Exim-Mail-From: arseny@altlinux.org X-SA-Exim-Version: 4.2.1 X-SA-Exim-Scanned: No (on mail.cs.msu.ru); Unknown failure Subject: Re: [devel] clang 17 and stddef.h X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2023 09:43:36 -0000 Archived-At: List-Archive: List-Post: --bJrpfJiwS0EynkO8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 03, 2023 at 10:42:36PM +0300, Vitaly Lipatov wrote: > =D0=9F=D0=BE=D0=B4=D1=81=D0=BA=D0=B0=D0=B6=D0=B8=D1=82=D0=B5, =D0=BA=D0= =B0=D0=BA =D1=82=D0=B0=D0=BA=D0=BE=D0=B5 =D0=BC=D0=BE=D0=B6=D0=B5=D1=82 =D0= =B1=D1=8B=D1=82=D1=8C: >=20 > $ cat z.c > #include > #include > #include >=20 > int main(void) > { > return mkstemp("abc"); > } >=20 >=20 > $ clang z.c > In file included from z.c:1: > /usr/include/stdlib.h:32:10: fatal error: 'stddef.h' file not found > 32 | #include > | ^~~~~~~~~~ > 1 error generated. >=20 > $ clang -v > ALT Linux Team clang version 17.0.1 > Target: x86_64-unknown-linux-gnu > Thread model: posix > InstalledDir: /usr/bin > Found candidate GCC installation: /usr/bin/../lib/gcc/i586-alt-linux/13 > Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-alt-linux/= 13 > Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-alt-linux/13 > Candidate multilib: .;@m64 > Selected multilib: .;@m64 >=20 > (=D1=8D=D1=82=D0=BE =D0=B2 hasher =D1=82=D0=B0=D0=BA, =D0=B0 =D0=B2 =D1= =81=D0=B8=D1=81=D1=82=D0=B5=D0=BC=D0=B5 =D1=81 =D0=A1=D0=B8=D0=B7=D0=B8=D1= =84=D0=BE=D0=BC =D1=81=D0=BE=D0=B1=D0=B8=D1=80=D0=B0=D0=B5=D1=82=D1=81=D1= =8F) =D0=A1=D1=82=D1=80=D0=B0=D0=BD=D0=BD=D0=BE. =D0=90=D0=A3=D0=9C=D0=92=D0=A0: % clang --version ALT Linux Team clang version 17.0.2 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin % cat x.c #include #include #include =20 int main(void) { return mkstemp("abc"); } % rm -f a.out % clang x.c && file --mime a.out a.out: application/x-pie-executable; charset=3Dbinary =D0=A3 =D0=BC=D0=B5=D0=BD=D1=8F =D0=B2 =D0=BF=D0=BE=D1=87=D1=82=D0=BE=D0=B2= =D0=BE=D0=BC =D1=8F=D1=89=D0=B8=D0=BA=D0=B5: 63111 Tue, Oct 03 22:42:36+0300 Vitaly Lipatov ( 18) [dev= el] clang 17 and stddef.h 63112 T Tue, Oct 03 20:06:30+0000 Girar pender (arseny) ( 381) [#33= 0906] DONE llvm17.0.git=3D17.0.2-alt1 =D0=92 =D0=BD=D0=B0=D1=88=D0=B5=D0=BC =D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5= =D1=81=D1=82=D0=B2=D0=B5, =D0=BA=D0=B0=D0=BA =D1=8F =D0=BF=D0=BE=D0=BD=D0= =B8=D0=BC=D0=B0=D1=8E, =D0=BF=D1=80=D0=B8=D0=BD=D1=8F=D1=82=D0=BE =D0=B3=D0= =BE=D0=B2=D0=BE=D1=80=D0=B8=D1=82=D1=8C =D0=B2 =D1=82=D0=B0=D0=BA=D0=B8=D1= =85 =D1=81=D0=B8=D1=82=D1=83=D0=B0=D1=86=D0=B8=D1=8F=D1=85 "=D0=9F=D0=BE=D0=BF=D1=80=D0=BE=D0=B1=D1=83=D0=B9=D1=82=D0=B5 =D0=B5=D1=89= =D1=91 =D1=80=D0=B0=D0=B7. :)". --bJrpfJiwS0EynkO8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE56JD3UKTLEu/ddrm9dQjyAYL01AFAmUdM70ACgkQ9dQjyAYL 01AEAQ/6AjBlU5QtR6P6PL7rRLiD/vmnboEFGucbwMDBbYaqAZPwP3kcEnYUN/zp lhAvobCYeF4kUBOd0+4337WWYoUhGpPjalL390mD7X5Myq/JJoTzN7M4WJvnxbjt f9KCJT0AVdVsLn4Ou4YEWK3qys8VqKsCiw29zUSq1EhOQH5P7IhVPC7rrGMfyxnz zOZ5WkzKwNUMn0h7SS9A3Mqw68/QbL3duac/IDDyNjp3flsikRjTADtsLiDGNGKR 8yvImHlM0t/qktbeovVecqDuBF4Dn1jgRTxCofyYpjcPCczPP0c/5w/JcuRVMHaH TWR9azKZayK5xfqtq+CtnOrnKDTebRWjfWmI1DNe/ASsFioX/OOUvkfComkp3o81 LQp8rNnJ0nwAyBzFFLhvPlkYgeMmDAs1NeqsvmMeA5UxFuVZJI7OJ4KL36b1FJwr i2Tm0HIASMe7XKU9fXJ/fkRCwRbV6tTFMbAx+t98N9bkEiMjhHyAgmay4rKshg/b dj+zrG0ZVF3v8QBbxpF+4ZNmXrfBJ/nxlf/dbuQN/dOMNVIDThAVfngtZ1KMkfvw Pe2R2HLTcMsTQicY+N6+1uwmZi+4lJoIy7/IkN8o2kefFU7dLkmkE7QJEW7EXn0S UmsdIf4GE/uOPAnda+zzew/ON0Yn8rCVmzSiJqVVK7JpNYLer9M= =Whn1 -----END PGP SIGNATURE----- --bJrpfJiwS0EynkO8--