From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael S. Zick Date: Thu, 29 Jul 2010 10:11:59 -0500 Subject: [Buildroot] [PATCH 1/2] gcc: remove option on SJLJ exceptions In-Reply-To: <20100729163008.468a211e@surf> References: <201007290718.59051.minimod@morethan.org> <20100729163008.468a211e@surf> Message-ID: <201007291012.02631.minimod@morethan.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Thu July 29 2010, Thomas Petazzoni wrote: > Hello Michael, > > On Thu, 29 Jul 2010 07:18:56 -0500 > "Michael S. Zick" wrote: > > > mszick at wolf466:~$ lua > > Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio > > > bye = function() return os.exit("String Value") end > > > bye() > > stdin:1: bad argument #1 to 'exit' (number expected, got string) > > stack traceback: > > [C]: in function 'exit' > > stdin:1: in function 'bye' > > stdin:1: in main chunk > > [C]: ? > > With the current Buildroot git (i.e, without SJLJ exceptions), I built > an ARM system with Lua, and made your test under Qemu. I had the exact > same output, with the exact same stack trace. > > Are more complicated cases likely to make a difference ? > It might make a difference if you compile it with C++ rather than C Lua is written in "clean C" it will compile with either compiler and when used as an extension library for C++ usually is compiled with C++ Mike > Regards, > > Thomas