Project

General

Profile

Actions

Bug #9862

closed

build failure on arm-linux-gnueabihf

Added by mame (Yusuke Endoh) almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Target version:
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

Updated by nobu (Nobuyoshi Nakada) almost 10 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. [ruby-core:62746] [Bug #9862]

Updated by nobu (Nobuyoshi Nakada) almost 10 years ago

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

Also available in: Atom PDF

Like0
Like0Like0