<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 25, 2018 at 10:09 AM, Amaan Cheval <span dir="ltr"><<a href="mailto:amaan.cheval@gmail.com" target="_blank">amaan.cheval@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Hi!<div dir="auto"><br></div><div dir="auto">I don't know the specifics of the thing you're talking about here, so others should definitely weigh in on that if they can, but regarding the header file; the include syntax used (<ssp.h>, as opposed to "ssp.h") is the one used for system header files (for eg. <stdio.h> vs "my_header.h"). </div><div dir="auto"><br></div><div dir="auto">I see 2 possibilities:</div><div dir="auto">- The project expects these files to be in a standard include directory (such as /usr/include), which the compiler checks for system headers by default</div><div dir="auto">- You need to add the directory where ssp.h exists to the command-line flags for the compiler, for eg. through "gcc -I. ssp.c" (assuming ssp.c includes ssp.h, which exists in the same directory). See this for more: <a href="https://gcc.gnu.org/onlinedocs/gcc-6.4.0/cpp/Search-Path.html" target="_blank">https://gcc.gnu.org/<wbr>onlinedocs/gcc-6.4.0/cpp/<wbr>Search-Path.html</a></div></div></div></blockquote><div><br></div><div>I don't have an ssp.h on my Centos system and don't think it is a standard .h file at all.</div><div>It isn't from POSIX or C Library for sure.</div><div><br></div><div>If it is in their source tree, then it should be "ssp.h" (or something that picks up the file)</div><div>and the use of <> is broken. It isn't a standard header file.</div><div><br></div><div>Change it to "". If it works, submit a patch upstream and cc me on it. Hopefully</div><div>they will just accept the patch and it won't be a long discussion. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">On Fri, May 25, 2018, 8:08 PM Udit agarwal <<a href="mailto:dev.madaari@gmail.com" target="_blank">dev.madaari@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<br>While cross-compiling fio for RTEMS, by default in the compiler call <br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2</blockquote><div>options are used which raises the following error: <br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">/home/uka_in/development/<wbr>benchmark/sandbox/5/lib/gcc/<wbr>arm-rtems5/7.3.0/include/ssp/<wbr>unistd.h:38:10: fatal error: ssp.h: No such file or directory<br> #include <ssp.h><br> ^~~~~~~<br>compilation terminated.<br>make: *** [crc/crc32c-arm64.o] Error 1<br><br></blockquote><div>However, ssp.h is in the same folder. <br></div><div>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?<br><br></div><div>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.<br><br></div><div>Regards,<br></div><div>Udit agarwal <br></div></div></div>
______________________________<wbr>_________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" rel="noreferrer" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/devel</a></blockquote></div></div></div>
<br>______________________________<wbr>_________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/devel</a><br></blockquote></div><br></div></div>