From nobody Wed Dec 13 14:38:31 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sqylw5D0yz53rNd for ; Wed, 13 Dec 2023 14:38:52 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sqylw4hNrz3R4T; Wed, 13 Dec 2023 14:38:52 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702478332; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/RElZS0ykZYJLkGDl8d94qiInlfpAihzTgHRpI6TMg4=; b=Qs2uIZIWxdrt8DdQH1sA1vGuETXCtNZh9mRWHyQ8joOM1DI7Ev22dfmoOLhdHMGUwRlXqZ KSf+DV6BOK5tqmqh0cauiVWGRxqQqt8+JVuVenTPhYW3B7JOa5KAmkVhjY99Xu2A9Ht1je gBeUmhbxoyLhHvnaWoFv3sgprhSsmQ5kekKgfw4jzFQvXbp1H7uShED6HCENqY1B7lw5Qo ukdUt68lEArr7GwXehovI4o9VwvznqewUpM74OQ+sA7Za7E4u0k9dRenxw/SrlNxEJWNm0 wg52fWs/ZXVC6FlPa2FU5GarHsdjrIwgGCUfoO18vuwVSIcLNfnBZd++jvcvwQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702478332; a=rsa-sha256; cv=none; b=SeD/a/k29x238kPPk1QAee1at16uCX0kFDqrXbw9qKgdmYtQ0vqZ6Su+qxaxciekdFaQWZ 4TQPsM+eaAIRRKrPcbk8Syo0aVmFX6GrnjiozndUxCg0dLdEtrbVyduFvHnaPuqyfegFs4 Kek/XpP5vNcPE+IppHw2VidynXo6KbZIB0Bb1r3OrF5qQknVSvugnHEDR/H2KVNZKmMDw9 CaiYj8/yUJC7dDsNTUr/Cro454rE5etsXQerYR9Xjn1hZxWUJVGKPRmdNrjPIuNPLEZEbg fIoH/NXHYijdvD7Pko554hXLz85wWZzjpCTbdD7CeKmG3bz1GFFPLb0pFoA5Vg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702478332; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/RElZS0ykZYJLkGDl8d94qiInlfpAihzTgHRpI6TMg4=; b=aEq3yyL1cOwtqrvy1ZYZa/SycRhmFrZYkPfpoiFdisdJ8p59n4pWakX9v1ErPATYU2bC5j R48d79zThlaGFHlc4V+gDRYf6YUzXwnlPObRWuvmqAhKxoW8IxtzHc85Rj3GhRzsZsdRf/ ndgs0tszsoGc6K5Aeqkx2WWyuQvTThcWN16X6Zxc4MKPSq606DYBFL+mCQRMu+J78vksp6 ZWW7Ey03yt0nDriq+CSHiKHYVTxg7lY+n4e/wMoCSSQZCllAPzs+vd1DIk3rfeL+0tKR30 CWadRS0W3CbkhNigUVG3FvlhIIDFuUaW3a939tnafCB25xCRXa3kRQOm1Y+aFg== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Sqylw27s9z1J3r; Wed, 13 Dec 2023 14:38:52 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id B978039C9C; Wed, 13 Dec 2023 15:38:48 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_0D840CF8-4337-4001-AFE1-9BEE155EAF09"; protocol="application/pgp-signature"; micalg=pgp-sha1 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: compile 13.2p8 on a recent current fails: compiler issue ? From: Dimitry Andric In-Reply-To: Date: Wed, 13 Dec 2023 15:38:31 +0100 Cc: current@freebsd.org Message-Id: <27D3353A-907C-44B0-965C-F6D47ABDFDE1@FreeBSD.org> References: To: henry vogt X-Mailer: Apple Mail (2.3731.700.6) --Apple-Mail=_0D840CF8-4337-4001-AFE1-9BEE155EAF09 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 13 Dec 2023, at 13:08, henry vogt wrote: >=20 > attempt to compile 13.2p8 on a recent current fails: compiler issue ? >=20 > ... >=20 > =3D=3D=3D> usr.sbin/zic (obj,all,install) > Building = /usr/obj/usr/src/13.2/amd64.amd64/tmp/obj-tools/usr.sbin/zic/zic.o > --- zic.o --- > /usr/src/13.2/contrib/tzcode/zic.c:464:8: error: an attribute list = cannot appear here > 464 | static ATTRIBUTE_NORETURN void > | ^~~~~~~~~~~~~~~~~~ > /usr/src/13.2/contrib/tzcode/private.h:471:30: note: expanded from = macro 'ATTRIBUTE_NORETURN' > 471 | # define ATTRIBUTE_NORETURN [[noreturn]] > | ^~~~~~~~~~~~ > /usr/src/13.2/contrib/tzcode/zic.c:471:8: error: an attribute list = cannot appear here > 471 | static ATTRIBUTE_NORETURN void > | ^~~~~~~~~~~~~~~~~~ > /usr/src/13.2/contrib/tzcode/private.h:471:30: note: expanded from = macro 'ATTRIBUTE_NORETURN' > 471 | # define ATTRIBUTE_NORETURN [[noreturn]] > | ^~~~~~~~~~~~ > /usr/src/13.2/contrib/tzcode/zic.c:669:8: error: an attribute list = cannot appear here > 669 | static ATTRIBUTE_NORETURN void > | ^~~~~~~~~~~~~~~~~~ > /usr/src/13.2/contrib/tzcode/private.h:471:30: note: expanded from = macro 'ATTRIBUTE_NORETURN' > 471 | # define ATTRIBUTE_NORETURN [[noreturn]] > | ^~~~~~~~~~~~ > /usr/src/13.2/contrib/tzcode/zic.c:3778:8: error: an attribute list = cannot appear here > 3778 | static ATTRIBUTE_NORETURN void > | ^~~~~~~~~~~~~~~~~~ > /usr/src/13.2/contrib/tzcode/private.h:471:30: note: expanded from = macro 'ATTRIBUTE_NORETURN' > 471 | # define ATTRIBUTE_NORETURN [[noreturn]] > | ^~~~~~~~~~~~ > 4 errors generated. > *** [zic.o] Error code 1 >=20 > make[3]: stopped in /usr/src/13.2/usr.sbin/zic >=20 > # cc -v > FreeBSD clang version 17.0.6 (https://github.com/llvm/llvm-project.git = llvmorg-17.0.6-0-g6009708b4367) > Target: x86_64-unknown-freebsd15.0 > Thread model: posix > InstalledDir: /usr/bin This appears to have been fixed upstream some time ago: = https://github.com/eggert/tz/commit/9cfe9507fcc22cd4a0c4da486ea1c7f0de6b07= 5f but clang 17 has become more strict about invalid attribute placement, = possibly to be more like gcc (which should already have given this as a = warning or error). So I guess for 13.2-p8 you will have to apply that fix manually, if you = want to build it on a 15-CURRENT box. Otherwise, I would advise a jail. -Dimitry --Apple-Mail=_0D840CF8-4337-4001-AFE1-9BEE155EAF09 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCZXnB5wAKCRCwXqMKLiCW o1WiAKDYjEPyAOgIbsUCrKWxXkxVhIeDaACfeT1j6wHRulOULi1dcY/nVNUpNC8= =eMDq -----END PGP SIGNATURE----- --Apple-Mail=_0D840CF8-4337-4001-AFE1-9BEE155EAF09--