[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] STLport build fails
Hello,
I am using petalinux-v0.20-rc3 trying to build STLport for C++ stdlib
support, but the build fails with
make[2]: Entering directory
`/home/grim/petalinux-v0.20-rc3/software/petalinux-dist/lib'
[ ! -d "STLport" ] || ( touch STLport/.sgbuilt_lib && make -j1 -C STLport
) || exit $?
make[3]: Entering directory
`/home/grim/petalinux-v0.20-rc3/software/petalinux-dist/lib/STLport'
make -C build/lib -f uclinux-dist.mak install ARCH=a
make[4]: Entering directory
`/home/grim/petalinux-v0.20-rc3/software/petalinux-dist/lib/STLport/build/lib'
ucfront-g++ microblaze-uclinux-g++ -O2 -g -fomit-frame-pointer -pipe
-fno-common -fno-builtin -Wall -mno-xl-soft-mul -mno-xl-soft-div
-mxl-barrel-shift -mcpu=v4.00.a -DEMBED -Dlinux -D__linux__ -Dunix
-D__uClinux__ -pthread -fexceptions -fident -fPIC -O2 -fuse-cxa-atexit
-D_STLP_REAL_LOCALE_IMPLEMENTED -D_GNU_SOURCE
-I/home/grim/petalinux-v0.20-rc3/software/petalinux-dist/include/STLport
-I/home/grim/petalinux-v0.20-rc3/software/petalinux-dist/include -c -o
obj/gcc/shared/dll_main.o ../../src/dll_main.cpp
microblaze-uclinux-g++: unrecognized option `-pthread'
/home/grim/petalinux-v0.20-rc3/software/petalinux-dist/include/STLport/stl/_alloc.h:
In instantiation of `std::_Node_alloc_obj*std::__node_alloc< false,
0>::_S_free_list[16]':
/home/grim/petalinux-v0.20-rc3/software/petalinux-dist/include/STLport/stl/_alloc.c:209:
instantiated from `static void std::__node_alloc<__threads,
__inst>::_M_deallocate(void*, size_t) [with bool __threads = false, int
__inst = 0]'
/home/grim/petalinux-v0.20-rc3/software/petalinux-dist/include/STLport/stl/_alloc.h:311:
instantiated from `static void std::__node_alloc<__threads,
__inst>::deallocate(void*, size_t) [with bool __threads = false, int
__inst = 0]'
/home/grim/petalinux-v0.20-rc3/software/petalinux-dist/include/STLport/stl/_alloc.h:480:
instantiated from `void std::allocator<_Tp>::deallocate(_Tp*, size_t)
[with _Tp = char]'
/home/grim/petalinux-v0.20-rc3/software/petalinux-dist/include/STLport/stl/_string_base.h:89:
instantiated from `void std::_String_base<_Tp,
_Alloc>::_M_deallocate_block() [with _Tp = char, _Alloc =
std::allocator<char>]'
/home/grim/petalinux-v0.20-rc3/software/petalinux-dist/include/STLport/stl/_string_base.h:143:
instantiated from `std::_String_base<_Tp, _Alloc>::~_String_base() [with
_Tp = char, _Alloc = std::allocator<char>]'
/home/grim/petalinux-v0.20-rc3/software/petalinux-dist/include/STLport/stl/_string.h:313:
instantiated from `std::basic_string<_CharT, _Traits,
_Alloc>::~basic_string() [with _CharT = char, _Traits =
std::char_traits<char>, _Alloc = std::allocator<char>]'
/home/grim/petalinux-v0.20-rc3/software/petalinux-dist/include/STLport/stl/_numpunct.h:63:
instantiated from here
/home/grim/petalinux-v0.20-rc3/software/petalinux-dist/include/STLport/stl/_alloc.h:267:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.petalogix.com> for instructions.
make[4]: *** [obj/gcc/shared/dll_main.o] Error 1
make[4]: Leaving directory
`/home/grim/petalinux-v0.20-rc3/software/petalinux-dist/lib/STLport/build/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/grim/petalinux-v0.20-rc3/software/petalinux-dist/lib/STLport'
make[2]: *** [STLport] Error 2
make[2]: Leaving directory
`/home/grim/petalinux-v0.20-rc3/software/petalinux-dist/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/grim/petalinux-v0.20-rc3/software/petalinux-dist/lib'
make: *** [subdirs] Error 1
Has anyone else experienced this problem?
Regards,
Kristoffer Hedberg
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/