Bug #9862

build failure on arm-linux-gnueabihf

Added by Yusuke Endoh about 1 year ago. Updated about 1 year ago.

[ruby-core:62746]
Status:Closed
Priority:Normal
Assignee:Nobuyoshi Nakada
ruby -v:trunk Backport:2.0.0: DONTNEED, 2.1: DONTNEED

Description

compiling signal.c
signal.c: In function ‘check_stack_overflow’:
signal.c:720:27: error: ‘mcontext_t’ has no member named ‘gregs’
     const greg_t sp = mctx->gregs[REG_ESP];
                           ^
signal.c:720:35: error: ‘REG_ESP’ undeclared (first use in this function)
     const greg_t sp = mctx->gregs[REG_ESP];
                                   ^
signal.c:720:35: note: each undeclared identifier is reported only once for each function it appears in

r46100 の条件変更がなんかうまくないんじゃないかなーと思います。

Yusuke Endoh mame@ruby-lang.org

Associated revisions

Revision 46113
Added by Nobuyoshi Nakada about 1 year ago

signal.c: revert part of r46100

  • signal.c (check_stack_overflow): revert part of r46100, the previous condition was correct, and fix compilation error on other architecture linux. [Bug #9862]

Revision 46113
Added by Nobuyoshi Nakada about 1 year ago

signal.c: revert part of r46100

  • signal.c (check_stack_overflow): revert part of r46100, the previous condition was correct, and fix compilation error on other architecture linux. [Bug #9862]

History

#1 Updated by Nobuyoshi Nakada about 1 year ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Applied in changeset r46113.


signal.c: revert part of r46100

  • signal.c (check_stack_overflow): revert part of r46100, the previous condition was correct, and fix compilation error on other architecture linux. [Bug #9862]

#2 Updated by Nobuyoshi Nakada about 1 year ago

  • Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN to 2.0.0: DONTNEED, 2.1: DONTNEED

Also available in: Atom PDF