I attached the configure output.

Mike

On Sun, Aug 21, 2011 at 5:45 PM, Fabian Groffen <Fabian.Groffen@cwi.nl> wrote:
On 21-08-2011 17:04:52 +0300, Michael Sioutis wrote:
> Hello,
>
> I get an error when trying to compile latest MonetDB default branch on my
> Ubuntu 10.04 64bit machine.
>
> bootstrap: OK
> configure (../configure --prefix=/opt/MonetDB/ --enable-monetdb5
> --enable-sql --enable-rdf --enable-geom --enable-bits=64 --enable-debug
> --enable-datacell): OK
> make -j2: ERROR
>
> The error is:
> ../../gdk/[1]gdk_batop.mx: In function ‘BATsetprop’:
> ../../gdk/[2]gdk_batop.mx:2890: error: not protecting function: no buffer at
> least 8 bytes long
>
> I think flags -fstack-protector-all and  -Wstack-protector are to blame,
> they default to 8 bytes.
> I can skip the problem if I set 8 byte long dummy buffers to EVERY function
> that
> doesn't have such a buffer, e.g., char mybuf[8];  memset(buf, 0,
> sizeof(buf));
>
> I also thought of setting the buffer size to 1, by passing --param
> spp-buffer-size=1 as a compiler option, but then I get various other
> errors.

-fstack-protector-all should check everything.

I'd be interested to see your configure output.


------------------------------------------------------------------------------
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