gcc error stack protection with large files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Sirs,

I would like to report a bug in:

gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609

When adding large file features :

#define _FILE_OFFSET_BITS 64

and gcc option :

-D_FILE_OFFSET_BITS=64

The program compiles ok, but when it runs : gets error "Smashed Stack
Detected" when doing "fclose" to a large file.

The error gets cleaned if I use "gcc ...  -fno-stack-protector", but
there is no protection of stack.

I would prefer to have "stack protection enabled" always with large
files support.

Please, help me to fix this.

Best Regards,

Claudio SR



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux