Being a bit new both to FreePascal and FreeBSD I am not sure what to do about this.
The message I see (in FreeBSD 13.2) is only a warning, not an error, and it seems as if the generated binary runs properly, at least for very simple test-programs.
But it is annoying to get a warning every time, and it looks like it may turn into an error on future upgrade?
/usr/local/bin/ld.bfd: warning: /usr/local/lib/fpc/3.2.2/units/x86_64-freebsd/rtl/prt0.o: missing .note.GNU-stack section implies executable stack
/usr/local/bin/ld.bfd: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
Should this perhaps be reported to someone that is building the official FreeBSD package? Is the only way for now to patch the fpc code and recompile it?
What makes me a bit confused is that it seems like I already have ld.bfd, and that is the linker that should be used, right?