4.11 Branch BSP C++ Build Issues

Joel Sherrill joel.sherrill at oarcorp.com
Thu Oct 22 12:06:22 UTC 2015



On October 22, 2015 12:28:31 AM CDT, Sebastian Huber <sebastian.huber at embedded-brains.de> wrote:
>
>
>On 21/10/15 23:02, Joel Sherrill wrote:
>>
>> ======================================================
>> NIOS2
>> ======================================================
>>
>> Missing needed atomic operations.
>>
>> nios2-rtems4.11-g++ -B../../../../../nios2_iss/lib/ -specs bsp_specs 
>> -qrtems -mno-hw-mul -mno-hw-div -O0 -g -Wall -Wmissing-prototypes 
>> -Wimplicit-function-declaration -Wstrict-prototypes 
>> -Wnested-externs    -mno-hw-mul -mno-hw-div   -o cxx_iostream.exe
>init.o
>>
>/data/home/joel/rtems-4.11-work/tools/bin/../lib/gcc/nios2-rtems4.11/4.9.3/libstdc++.a(ios_init.o):
>
>> In function `__exchange_and_add_dispatch':
>>
>/data/home/joel/rtems-4.11-work/rtems-source-builder/rtems/build/nios2-rtems4.11-gcc-4.9.3-newlib-2.2.0.20150423-x86_64-linux-gnu-1/build/nios2-
>
>
>
>This is not a general C++ issue. It is a libstdc++ issue. I would not 
>disable C++ in this case. Looks again like a problem with the missing 
>libatomic support for RTEMS.

I recall asking about this or filing a PR and being told nios2-elf had the atomics. Where is this configured?

--joel



More information about the devel mailing list