Project

General

Profile

Bug #9862

build failure on arm-linux-gnueabihf

Added by Yusuke Endoh almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
ruby -v:
trunk
[ruby-core:62746]

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 almost 2 years 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 almost 2 years 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 almost 2 years 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 [ruby-core:62747] Updated by Nobuyoshi Nakada almost 2 years 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 [ruby-core:62749] Updated by Nobuyoshi Nakada almost 2 years ago

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

Also available in: Atom PDF