* [ruby-dev:50464] [Ruby trunk Bug#14439] build failed on NetBSD 7.1 with MJIT
[not found] <redmine.issue-14439.20180204122852@ruby-lang.org>
@ 2018-02-04 12:28 ` usa
2018-02-04 12:47 ` [ruby-dev:50465] " Takahiro Kambe
2018-02-04 12:52 ` [ruby-dev:50466] " usa
1 sibling, 1 reply; 3+ messages in thread
From: usa @ 2018-02-04 12:28 UTC (permalink / raw)
To: ruby-dev
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ruby-dev:50465] Re: [Ruby trunk Bug#14439] build failed on NetBSD 7.1 with MJIT
2018-02-04 12:28 ` [ruby-dev:50464] [Ruby trunk Bug#14439] build failed on NetBSD 7.1 with MJIT usa
@ 2018-02-04 12:47 ` Takahiro Kambe
0 siblings, 0 replies; 3+ messages in thread
From: Takahiro Kambe @ 2018-02-04 12:47 UTC (permalink / raw)
To: ruby-dev
In message <redmine.issue-14439.20180204122852.8b177c62b00fc2c1@ruby-lang.org>
on Sun, 04 Feb 2018 12:28:54 +0000 (UTC),
usa@garbagecollect•jp wrote:
> というわけで手元のNetBSD/i386 7.1で試そうとしたら、残念ながらビルドエラーになりました。
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/lang/ruby25-base/patches/patch-configure?rev=1.4
の、
@@ -20224,6 +20229,8 @@ else
# ifdef _MSC_VER
# include <malloc.h>
# define alloca _alloca
+# elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
+# include <stdlib.h>
# else
# ifdef HAVE_ALLOCA_H
# include <alloca.h>
辺りでしょうか?
--
神戸 隆博 / Takahiro Kambe
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ruby-dev:50466] [Ruby trunk Bug#14439] build failed on NetBSD 7.1 with MJIT
[not found] <redmine.issue-14439.20180204122852@ruby-lang.org>
2018-02-04 12:28 ` [ruby-dev:50464] [Ruby trunk Bug#14439] build failed on NetBSD 7.1 with MJIT usa
@ 2018-02-04 12:52 ` usa
1 sibling, 0 replies; 3+ messages in thread
From: usa @ 2018-02-04 12:52 UTC (permalink / raw)
To: ruby-dev
Issue #14439 has been updated by usa (Usaku NAKAMURA).
手元のconfigureには該当行は存在するので、たぶん関係ないかと。
----------------------------------------
Bug #14439: build failed on NetBSD 7.1 with MJIT
https://bugs.ruby-lang.org/issues/14439#change-70156
* 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/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-02-04 12:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <redmine.issue-14439.20180204122852@ruby-lang.org>
2018-02-04 12:28 ` [ruby-dev:50464] [Ruby trunk Bug#14439] build failed on NetBSD 7.1 with MJIT usa
2018-02-04 12:47 ` [ruby-dev:50465] " Takahiro Kambe
2018-02-04 12:52 ` [ruby-dev:50466] " usa
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).