[Bug 282797] lang/gcc15-devel: stage2 fails to compile enable-execute-stack.c
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 16 Nov 2024 13:56:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282797
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=unused-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 source
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.
Possibly FreeBSD started using the mprotect flavor instead of the empty flavor.
--
You are receiving this mail because:
You are the assignee for the bug.