I was learning OpenGL using GLFW, and didn\'t have a great understanding of makefiles at the time. I had OpenGL working, but I decided to learn makefiles more. I came up wit
It means that the ld
tool or one of its dependencies has a bug which results in an invalid memory access (segmentation fault) on which the operating system kills the process with SIGSEGV (signal 11). It should not crash regardless of your build setup.
You should probably file a bug report for ld
with your Linux distribution vendor or directly to the vendor of the ld
tool (usually GNU in case your ld
tool is from the GNU binutils).
I came across exactly the same error.
I'm developing on Windows and Linux at the same time and use Filezilla to transfer my files. The code built previously on Windows with Cygwin, but wouldn't after downloading files from my Linux host.
The process was build on Windows ==> upload to Linux and build ==> make a few changes ==> download to Windows and build ==> get error.
Then it dawned on me I had transferred over the Linux object files with the source, so I erased all the .o files and the build went fine.
I can't say if this was @Zaerospi's problem or not, but it seems to have been the source of my error.
Anyone else with the same error may want to try erasing their object files and rebuilding.