From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4B9E6312.6010109@domain.hid> Date: Mon, 15 Mar 2010 17:40:50 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <1268663424.27899.226.camel@domain.hid> In-Reply-To: <1268663424.27899.226.camel@domain.hid> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] Problem throwing a C++ Exception on Blackfin List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe Gerum Cc: xenomai@xenomai.org Philippe Gerum wrote: > On Mon, 2010-03-15 at 15:00 +0100, Kolja Waschk wrote: >> Hi, >> >> first I have to admit that my report is actually about a problem with a quite old Xenomai (Nucleus 2.4.7, I-pipe 1.10) in "stock" Blackfin uClinux kernel 2.6.28 as it comes in Blackfin uClinux-dist 2009R1-RC6. >> >> Testing a newer code base would probably require some days of work to update a custom driver and bring up other problems, so I'm trying to find out whether it is worth the effort at this time. Maybe someone can (roughly) identify the problem's cause (from memory?) and help me to decide whether there is a simple solution, or an upgrade is necessary: >> > > No obvious answer to this. 2.6.28/bfin has problems, the whole exception > management on blackfin is a problem per se. 2.6.28/bfin + I-pipe has > even more problems. You may want to try 2.6.31.6, while keeping the rest > of your uClinux-dist base. Nasty issues were fixed in the 2.6.30 > timeframe. Are you sure C++ exceptions need hardware exceptions at all? That the problem is not rather that we have some C code without exception handling traversed by exceptions? Should not the Xenomai support libraries be compiled with -fexceptions to allow mixing them with code which throws/catches exceptions? -- Gilles Chanteperdrix, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com