From: Michael S. Zick <minimod@morethan.org>
To: buildroot@busybox.net
Subject: [Buildroot] BB update Was: Build jobbing
Date: Sun, 29 Nov 2009 10:50:53 -0600 [thread overview]
Message-ID: <200911291050.56277.minimod@morethan.org> (raw)
In-Reply-To: <200911290453.34368.minimod@morethan.org>
On Sun November 29 2009, Michael S. Zick wrote:
> If Erik had put in a "use compiler default model" / "use setjmp-longjmp"
>
I thought that we had agreed the above was the meaning of that option -
only effects the compiler's model of stack unwind information.
**NOT** user space. (unless you count gdb - which has to understand it).
> > In general, we try to use sensible defaults - If you don't understand an
> > option, just leave it at default.
> >
guess what, the "sensible defaults" results are in:
/ # uname -a
Linux Venus 2.6.12.6-VENUS #13 Wed Jul 15 17:57:07 CST 2009 mips unknown
/ # chroot /tmp/work
/ # lua
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
> print(math.sin(12))
-0.53657291800043
> print(math.sin(garbage))
stdin:1: bad argument #1 to 'sin' (number expected, got nil)
stack traceback:
[C]: in function 'sin'
stdin:1: in main chunk
[C]: ?
> os.exit()
/ #
1) The computation of math.sin(12) (as a double) is incorrect - -
That is because I didn't know about the "sort-of-Hard-Float" yesterday.
I should be able to fix that once I get the math options corrected.
2) It didn't trap, just produced an erroneous value (?wrong fp options?).
3) I now have a stack traceback (implemented in Lua as setjmp/longjmp)!
Number three is the one specific to this discussion.
That 2004-Eric option is affecting the use of setjmp/longjmp *in application
code*.
I think we are agreed that was not the intent,
regardless of the wording of the help message.
So I will continue with translating this 0.5Gbytes of MIPS documentation into
a menuconfig file - - - (number 1 & 2 above).
Somebody familiar with the build system take a look at how this option is being
used please. Assign it a bug-tracking number if no "quick fix" is seen.
*) it shouldn't be needed by gcc-4.x for MIPS; "compiler default" should work.
*) if it leads to a "--disable-setjmp" option being passed to applications;
that needs to be sorted out.
Mike
next prev parent reply other threads:[~2009-11-29 16:50 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-27 21:22 [Buildroot] Build jobbing Michael S. Zick
2009-11-27 21:56 ` Peter Korsgaard
2009-11-27 22:10 ` Michael S. Zick
2009-11-27 22:16 ` Michael S. Zick
2009-11-27 22:33 ` Michael S. Zick
2009-11-27 22:45 ` Michael S. Zick
2009-11-27 22:59 ` Michael S. Zick
2009-11-28 10:40 ` Peter Korsgaard
2009-11-28 10:45 ` Peter Korsgaard
2009-11-28 11:10 ` Michael S. Zick
2009-11-28 11:38 ` Michael S. Zick
2009-11-28 18:58 ` Michael S. Zick
2009-11-28 14:07 ` Peter Korsgaard
2009-11-28 14:13 ` Michael S. Zick
2009-11-28 15:35 ` [Buildroot] BB update Was: " Michael S. Zick
2009-11-28 15:43 ` Michael S. Zick
2009-11-28 19:06 ` Peter Korsgaard
2009-11-28 19:15 ` Michael S. Zick
2009-11-28 19:20 ` Peter Korsgaard
2009-11-28 19:06 ` Peter Korsgaard
2009-11-28 19:17 ` Michael S. Zick
2009-11-28 19:41 ` Michael S. Zick
2009-11-28 20:30 ` Peter Korsgaard
2009-11-28 21:16 ` Michael S. Zick
2009-11-28 22:44 ` Peter Korsgaard
[not found] ` <200911281650.44375.minimod@morethan.org>
[not found] ` <87r5rh3e8w.fsf@macbook.be.48ers.dk>
2009-11-29 9:16 ` Michael S. Zick
[not found] ` <200911290302.13984.minimod@morethan.org>
[not found] ` <87my253d8o.fsf@macbook.be.48ers.dk>
2009-11-29 9:31 ` Michael S. Zick
2009-11-29 10:23 ` Peter Korsgaard
2009-11-29 10:53 ` Michael S. Zick
2009-11-29 11:23 ` Michael S. Zick
2009-11-29 12:54 ` Michael S. Zick
2009-11-29 16:50 ` Michael S. Zick [this message]
2009-11-29 18:11 ` Michael S. Zick
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=200911291050.56277.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