or1k Build Issues

Joel Sherrill joel.sherrill at oarcorp.com
Thu Oct 22 14:10:29 UTC 2015

On 10/21/2015 4:45 PM, Hesham Almatary wrote:
> Hi,
> That's mainly because the RSB is fetching an upstream gcc-4.8.3
> version and it applies my old patch there. I suggested to temporarily
> use the current or1k up-to-date repos from github (like Epiphany
> tools), which incorporate our RTEMS stuff, and are synced with gcc-5x
> version.

I wonder how those do with RTEMS. There were some generic issues.
This should be better though.

Any chance you can add this to your to-do list? :)

> FWIW Christian told me two weeks ago that they managed to
> contact the last code contributor to finish the FSF paper work, and
> hopefully the or1k-gcc will be upstream soon.

This is great news!  This will massively improve our ability to
support this target long term.


> On Wed, Oct 21, 2015 at 7:42 PM, Joel Sherrill
> <joel.sherrill at oarcorp.com> wrote:
>> Hi
>> I think the or1k tools are out of sync with RTEMS now.
>> or1k-rtems4.11-gcc -B../../../../../generic_or1k/lib/ -specs bsp_specs
>> -qrtems -O2 -O0 -g -Wall -Wmissing-prototypes
>> -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs    -O2
>> -o hello.exe init.o
>> /data/home/joel/rtems-4.11-work/tools/bin/../lib/gcc/or1k-rtems4.11/4.8.3/../../../../or1k-rtems4.11/lib/libc.a(lib_a-puts.o):
>> In function `_puts_r':
>> /data/home/joel/rtems-4.11-work/rtems-source-builder/rtems/build/or1k-rtems4.11-gcc-4.8.3-newlib-f296bb3569839b0217ec1a775165d239877e3548-x86_64-linux-gnu-1/build/or1k-rtems4.11/newlib/libc/stdio/../../../../../gcc-4.8.3/newlib/libc/stdio/puts.c:102:
>> undefined reference to `_Mutex_recursive_Release'
>> .....
>> Any suggestions?
>> --joel

Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985

More information about the devel mailing list