[bug-notifications] [rubydev 0003770]: Unable to compile native gems on virtualised X86 platform

Mantis Bug Tracker noreply at opencsw.org
Thu Oct 29 01:18:16 CET 2009


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/mantis/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-10-29 01:18 CET
====================================================================== 
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}
====================================================================== 

---------------------------------------------------------------------- 
 (0006908) bwalton (manager) - 2009-10-29 01:18
 http://www.opencsw.org/mantis/view.php?id=3770#c6908 
---------------------------------------------------------------------- 
I haven't tested myself on sol10x86/32bit yet, but the mongrel gems I've
built with sos11 don't link to libucb.so.  Can you determine how/why that
library is being used.

I'll try to fire up my VM tomorrow and test this too.




More information about the bug-notifications mailing list