Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Michael S. Zick <minimod@morethan.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] gcc: remove option on SJLJ exceptions
Date: Thu, 29 Jul 2010 10:11:59 -0500	[thread overview]
Message-ID: <201007291012.02631.minimod@morethan.org> (raw)
In-Reply-To: <20100729163008.468a211e@surf>

On Thu July 29 2010, Thomas Petazzoni wrote:
> Hello Michael,
> 
> On Thu, 29 Jul 2010 07:18:56 -0500
> "Michael S. Zick" <minimod@morethan.org> 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

  parent reply	other threads:[~2010-07-29 15:11 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-29  6:30 [Buildroot] [pull request] Pull request for branch gcc-remove-options Thomas Petazzoni
2010-07-29  6:30 ` [Buildroot] [PATCH 1/2] gcc: remove option on SJLJ exceptions Thomas Petazzoni
2010-07-29 10:38   ` Michael S. Zick
2010-07-29 11:38     ` Thomas Petazzoni
2010-07-29 11:59       ` Michael S. Zick
2010-07-29 12:18         ` Michael S. Zick
2010-07-29 14:30           ` Thomas Petazzoni
2010-07-29 15:09             ` Michael S. Zick
2010-07-29 15:11             ` Michael S. Zick [this message]
2010-07-29 12:30         ` Thomas Petazzoni
2010-07-29 12:34           ` Peter Korsgaard
2010-07-29 12:47           ` Michael S. Zick
2010-07-29 13:04             ` Thomas Petazzoni
2010-07-29  6:30 ` [Buildroot] [PATCH 2/2] toolchain: remove multilib Thomas Petazzoni
2010-07-29  6:53 ` [Buildroot] [pull request] Pull request for branch gcc-remove-options Peter Korsgaard
  -- strict thread matches above, loose matches on Subject: below --
2010-07-28 10:10 Thomas Petazzoni
2010-07-28 10:10 ` [Buildroot] [PATCH 1/2] gcc: remove option on SJLJ exceptions Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201007291012.02631.minimod@morethan.org \
    --to=minimod@morethan.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox