From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <51921BFC.9020404@siemens.com> Date: Tue, 14 May 2013 13:11:56 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <516BA4E9.3070201@xenomai.org> <5182B1B5.1000107@xenomai.org> <12E434B4-4F26-44AC-8D50-2CF70B5089E1@kabelmail.de> <5183FFB3.1000006@xenomai.org> <8D9AB79C-4A66-4511-B08B-ACF825FED1BF@kabelmail.de> <518A98F5.30000@xenomai.org> <0ECFC8C0-CF1D-4D65-9724-B0A1A91887DC@kabelmail.de> <518CF43E.3080601@xenomai.org> <5F179C54-A023-4C27-9082-13195B16B9BB@kabelmail.de> <518D07BB.1060900@xenomai.org> <518D24E8.6070305@xenomai.org> <518D2815.7000602@xenomai.org> <19C79116-400B-4A5C-BFDA-87EEF8799554@kabelmail.de> <41BEC449-99F8-4C31-AA75-B98690DB3F23@kabelmail.de> <5191DC82.6090509@xenomai.org> <5191ED8D.90105@xenomai.org> <42470BFE-71B5-41BD-9A90-EA3ACF1D1C1C@kabelmail.de> <519201D7.6050800@siemens.com> <51921369.4000703@siemens.com> <519219C0.9000209@xenomai.org> In-Reply-To: <519219C0.9000209@xenomai.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] Raspberry and Beaglebone patches List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gilles Chanteperdrix Cc: Stephan Kappertz , Xenomai On 2013-05-14 13:02, Gilles Chanteperdrix wrote: >> OK, I pushed the patch for upstream merge. It's probably better to carry >> the workaround than letting users find out the reason the hard way. >> Gilles, please consider it for 2.6.3. > > > Ok, but does not the workaround of un-inlining xeno_bind_skin make more > sense? The issue is not with xeno_bind_skin and its inlining but with patterns like my_function() { if (condition) return; do_other_stuff(); } gcc tends to push do_other_stuff into a sub-function called my_function.part.0, and that part is then incorrectly registered as constructor function as well. Jan -- Siemens AG, Corporate Technology, CT RTC ITP SDP-DE Corporate Competence Center Embedded Linux