[wxallowed as mount option solved W^X violation abort in 6.0i, but not 6.2]
On Mon, Dec 04, 2017, Rafael Sadowski wrote: > Looks like you built GoldenCheetah from scratch outside the ports env. Yes; I build SW "just out of the box" (because I build the same SW on various OSs -- and a port of GoldenCheetah was submitted by someone but did not get accepted). > If yes, you have to extend ld(1)'s parameters with `-z wxneeded`. Thanks. > Please search for COMPILER_LINKS and USE_WXNEEDED in bsd.port.mk(5). That doesn't really say what to do when building things "outside the ports env". On Mon, Dec 04, 2017, Juan Francisco Cantero Hurtado wrote: > If that program is outside of the ports tree, add "-Wl,-z,wxneeded" to > the CFLAGS/CXXFLAGS. Thanks, but that causes: warning: -Wl,-z,wxneeded: 'linker' input unused [-Wunused-command-line-argument] during compilation, so adding it only to the linker seems to be better.
