Remaining BSP Build Failures

Joel Sherrill joel.sherrill at oarcorp.com
Wed Aug 27 16:09:28 UTC 2014


On 8/27/2014 10:54 AM, Hesham Moustafa wrote:
> Hi,
>
> On Wed, Aug 27, 2014 at 5:02 PM, Joel Sherrill
> <joel.sherrill at oarcorp.com> wrote:
>> Hi
>>
>> Hesham.. or1k is missing a method.
>>
> Yes, I am aware of that, I will add missing methods just after I
> submit another RSB patch for or1ksim.
I figured you knew about it. Just reporting. :)

And I just committed a fix for the arm/nds.

That leaves the nios2 as likely an RSB issue. My gcc was 4.1.2 which doesn't
seem to match the 4.9.x I think the RSB should build for this.

And hopefully Ric can provide a fix for the virtex5.

The avr is a gcc bug. I could disable optimization and it may continue
building.
>> Ric.. any chance you can fix the virtex5 compile failure?
>>
>> Others  please review and see what you can help with.
>>
>> I attempted to build all BSPs over night with this configuration:
>>
>> ../rtems/configure --target=@CPU at -rtems4.11 \
>>   --prefix=/home/joel/rtems-4.11-work/bsp-install/ \
>>   --disable-multiprocessing --disable-cxx --disable-rdbg \
>>   --enable-maintainer-mode --enable-tests --enable-networking \
>>   --enable-posix --disable-itron --disable-deprecated \
>>   --disable-ada --disable-expada --enable-rtemsbsp=@BSP@
>>
>> Although not printed, SMP was enabled in the configure command
>> echoed in the output. :(
>>
>> The results were better than last time:
>>
>> arm/nds:
>>
>> ../../../../../nds/lib/librtemsbsp.a(startup.rel): In function `boot_card':
>> :(.text+0x19c): multiple definition of `boot_card'
>> init.o:init.c:(.text+0x70): first defined here
>> collect2: error: ld returned 1 exit status
>> gmake[6]: *** [spinternalerror01.exe] Error 1
>>
>> I think that's because it makes a set of .rel's and ends up pulling in
>> a chunk of binary instead of individual files for the BSP. I think I
>> can fix this one.
>>
>> avr/avrtest: Compiler error. Reported as
>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62284
>>
>> nios2/nios2_iss: Compilation error which I think means that
>> the newlib version needs to be bumped in the RSB.
>>
>> ../../../../../rtems/c/src/libchip/network/dwmac-desc-enh.c: In function
>> 'dwmac_desc_enh_destroy_tx_desc':
>> ../../../../../rtems/c/src/libchip/network/dwmac-desc-enh.c:814:
>> warning: implicit declaration of function '__DEVOLATILE'
>> ../../../../../rtems/c/src/libchip/network/dwmac-desc-enh.c:814:
>> warning: nested extern declaration of '__DEVOLATILE'
>> ../../../../../rtems/c/src/libchip/network/dwmac-desc-enh.c:814: error:
>> expected expression before 'void'
>> ../../../../../rtems/c/src/libchip/network/dwmac-desc-enh.c:814:
>> warning: initialization makes pointer from integer without a cast
>> ../../../../../rtems/c/src/libchip/network/dwmac-desc-enh.c: In function
>> 'dwmac_desc_enh_release_tx_bufs':
>> ../../../../../rtems/c/src/libchip/network/dwmac-desc-enh.c:850: error:
>> expected expression before 'void'
>>
>> or1k/or1ksim:  Port Missing methods
>> /users/joel/rtems-4.11-work/rtems-testing/rtems/build-or1k-or1ksim-rtems/or1k-rtems4.11/c/or1ksim/testsuites/sptests/spcontext01/../../../../../../../rtems/c/src/../../testsuites/sptests/spcontext01/init.c:42:
>> undefined reference to `_CPU_Context_validate'
>> init.o: In function `clobber_and_switch_timer':
>> /users/joel/rtems-4.11-work/rtems-testing/rtems/build-or1k-or1ksim-rtems/or1k-rtems4.11/c/or1ksim/testsuites/sptests/spcontext01/../../../../../../../rtems/c/src/../../testsuites/sptests/spcontext01/init.c:118:
>> undefined reference to `_CPU_Context_volatile_clobber'
>>
>> powerpc/virtex5: BSP missing method
>>
>> /users/joel/rtems-4.11-work/rtems-testing/rtems/build-powerpc-virtex5-rtems/powerpc-rtems4.11/c/virtex5/lib/libcpu/powerpc/../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c:85:
>> undefined reference to `BSP_Convert_decrementer'
>>
>> --
>> 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
>>

-- 
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