[bug-notifications] [rubydev 0003770]: Unable to compile native gems on virtualised X86 platform
Mantis Bug Tracker
noreply at opencsw.org
Sun Sep 20 14:40:39 CEST 2009
A NOTE has been added to this issue.
======================================================================
http://www.opencsw.org/bugtrack/view.php?id=3770
======================================================================
Reported By: chrismay
Assigned To: bwalton
======================================================================
Project: rubydev
Issue ID: 3770
Category: regular use
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 2009-07-18 19:08 CEST
Last Modified: 2009-09-20 14:40 CEST
======================================================================
Summary: Unable to compile native gems on virtualised X86
platform
Description:
Trying to compile native gems results in the following error:
make
/opt/csw/gcc4/bin/gcc -I. -I/opt/csw/lib/ruby/1.8/i386-solaris2.8
-I/opt/csw/lib/ruby/1.8/i386-solaris2.8 -I. -I/opt/csw/include
-D_FILE_OFFSET_BITS=64 -fPIC -mtune=i68
6 -O2 -pipe -m32 -march=i386 -I/opt/csw/include -fPIC -c fastthread.c
In file included from
/opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.3.3/include-fixed/stdlib.h:27,
from /opt/csw/lib/ruby/1.8/i386-solaris2.8/ruby.h:40,
from fastthread.c:12:
/usr/include/iso/stdlib_iso.h: In function 'abort':
/usr/include/iso/stdlib_iso.h:107: error: expected declaration
specifiers before '__NORETURN'
/usr/include/iso/stdlib_iso.h:108: error: storage class specified for
parameter 'abs'
/usr/include/iso/stdlib_iso.h:109: error: storage class specified for
parameter 'atexit'
/usr/include/iso/stdlib_iso.h:110: error: storage class specified for
parameter 'atof'
/usr/include/iso/stdlib_iso.h:111: error: storage class specified for
parameter 'atoi'
/usr/include/iso/stdlib_iso.h:112: error: storage class specified for
parameter 'atol'
/usr/include/iso/stdlib_iso.h:114: error: storage class specified for
parameter 'bsearch'
/usr/include/iso/stdlib_iso.h:121: error: storage class specified for
parameter 'calloc'
/usr/include/iso/stdlib_iso.h:122: error: storage class specified for
parameter 'div'
/usr/include/iso/stdlib_iso.h:124: error: expected '=', ',', ';',
'asm' or '__attribute__' before '__NORETURN'
{many many more similar errors omitted}
======================================================================
----------------------------------------------------------------------
(0006733) bwalton (manager) - 2009-09-20 14:40
http://www.opencsw.org/bugtrack/view.php?id=3770#c6733
----------------------------------------------------------------------
I'm most likely going to be rebuilding ruby for solaris 9+ with sun cc.
Hopefully this will resolve the problem. No timeline on this yet, but
fairly soon, I hope.
More information about the bug-notifications
mailing list