|
From: Ray D. <min...@gm...> - 2015-02-11 19:47:46
|
On Wed, Feb 11, 2015 at 5:55 AM, Chris Johns <ch...@rt...> wrote: > Hello, > > I am working on getting RTEMS tools (http://www.rtems.org/) to build in > MSYS2 on Windows. We cross-compile for RTEMS and are currently using > gcc-4.9.2. > > I am building a SPARC tools chain Can RTEMS toolchains be built via crosstool-ng? If so, I'd be tempted to go down that route. I've got lots of patches I need to try to upstream for crosstool-ng, but would be happy to commit them into the MSYS2 crosstool-ng package if you wanted to go that route? > and I am seeing a some interesting > errors when we get to C++'s libsupc++. The issue is not repeatable so I > have builds that do not fail here and then builds that do. I am using > '-j 2' on the build. > > The first error I have is: > > libtool: link: sparc-rtems4.11-ar rc .libs/libsupc++.a > array_type_info.o atexit_arm.o atexit_thread.o bad_alloc.o > bad_array_length.o bad_array_new.o bad_cast.o bad_typeid.o > class_type_info.o del_op.o del_opnt.o del_opv.o del_opvnt.o dyncast.o > eh_alloc.o eh_arm.o eh_aux_runtime.o eh_call.o eh_catch.o eh_exception.o > eh_globals.o eh_personality.o eh_ptr.o eh_term_handler.o eh_terminate.o > eh_tm.o eh_throw.o eh_type.o eh_unex_handler.o enum_type_info.o > function_type_info.o fundamental_type_info.o guard.o guard_error.o > hash_bytes.o nested_exception.o new_handler.o new_op.o new_opnt.o > new_opv.o new_opvnt.o pbase_type_info.o pmem_type_info.o > pointer_type_info.o pure.o si_class_type_info.o tinfo.o tinfo2.o vec.o > vmi_class_type_info.o vterminate.o cp-demangle.o > C:\opt\rtems\rsb\rtems-source-builder.git\rtems\build\tmp\sb-chris\4.11\rtems-sparc\C\opt\rtems\4.11\bin\sparc-rtems4.11-ar.exe: > unable to rename '.libs/libsupc++.a'; reason: Permission denied > > and running the command in the directory as shown worked. > > The second, again in the same area of gcc is: > > libtool: link: sparc-rtems4.11-ranlib .libs/libsupc++.a > libtool: link: sparc-rtems4.11-ranlib .libs/libsupc++convenience.a > C:\opt\rtems\rsb\rtems-source-builder.git\rtems\build\tmp\sb-chris\4.11\rtems-sparc\C\opt\rtems\4.11\bin\sparc-rtems4.11-ranlib.exe: > .libs/libsupc++convenience.a: File format not recognized > > and the .a file is corrupt. The first 8 bytes are 0. > > I downloaded a fresh MSYS2 2 days ago. > > Any insight would be welcome. > > Chris > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Msys2-users mailing list > Msy...@li... > https://lists.sourceforge.net/lists/listinfo/msys2-users |