From nobody Tue Sep 3 14:02:40 2024 X-Original-To: ports-bugs@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 4WynPw0wKCz5PZpw for ; Tue, 03 Sep 2024 14:02:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WynPv6yLvz4rBn for ; Tue, 3 Sep 2024 14:02:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725372164; a=rsa-sha256; cv=none; b=hYAMCkQDa1hgRMdwiXzW+yqeQfXld1I+3JJq15mOHGFazApAMuUURwuQoXxluWBd2I8Apo tnv1CdoZx0GpOMJltUOTHZX5O8BgepywKxRZwHHDWcqGtSeLs53Hgq6kKnWpI3guh9MUmO DnoO2A3p3Ka9vTfEQvgXv4z3B0elrCdRaMfR1G2Jjs63IoeN9XNZMGV/v89ILjrjoOzw6Y n+OCRX1EcQqiSLfDwR4xN37NeLYmKmIu5L2RSQBMBwe3DaMcrj+VLszVR1ZnAf/xLzkfbx syfZjpavhV++LRaOguWr2Bw674Oa2uXP5TIWy4EzlMYOfDf0kKp0pnoRs9qHKw== 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=1725372164; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8UlX0siWHtkJV2XJd2ZMr5J9N549gcQ1POIDFPw8vy8=; b=pQiOl6iLajDmj1Jp0GWj3BWuKQ6cg190gKHxkMggABoC5iOg+73MCY32VLXmAzbmPg3BWA BeEmDScgzx//sSQU72XZE+k84dd1bWAl3UYoH4ecLT9QySOh1+yb/8mh9jGLhsdxdcgvAm bODSE0fFm2c+3w1NcBMDPc6HnHC0HDxAyT4QVr2xUfA6ww7D9Ga9pGLAqOkegCFpFjz/hC UgrhCOsy71fLw87MQP3F9FoDY8CeruiMiYuMoc030AnHwVg2ibyP68iH4twRgbqSw75a8u OYxxSG7pPnHxC3Zh9yDYb7jF8u8NeV/PTiwybb6aAPBRmCrlBnhHhxbpppqLyg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WynPv6Yz5zjp5 for ; Tue, 3 Sep 2024 14:02:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 483E2h6q065044 for ; Tue, 3 Sep 2024 14:02:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 483E2hcm065037 for ports-bugs@FreeBSD.org; Tue, 3 Sep 2024 14:02:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 281248] sysutils/shim: Fails to build with GCC 14: error: implicit declaration of function 'WriteUnaligned32' [-Wimplicit-function-declaration] Date: Tue, 03 Sep 2024 14:02:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: salvadore@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: egypcio@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status bug_severity priority component assigned_to reporter blocked flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281248 Bug ID: 281248 Summary: sysutils/shim: Fails to build with GCC 14: error: implicit declaration of function 'WriteUnaligned32' [-Wimplicit-function-declaration] Product: Ports & Packages Version: Latest Hardware: Any URL: https://pkg-status.freebsd.org/gohan04/data/140amd64-d efault-foo/2024-08-29_19h57m48s/logs/errors/shim-0.9_5 .log OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: egypcio@FreeBSD.org Reporter: salvadore@freebsd.org Blocks: 281091 Assignee: egypcio@FreeBSD.org Flags: maintainer-feedback?(egypcio@FreeBSD.org) Build fails with GCC 14. This blocks GCC_DEFAULT update to GCC 14. gcc14 -std=3Dgnu99 -ggdb -O0 -I. -fno-stack-protector -fno-strict-aliasing = -fpic -fshort-wchar -Wall -IInclude -I/usr/local/include/efi -I/usr/local/include/efi/x86_64 -I/usr/local/include/efi/protocol -ffreestanding -I/usr/local/lib/gcc14/gcc/x86_64-portbld-freebsd14.0/14.2.0/include -mno-m= mx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -c -o Pk/CryptPkcs7Verify.o Pk/CryptPkcs7Verify.c Pk/CryptPkcs7Verify.c: In function 'Pkcs7GetSigners': Pk/CryptPkcs7Verify.c:435:5: error: implicit declaration of function 'WriteUnaligned32' [-Wimplicit-function-declaration] 435 | WriteUnaligned32 ((UINT32 *) (CertBuf + OldSize), (UINT32) SingleCertSize); | ^~~~~~~~~~~~~~~~ gmake[1]: *** [: Pk/CryptPkcs7Verify.o] Error 1 gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/shim/work/shim-0.9/Cryptlib' gmake: *** [Makefile:128: Cryptlib/libcryptlib.a] Error 2 *** Error code 1 Stop. Full log: https://pkg-status.freebsd.org/gohan04/data/140amd64-default-foo/2024-08-29= _19h57m48s/logs/errors/shim-0.9_5.log Useful link: https://gcc.gnu.org/gcc-14/porting_to.html Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281091 [Bug 281091] [exp-run] Update GCC_DEFAULT to 14 etc. --=20 You are receiving this mail because: You are the assignee for the bug.=