<div dir="ltr">There was a problem as follow when I compiled rtmes-4.10.99 by rtems 4.11 toolchains. why? thanks!<br><br>/opt/rtems-4.11/lib/gcc/i386-rtems4.11/4.7.2/../../../../i386-rtems4.11/lib/libc.a(lib_a-wcrtomb.o): In function `_wcrtomb_r':<br>
/build/ralfcorsepius-rtems-4.11-i386-rtems4.11-gcc_4.7.2-0precise3-amd64-P7YbYw/rtems-4.11-i386-rtems4.11-gcc-4.7.2/build/i386-rtems4.11/newlib/libc/stdlib/../../../../../newlib/libc/stdlib/wcrtomb.c:15: undefined reference to `__stack_chk_guard'<br>
/build/ralfcorsepius-rtems-4.11-i386-rtems4.11-gcc_4.7.2-0precise3-amd64-P7YbYw/rtems-4.11-i386-rtems4.11-gcc-4.7.2/build/i386-rtems4.11/newlib/libc/stdlib/../../../../../newlib/libc/stdlib/wcrtomb.c:40: undefined reference to `__stack_chk_guard'<br>
/build/ralfcorsepius-rtems-4.11-i386-rtems4.11-gcc_4.7.2-0precise3-amd64-P7YbYw/rtems-4.11-i386-rtems4.11-gcc-4.7.2/build/i386-rtems4.11/newlib/libc/stdlib/../../../../../newlib/libc/stdlib/wcrtomb.c:40: undefined reference to `__stack_chk_fail'<br>
/opt/rtems-4.11/lib/gcc/i386-rtems4.11/4.7.2/../../../../i386-rtems4.11/lib/libc.a(lib_a-wcrtomb.o): In function `wcrtomb':<br>/build/ralfcorsepius-rtems-4.11-i386-rtems4.11-gcc_4.7.2-0precise3-amd64-P7YbYw/rtems-4.11-i386-rtems4.11-gcc-4.7.2/build/i386-rtems4.11/newlib/libc/stdlib/../../../../../newlib/libc/stdlib/wcrtomb.c:48: undefined reference to `__stack_chk_guard'<br>
/build/ralfcorsepius-rtems-4.11-i386-rtems4.11-gcc_4.7.2-0precise3-amd64-P7YbYw/rtems-4.11-i386-rtems4.11-gcc-4.7.2/build/i386-rtems4.11/newlib/libc/stdlib/../../../../../newlib/libc/stdlib/wcrtomb.c:77: undefined reference to `__stack_chk_guard'<br>
/build/ralfcorsepius-rtems-4.11-i386-rtems4.11-gcc_4.7.2-0precise3-amd64-P7YbYw/rtems-4.11-i386-rtems4.11-gcc-4.7.2/build/i386-rtems4.11/newlib/libc/stdlib/../../../../../newlib/libc/stdlib/wcrtomb.c:77: undefined reference to `__stack_chk_fail'<br>
collect2: error: ld returned 1 exit status<br>make[6]: *** [hello.exe] Error 1<br>make[6]: Leaving directory `/home/zhangzhenxing/rtems/build_rtems_99/i386-rtems4.11/c/pc386/testsuites/samples/hello'<br>make[5]: *** [all-recursive] Error 1<br>
make[5]: Leaving directory `/home/zhangzhenxing/rtems/build_rtems_99/i386-rtems4.11/c/pc386/testsuites/samples'<br>make[4]: *** [all] Error 2<br>make[4]: Leaving directory `/home/zhangzhenxing/rtems/build_rtems_99/i386-rtems4.11/c/pc386/testsuites/samples'<br>
make[3]: *** [all-recursive] Error 1<br>make[3]: Leaving directory `/home/zhangzhenxing/rtems/build_rtems_99/i386-rtems4.11/c/pc386/testsuites'<br>make[2]: *** [all-recursive] Error 1<br>make[2]: Leaving directory `/home/zhangzhenxing/rtems/build_rtems_99/i386-rtems4.11/c/pc386'<br>
make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/home/zhangzhenxing/rtems/build_rtems_99/i386-rtems4.11/c'<br>make: *** [all-recursive] Error 1<br><br></div>