This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Undefined C++ Atomic Symbol on sh-rtems


Hi

I am hoping the solution to this is obvious to someone
more familiar with the C++ libraries. Recently the
sh4 BSP for RTEMS began to have undefined symbols
like this when linking a C++ test:

/data/home/joel/rtems-4.11-work/tools/4.12/bin/../lib/gcc/sh-rtems4.12/6.0.0/ml/m4/libstdc++.a(cxx11-shim_facets.o): In function `ZNKSt6locale5facet11_M_sso_shimEPKNS_2idE':
/data/home/joel/rtems-4.11-work/rtems-source-builder/rtems/build/sh-rtems4.12-gcc-6-20160327-newlib-2.4.0-x86_64-linux-gnu-1/build/sh-rtems4.12/ml/m4/libstdc++-v3/include/bits/locale_facets_nonio.h:1065: undefined reference to `__gnu_cxx::__atomic_add(int volatile*, int)'

Is this present for sh-elf? Or is there some magic
bit missing in the RTEMS configuration stanzas?

Thanks in advance.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]