[RTEMS Project] #3068: RTEMS 4.11.2 Moxie build fails
RTEMS trac
trac at rtems.org
Tue Jul 11 01:13:53 UTC 2017
#3068: RTEMS 4.11.2 Moxie build fails
-------------------------+--------------------
Reporter: Chris Johns | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone: 4.11.3
Component: General | Version: 4.11
Severity: normal | Keywords:
-------------------------+--------------------
C++ sample fails to build:
{{{
moxie-rtems4.11-g++ -B../../../../../moxiesim/lib/ -specs bsp_specs
-qrtems -Os -g -ffunction-sections -fdata-sections -Wall -Wmissing-
prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-
externs -Wl,--gc-sections -o cxx_iostream.exe init.o
init.o: In function `__static_initialization_and_destruction_0':
/build/rtems/releases/build/4.11.2/rtems-source-
builder-4.11.2/rtems/build/tmp/sb-chris/4.11/rtems-
moxie.bset/build/rtems/releases/4.11.2/lib/gcc/moxie-
rtems4.11/4.9.3/include/c++/iostream:74: undefined reference to
`__dso_handle'
/build/rtems/releases/build/4.11.2/rtems-source-
builder-4.11.2/rtems/build/tmp/sb-chris/4.11/rtems-
moxie.bset/build/rtems/releases/4.11.2/bin/../lib/gcc/moxie-
rtems4.11/4.9.3/libstdc++.a(atomicity.o): In function `get_atomic_mutex':
/build/rtems/releases/build/4.11.2/rtems-source-builder-4.11.2/rtems/build
/moxie-
rtems4.11-gcc-4.9.3-newlib-2.2.0.20150423-x86_64-freebsd11.0-1/build
/moxie-rtems4.11/libstdc++-v3/src/c++98/atomicity.cc:33: undefined
reference to `__dso_handle'
/build/rtems/releases/build/4.11.2/rtems-source-
builder-4.11.2/rtems/build/tmp/sb-chris/4.11/rtems-
moxie.bset/build/rtems/releases/4.11.2/bin/../lib/gcc/moxie-
rtems4.11/4.9.3/libstdc++.a(locale.o): In function
`get_locale_cache_mutex':
/build/rtems/releases/build/4.11.2/rtems-source-builder-4.11.2/rtems/build
/moxie-
rtems4.11-gcc-4.9.3-newlib-2.2.0.20150423-x86_64-freebsd11.0-1/build
/moxie-
rtems4.11/libstdc++-v3/src/c++98/../../../../../gcc-4.9.3/libstdc++-v3/src/c++98/locale.cc:36:
undefined reference to `__dso_handle'
/build/rtems/releases/build/4.11.2/rtems-source-
builder-4.11.2/rtems/build/tmp/sb-chris/4.11/rtems-
moxie.bset/build/rtems/releases/4.11.2/bin/../lib/gcc/moxie-
rtems4.11/4.9.3/libstdc++.a(system_error.o): In function
`__static_initialization_and_destruction_0':
/build/rtems/releases/build/4.11.2/rtems-source-builder-4.11.2/rtems/build
/moxie-
rtems4.11-gcc-4.9.3-newlib-2.2.0.20150423-x86_64-freebsd11.0-1/build
/moxie-
rtems4.11/libstdc++-v3/src/c++11/../../../../../gcc-4.9.3/libstdc++-v3/src/c++11/system_error.cc:65:
undefined reference to `__dso_handle'
gmake[6]: Leaving directory '/build/rtems/releases/build/4.11.2/rtems-
source-builder-4.11.2/rtems/build/moxie-rtems4.11-kernel-4.11.2-1/moxie-
rtems4.11-kernel-4.11.2-1-4.11.2/build/moxie-
rtems4.11/c/moxiesim/testsuites/samples/iostream'
/build/rtems/releases/build/4.11.2/rtems-source-builder-4.11.2/rtems/build
/moxie-
rtems4.11-gcc-4.9.3-newlib-2.2.0.20150423-x86_64-freebsd11.0-1/build
/moxie-
rtems4.11/libstdc++-v3/src/c++11/../../../../../gcc-4.9.3/libstdc++-v3/src/c++11/system_error.cc:66:
undefined reference to `__dso_handle'
gmake[5]: Leaving directory '/build/rtems/releases/build/4.11.2/rtems-
source-builder-4.11.2/rtems/build/moxie-rtems4.11-kernel-4.11.2-1/moxie-
rtems4.11-kernel-4.11.2-1-4.11.2/build/moxie-
rtems4.11/c/moxiesim/testsuites/samples'
/build/rtems/releases/build/4.11.2/rtems-source-
builder-4.11.2/rtems/build/tmp/sb-chris/4.11/rtems-
moxie.bset/build/rtems/releases/4.11.2/bin/../lib/gcc/moxie-
rtems4.11/4.9.3/libstdc++.a(eh_alloc.o):/build/rtems/releases/build/4.11.2
/rtems-source-builder-4.11.2/rtems/build/moxie-
rtems4.11-gcc-4.9.3-newlib-2.2.0.20150423-x86_64-freebsd11.0-1/build
/moxie-
rtems4.11/libstdc++-v3/libsupc++/../../../../gcc-4.9.3/libstdc++-v3/libsupc++/eh_alloc.cc:96:
more undefined references to `__dso_handle' follow
gmake[4]: Leaving directory '/build/rtems/releases/build/4.11.2/rtems-
source-builder-4.11.2/rtems/build/moxie-rtems4.11-kernel-4.11.2-1/moxie-
rtems4.11-kernel-4.11.2-1-4.11.2/build/moxie-
rtems4.11/c/moxiesim/testsuites/samples'
/build/rtems/releases/build/4.11.2/rtems-source-
builder-4.11.2/rtems/build/tmp/sb-chris/4.11/rtems-
moxie.bset/build/rtems/releases/4.11.2/bin/../lib/gcc/moxie-
rtems4.11/4.9.3/../../../../moxie-rtems4.11/bin/ld: cxx_iostream.exe:
hidden symbol `__dso_handle' isn't defined
gmake[3]: Leaving directory '/build/rtems/releases/build/4.11.2/rtems-
source-builder-4.11.2/rtems/build/moxie-rtems4.11-kernel-4.11.2-1/moxie-
rtems4.11-kernel-4.11.2-1-4.11.2/build/moxie-
rtems4.11/c/moxiesim/testsuites'
/build/rtems/releases/build/4.11.2/rtems-source-
builder-4.11.2/rtems/build/tmp/sb-chris/4.11/rtems-
moxie.bset/build/rtems/releases/4.11.2/bin/../lib/gcc/moxie-
rtems4.11/4.9.3/../../../../moxie-rtems4.11/bin/ld: final link failed: Bad
value
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/3068>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list