Date: Tue, 03 Sep 2024 14:02:40 +0000 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] Message-ID: <bug-281248-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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]: *** [<builtin>: 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281248-7788>