Project

General

Profile

Actions

Bug #11644

closed

Since r52055, TestMkmf::TestConvertible failed on Solaris 10 with fcc

Added by ngoto (Naohisa Goto) over 8 years ago. Updated over 8 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.3.0dev (2015-10-06) [sparc64-solaris2.10]
[ruby-dev:49326]

Description

r52055以降、Solaris 10 上の古いfcc (Fujitsu C Compiler) にてコンパイルすると、
make test-all にて
TestMkmf::TestConvertible#test_typeof_builtin
TestMkmf::TestConvertible#test_typeof_typedef
がfailureになります。

長いのでFailure部分のログはファイル(r52055-failure.log)にて添付します。

以下のようにポインタの型の不一致のWarningが出ているのが原因でしょうか?

"/XXXXX-52055/include/ruby/ruby.h", line 2003: warning: return incompatible pointer types: expected `const VALUE *' actual `const unsigned long *' in function `rb_array_const_ptr'
"/XXXXX-52055/include/ruby/ruby.h", line 2017: warning: return incompatible pointer types: expected `const VALUE *' actual `const unsigned long *' in function `rb_struct_const_ptr'

なお、Oracle Solaris Studio 12.3 など他のコンパイラではFailureにならず成功しています。


Files

r52055-failure.log (8.02 KB) r52055-failure.log ngoto (Naohisa Goto), 11/02/2015 11:32 AM

Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #12470: Since r54952, TestMkmf::TestConvertible failed on Solaris 10 with Oracle SolarisStudio 12.x ccClosedngoto (Naohisa Goto)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0