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/gdk_batop.mx: In function ‘BATsetprop’:
../../gdk/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.

gcc version:
gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Mike