Some GCC versions have a stack protector, which should be disabled when
building FreeNOS. If the stack protector is enabled, GCC generates code
which reference the %gs segment register, which is illegal in FreeNOS.
To disable the stack protector the -fno-stack-protector flag may be used.
This flag is unrecognized in GCC versions which do not have the stack
protector,
and will trigger a warning on those versions. Because FreeNOS compiles with
-Werror, this causes compilation to fail.
Original issue reported on code.google.com by coenbijlsma on 7 Aug 2009 at 10:09
Original issue reported on code.google.com by
coenbijlsma
on 7 Aug 2009 at 10:09