[ruby-core:32859] [Ruby 1.9-Bug#3971][Open] Problem compiling 1.9.2-p0 under AIX 5.3

From: Glauber Ribeiro <redmine@...>
Date: 2010-10-20 14:55:50 UTC
List: ruby-core #32859
Bug #3971: Problem compiling 1.9.2-p0 under AIX 5.3
http://redmine.ruby-lang.org/issues/show/3971

Author: Glauber Ribeiro
Status: Open, Priority: Low
Category: build, Target version: 1.9.2
ruby -v: ruby 1.8.7 (2008-05-31 patchlevel 0) [powerpc-aix5.3.0.0]

Compile fails on file cfunc.c, part of the dl extension, with many errors similar to the following:

"cfunc.c", line 378.13: 1506-033 (S) Function  is not valid. Function cannot return a function.
"cfunc.c", line 378.13: 1506-963 (W) The attribute "cdecl" is not a valid variable attribute and is ignored.
"cfunc.c", line 378.13: 1506-117 (S) Operand must be a scalar type.

This is the only file that fails. If i delete the dl extension, the build succeeds.

This is AIX 4.3 with IBM XL C for AIX v 10.1 in "cc" mode (64-bit).

I'm attaching a text file which has the output of "./configure --prefix=/aissrc/inc/ruby19 && make".

Ruby 1.9.1-p430 compiled correctly.


----------------------------------------
http://redmine.ruby-lang.org

Attachments (1)

build_log.txt (155 KB, text/plain)

In This Thread

Prev Next