ruby-dev (Japanese) list archive (unofficial mirror)
 help / color / mirror / Atom feed
From: usa@garbagecollect•jp
To: ruby-dev@ruby-lang.org
Subject: [ruby-dev:50464] [Ruby trunk Bug#14439] build failed on NetBSD 7.1 with MJIT
Date: Sun, 04 Feb 2018 12:28:54 +0000 (UTC)	[thread overview]
Message-ID: <redmine.issue-14439.20180204122852.8b177c62b00fc2c1@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-14439.20180204122852@ruby-lang.org

Issue #14439 has been reported by usa (Usaku NAKAMURA).

----------------------------------------
Bug #14439: build failed on NetBSD 7.1 with MJIT
https://bugs.ruby-lang.org/issues/14439

* Author: usa (Usaku NAKAMURA)
* Status: Assigned
* Priority: Normal
* Assignee: k0kubun (Takashi Kokubun)
* Target version: 2.6
* ruby -v: r62193
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
MJITマージおめでとうございます。
というわけで手元のNetBSD/i386 7.1で試そうとしたら、残念ながらビルドエラーになりました。

```
error in final header file:
/tmp/20180204-20715-187ick.c:4961:1: error: static declaration of ‘sigaddset’ follows non-static declaration
 sigaddset(sigset_t *set, int signo)
 ^
compilation terminated due to -Wfatal-errors.
*** Error code 1

Stop.
```

よくわかりませんが、そのちょっと上で

```
transform_mjit_header: making external definition of 'sigfillset' static inline
transform_mjit_header: making external definition of 'sigemptyset' static inline
transform_mjit_header: making external definition of 'sigismember' static inline
transform_mjit_header: making external definition of 'sigdelset' static inline
transform_mjit_header: making external definition of 'sigaddset' static inline
```

とか言ってるのですが、libc提供関数をどうにかしようとしてるのはまずそうな雰囲気を感じます。
ちなみに、こいつらは /usr/include/signal.h の中でinline関数として定義されているっぽいです。

取り急ぎ報告まで。



-- 
https://bugs.ruby-lang.org/

       reply	other threads:[~2018-02-04 12:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-14439.20180204122852@ruby-lang.org>
2018-02-04 12:28 ` usa [this message]
2018-02-04 12:47   ` [ruby-dev:50465] Re: [Ruby trunk Bug#14439] build failed on NetBSD 7.1 with MJIT Takahiro Kambe
2018-02-04 12:52 ` [ruby-dev:50466] " usa

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=redmine.issue-14439.20180204122852.8b177c62b00fc2c1@ruby-lang.org \
    --to=ruby-dev@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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).