Compiler error with U_FORTIFY_SOURCE, D_FORTIFY_SOURCE options
dev.madaari at gmail.com
Fri May 25 14:37:56 UTC 2018
While cross-compiling fio for RTEMS, by default in the compiler call
> -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
options are used which raises the following error:
> fatal error: ssp.h: No such file or directory
> #include <ssp.h>
> compilation terminated.
> make: *** [crc/crc32c-arm64.o] Error 1
> However, ssp.h is in the same folder.
Without these options, only sys/unistd.h is included and not the
ssp/unistd.h. Any idea why these compiler opts are raising these error?
Also, FIO needs a BSP independent method for determining the size of RAM
for it's internal working. I'm unable to figure out any such
implementation. Any help on this too, would be great.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel