
On 21-08-2011 19:58:45 +0300, Michael Sioutis wrote:
I passed --param ssp-buffer-size=2 as a compiler option and make went fine :) Configuring with --disable-strict also works, since a lot of flags are disabled.
I only have a warning about some opt_centiped file that could not be opened, and sth about datacell module that could not loaded, but other than that installation seems functional for simple operations.
use the latest release branch (candidate): Aug2011, that's a lot safer disable experimental features that you won't need anyway (don't --enable-datacell)
I'm attaching the merovingian.log just in case.
I think for gcc >= 4.5 -fstack-protector-all, should be replaced by -fstack-protector, but I could be mistaken.
We need to use -fstack-protector-all because some distributions (e.g. Ubuntu) have decided to enable -fstack-protector by default, and in that mode gcc will issue a warning when it won't protect a function because it is under the threshold of 8 bytes (which Ubuntu seems to have quietly altered as well), which with -Werror becomes a warning. Hence we need to force gcc protecting all functions, regardless whether or not they use the stack more than 8 bytes.