[Monetdb-developers] error: not protecting function: no buffer at least 8 bytes long
Hi, I have checked out the july branch. I do bootstrap - > configure -> make make throws following error: cc1: warnings being treated as errors inet.c: In function ‘INET_comp_CW’: inet.c:323: error: not protecting function: no buffer at least 8 bytes long inet.c: In function ‘INETbroadcast’: inet.c:423: error: not protecting function: no buffer at least 8 bytes long inet.c: In function ‘INETnetmask’: inet.c:523: error: not protecting function: no buffer at least 8 bytes long inet.c: In function ‘INETnetwork’: inet.c:593: error: not protecting function: no buffer at least 8 bytes long inet.c: In function ‘INETabbrev’: inet.c:660: error: not protecting function: no buffer at least 8 bytes long make[7]: * [libatoms_la-inet.lo] Error 1 HELP!!! I am using the following hack as of now: Is it a good idea to go to the given locations and change the 4 -size arrays to 8-size.? Regards, Tapomay
On 29-08-2012 09:42:38 -0700, Tapomay Dey wrote:
inet.c:660: error: not protecting function: no buffer at least 8 bytes long
make[7]: * [libatoms_la-inet.lo] Error 1
HELP!!!
I am using the following hack as of now: Is it a good idea to go to the given locations and change the 4 -size arrays to 8-size.?
No. Just use -fstack-protector-all, --disable-strict, or stop using Ubuntu.
participants (2)
-
Fabian Groffen
-
Tapomay Dey