Bug #2064: Missing exports
http://redmine.ruby-lang.org/issues/show/2064

Author: Perry Smith
Status: Open, Priority: Normal
ruby -v: ruby 1.9.1p243 (2009-07-16 revision 24175) [powerpc-aix5.3.0.0]

This is connected to issue 2063.  The problem is that, for example, .ext/powerpc-aix5.3.0.0/enc/iso_8859_1.so, needs to import OnigEncISO_8859_1_ToLowerCaseTable.  gcc 4.4.1 puts this in the text section because it is const data.  So, the nm -Pgp does not pick it up and thus it is not in ruby.imp

I don't have a really good suggestion of how to fix it.  What I did was I just added:

OnigEncISO_8859_1_ToLowerCaseTable
OnigEncISO_8859_1_ToUpperCaseTable
OnigEncAsciiToLowerCaseTable
OnigEncAsciiToUpperCaseTable
OnigEncAsciiCtypeTable

to the bottom of ruby.imp and continued the make.  These are the five const data structures mentioned in regenc.h which can be reference.


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