[RTEMS Project] #2330: nios2 missing atomics, fails to link C++
RTEMS trac
trac at rtems.org
Sat Apr 18 15:19:25 UTC 2015
#2330: nios2 missing atomics, fails to link C++
---------------------------+--------------------
Reporter: joel.sherrill | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 4.11.1
Component: General | Version: 4.11
Severity: normal | Keywords:
---------------------------+--------------------
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
/users/joel/rtems-4.11-work/tools/lib/gcc/nios2-rtems4.11/4.9.2/libstdc++.a
(ios-inst.o): In function `__atomic_add':
/users/joel/rtems-4.11-work/rtems-source-
builder/rtems/build/nios2-rtems4.11-gcc-4.9.2-newlib-2.2.0.20150323-x86_64
-linux-
gnu-1/build/nios2-rtems4.11/libstdc++-v3/include/ext/atomicity.h:53:
undefined reference to `__sync_fetch_and_add_4'
/users/joel/rtems-4.11-work/rtems-source-
builder/rtems/build/nios2-rtems4.11-gcc-4.9.2-newlib-2.2.0.20150323-x86_64
-linux-
gnu-1/build/nios2-rtems4.11/libstdc++-v3/include/ext/atomicity.h:53:
undefined reference to `__sync_fetch_and_add_4'
/users/joel/rtems-4.11-work/tools/lib/gcc/nios2-rtems4.11/4.9.2/libstdc++.a(ios_init.o):
In function `__exchange_and_add_dispatch':
/users/joel/rtems-4.11-work/rtems-source-
builder/rtems/build/nios2-rtems4.11-gcc-4.9.2-newlib-2.2.0.20150323-x86_64
-linux-
gnu-1/build/nios2-rtems4.11/libstdc++-v3/include/ext/atomicity.h:49:
undefined reference to `__sync_fetch_and_add_4'
/users/joel/rtems-4.11-work/tools/lib/gcc/nios2-rtems4.11/4.9.2/libstdc++.a(ios_init.o):
In function `__atomic_add_dispatch':
/users/joel/rtems-4.11-work/rtems-source-
builder/rtems/build/nios2-rtems4.11-gcc-4.9.2-newlib-2.2.0.20150323-x86_64
-linux-
gnu-1/build/nios2-rtems4.11/libstdc++-v3/include/ext/atomicity.h:53:
undefined reference to `__sync_fetch_and_add_4'
/users/joel/rtems-4.11-work/tools/lib/gcc/nios2-rtems4.11/4.9.2/libstdc++.a(ios_init.o):
In function `__exchange_and_add_dispatch':
/users/joel/rtems-4.11-work/rtems-source-
builder/rtems/build/nios2-rtems4.11-gcc-4.9.2-newlib-2.2.0.20150323-x86_64
-linux-
gnu-1/build/nios2-rtems4.11/libstdc++-v3/include/ext/atomicity.h:49:
undefined reference to `__sync_fetch_and_add_4'
/users/joel/rtems-4.11-work/tools/lib/gcc/nios2-rtems4.11/4.9.2/libstdc++.a
(locale-inst.o):/users/joel/rtems-4.11-work/rtems-source-
builder/rtems/build/nios2-rtems4.11-gcc-4.9.2-newlib-2.2.0.20150323-x86_64
-linux-
gnu-1/build/nios2-rtems4.11/libstdc++-v3/include/ext/atomicity.h:49: more
undefined references to `__sync_fetch_and_add_4' follow
--
Ticket URL: <http://devel.rtems.org/ticket/2330>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list