rtems 4.11 toolchains compiling problem

张振兴 harbor0727 at gmail.com
Fri Jan 17 01:46:30 UTC 2014


There was a problem as follow when I compiled rtmes-4.10.99 by rtems 4.11
toolchains. why? thanks!

/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':
/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'
/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'
/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'
/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':
/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'
/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'
/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'
collect2: error: ld returned 1 exit status
make[6]: *** [hello.exe] Error 1
make[6]: Leaving directory
`/home/zhangzhenxing/rtems/build_rtems_99/i386-rtems4.11/c/pc386/testsuites/samples/hello'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/home/zhangzhenxing/rtems/build_rtems_99/i386-rtems4.11/c/pc386/testsuites/samples'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/home/zhangzhenxing/rtems/build_rtems_99/i386-rtems4.11/c/pc386/testsuites/samples'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/zhangzhenxing/rtems/build_rtems_99/i386-rtems4.11/c/pc386/testsuites'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/zhangzhenxing/rtems/build_rtems_99/i386-rtems4.11/c/pc386'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/zhangzhenxing/rtems/build_rtems_99/i386-rtems4.11/c'
make: *** [all-recursive] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20140117/e0544986/attachment.html>


More information about the users mailing list