Date: Sat, 16 Nov 2024 13:56:43 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 282797] lang/gcc15-devel: stage2 fails to compile enable-execute-stack.c Message-ID: <bug-282797-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282797 Bug ID: 282797 Summary: lang/gcc15-devel: stage2 fails to compile enable-execute-stack.c Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: salvadore@freebsd.org Reporter: jfc@mit.edu Flags: maintainer-feedback?(salvadore@freebsd.org) Assignee: salvadore@freebsd.org On aarch64, FreeBSD 14.2-PRERELEASE, lang/gcc15-devel fails when built with poudriere: enable-execute-stack.c:33:13: error: 'check_enabling' declared 'static' but never defined [-Werror=3Dunused-function] 33 | static void check_enabling (void) __attribute__ ((unused)); | ^~~~~~~~~~~~~~ The error comes from /wrkdirs/usr/ports/lang/gcc15-devel/work/.build/./gcc/xgcc. The file with the error is named enable-execute-stack-mprotect.c in the sou= rce and has not changed in the past decade. There is also a file named enable-execute-stack-empty.c. Possibly gcc is stricter than it used to be.= =20 Possibly FreeBSD started using the mprotect flavor instead of the empty fla= vor. --=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-282797-7788>