I found a good solution: compiler option -fno-stack-protector
On 21-08-2011 19:58:45 +0300, Michael Sioutis wrote:use the latest release branch (candidate): Aug2011, that's a lot safer
> 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.
disable experimental features that you won't need anyway (don't
--enable-datacell)
We need to use -fstack-protector-all because some distributions (e.g.
> 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.
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.
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
MonetDB-users mailing list
MonetDB-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monetdb-users