On some gcc versions on Ubuntu the stack clash protection is enabled per default leading to confusion when testing growing stacks and swapping with large stack arrays in SWEB. As found by Mario Bischof the compiler flag -fno-stack-clash-protection explicitly disables that feature. In this pull request, it is added to the compilation flags of all supported architectures.
On some gcc versions on Ubuntu the stack clash protection is enabled per default leading to confusion when testing growing stacks and swapping with large stack arrays in SWEB. As found by Mario Bischof the compiler flag -fno-stack-clash-protection explicitly disables that feature. In this pull request, it is added to the compilation flags of all supported architectures.