ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: Ruby developers <ruby-core@ruby-lang.org>
Subject: [ruby-core:63722] Re: [ruby-trunk - Bug #10037] [Open] Since r46798 on Solaris, "[BUG] rb_vm_get_cref: unreachable" during make
Date: Tue, 15 Jul 2014 05:53:45 +0000	[thread overview]
Message-ID: <20140715055345.GA32459@dcvr.yhbt.net> (raw)
In-Reply-To: <redmine.issue-10037.20140715053007.3c41745a57c1da4f@ruby-lang.org>

ngotogenome@gmail.com wrote:
> I think it is possbile that the first 8 byte (in 64-bit architecture)
> of "struct rb_iseq_struct" is sometimes used for some other purposes
> (maybe VALUE ?), and on big-endian 64-bit architecture (including
> SPARC64), it is frequently misunderstood as the other type.

That sounds strange.  I'll wait for ko1 to comment.

I tried valgrind, but that did not report errors on x86-64 when I tried
"make newline.c".  tool/transcode-tblgen.rb ran without errors.

> By the way, I think "int stack_max" is better than "uint32_t
> stack_max" because it seems that all calculations of stack_max in
> compile.c(iseq_set_sequence) and vm_insnhelper.c(vm_push_frame) are
> conducted using int.

I agree, that may be changed to int.

Since enum is also signed int type, maybe having 32-bit signed and
unsigned types next to each other is confusing the compiler?

Can you try "int stack_max"?  Thanks.

  reply	other threads:[~2014-07-15  5:29 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-10037.20140715053007@ruby-lang.org>
2014-07-15  5:30 ` [ruby-core:63721] [ruby-trunk - Bug #10037] [Open] Since r46798 on Solaris, "[BUG] rb_vm_get_cref: unreachable" during make ngotogenome
2014-07-15  5:53   ` Eric Wong [this message]
2014-07-15  6:01 ` [ruby-core:63723] [ruby-trunk - Bug #10037] " normalperson
2014-07-15  6:31 ` [ruby-core:63724] " ngotogenome
2014-07-15  7:50   ` [ruby-core:63726] " Eric Wong
2014-07-15  7:51 ` [ruby-core:63727] " normalperson
2014-07-15  9:51 ` [ruby-core:63729] " ko1
2014-07-15 16:38 ` [ruby-core:63743] " ngotogenome
2014-07-15 18:28   ` [ruby-core:63745] " SASADA Koichi
2014-07-15 19:48     ` [ruby-core:63748] " Eric Wong
2014-07-15 17:22 ` [ruby-core:63744] " ngotogenome
2014-07-15 18:31 ` [ruby-core:63746] " ko1
2014-07-15 19:51 ` [ruby-core:63749] " normalperson
2014-07-16 11:50 ` [ruby-core:63771] " ngotogenome
2014-08-06  4:11 ` [ruby-core:64225] [ruby-trunk - Bug #10037] [Assigned] " shibata.hiroshi

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-list from there: mbox

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

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

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

  git send-email \
    --in-reply-to=20140715055345.GA32459@dcvr.yhbt.net \
    --to=ruby-core@ruby-lang.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).