rtems 4.11 toolchains compiling problem

Gedare Bloom gedare at rtems.org
Fri Jan 17 13:16:07 UTC 2014


On Ubuntu, you will probably do best by following the directions
pointed at by http://wiki.rtems.org/wiki/index.php/RSB

-Gedare

On Thu, Jan 16, 2014 at 9:04 PM, ZhangZhenxing <harbor0727 at gmail.com> wrote:
> i install my rtems tools by the ubuntu deb package from rtems.org/ftp/pub/rtems. how i get updated tools? thanks.
>
>
>
> 发自我的小米手机
>
> Gedare Bloom <gedare at rtems.org>编写:
>
>>You appear to be using some old versions of the RTEMS tools. You
>>should get updated tools to build the current git master. You might
>>find pre-built tools somewhere, or you may like to the RTEMS Source
>>Builder.
>>
>>-Gedare
>>
>>On Thu, Jan 16, 2014 at 8:46 PM, 张振兴 <harbor0727 at gmail.com> wrote:
>>> 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
>>>
>>>
>>> _______________________________________________
>>> rtems-users mailing list
>>> rtems-users at rtems.org
>>> http://www.rtems.org/mailman/listinfo/rtems-users
>>>




More information about the users mailing list