[bug-notifications] [rubydev 0003770]: Unable to compile native gems on virtualised X86 platform
Mantis Bug Tracker
noreply at opencsw.org
Sat Jul 18 19:31:28 CEST 2009
A NOTE has been added to this issue.
======================================================================
http://opencsw.org/bugtrack/view.php?id=3770
======================================================================
Reported By: chrismay
Assigned To:
======================================================================
Project: rubydev
Issue ID: 3770
Category: regular use
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2009-07-18 19:08 CEST
Last Modified: 2009-07-18 19:31 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}
======================================================================
----------------------------------------------------------------------
(0006444) chrismay (reporter) - 2009-07-18 19:31
http://opencsw.org/bugtrack/view.php?id=3770#c6444
----------------------------------------------------------------------
n.b. the command run here was "gem install mongrel", though other native
gems seem to fail in thes same way. The same command appears to work fine
on an equivalent non-virtualised solaris 10u7/x64 platform
More information about the bug-notifications
mailing list