Running BOSP on Multi-Core Leon3

18 views
Skip to first unread message

Giacomo Valente

unread,
Feb 22, 2016, 10:25:13 AM2/22/16
to BOSP Development
Dear all,
we are working at University of L'Aquila to try to build the BOSP for quad-core SMP Leon3 system offered by Gaisler (on Virtex6 on ML605 Dev. Board) and run it.

1) First of all, we have downloaded BBQ source files and configured it to run on X86 platform with Ubuntu, and it works good.

2) We have linked the Gaisler cross-compiler (sparc-linux-gcc, toolchain downloadable at http://www.gaisler.com/anonftp/linux/linux-2.6/toolchains/, and information to http://www.gaisler.com/index.php/products/operating-systems/linux) into Makefiles, in order to build BOSP integrated with our system. The compilation phase gives some errors, due to the version of GCC compiler. The actual version that we are using is 4.4.2, with support for C++03, while BBQ seems to be implemented using C++11, so there is an incompatibility with some features (such as mutex and unique_ptr).

So we have selected some possible solutions:
We have already asked to Gaisler a newest version of cross-compiler, with C++11 support. We are waiting for their answer.

While waiting for this, we are trying to generate a cross-compiler from scratch, with GCC 4.7.2.

Do you have some ideas about possible other solutions?
We are also thinking to manually modify BBQ source files to avoid C++11 features, using C++ available techiniques, but this could be a long action, involve more files and probably not the best solution.

Thank you,
UAQ team




Giuseppe Massari

unread,
Feb 22, 2016, 12:56:35 PM2/22/16
to bosp-...@googlegroups.com

Hi guys,

Thanks for your precious effort.

I would say, let's wait for the Gaisler answer first. To have a C++11 compliant version of the compiler would save a lot of work. Moreover it would not prevent us from adding other C++11 construct in the code base.

Otherwise a possible strategy, already adopted for Android in the past, can be to provide a custom implementation of the missing C++11 construct (e.g, std::emplace(...)). This would require more work on the makefile side, to link the right function implementation,  but less (or no) changes in the already existing code.

Again, I would wait for Gaisler, the we will see.

Meanwhile, thank you again. Update us, as soon as you can.

--
You received this message because you are subscribed to the Google Groups "BOSP Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bosp-devel+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Giacomo Valente

unread,
Feb 23, 2016, 4:46:50 AM2/23/16
to BOSP Development, joe.ma...@gmail.com
Dear Giuseppe,
thank you too for indication of another solution.
So, I will give you some updates as soon as Gaisler answer us.

Giacomo
Reply all
Reply to author
Forward
0 new messages