[oi-dev] ruby 3.1.0preview1
stes@PANDORA.BE
stes at telenet.be
Tue Nov 16 18:11:03 UTC 2021
Thanks, this helps. Indeed, the ruby configure script detects gar,
but it allows to select "ar" by using the AR environment variable.
When I configure like this:
./configure --prefix=$HOME/ruby-31 --with-gcc AR=/usr/bin/ar
then the "gar" errors disappear and it seems to do correctly:
compiling builtin.c
generating a glommed object with DTrace probes for static library
linking static-library libruby-static.a
I'll update the Ruby issue on the ruby website with this info.
Thanks again,
David Stes
----- Op 16 nov 2021 om 11:57 schreef Klaus Ziegler klausz at haus-gisela.de:
> On 11/14/21 16:55, stes at PANDORA.BE wrote:
>>
>>
>> compiling builtin.c
>> generating a glommed object with DTrace probes for static library
>> linking static-library libruby-static.a
>> gar: ruby-glommed.o: SHT_GROUP section [index 52] has no SHF_GROUP sections
>> gar: ruby-glommed.o: SHT_GROUP section [index 53] has no SHF_GROUP sections
>> gar: ruby-glommed.o: SHT_GROUP section [index 54] has no SHF_GROUP sections
>> gar: ruby-glommed.o: SHT_GROUP section [index 55] has no SHF_GROUP sections
>> ...
>> lots of similar messages
>> gar: ruby-glommed.o: unknown type [0] section `' in group [.group]
>> gar: ruby-glommed.o: unknown type [0] section `' in group [.group]
>> gar: ruby-glommed.o: unknown type [0] section `' in group [.group]
>>
> Did you tried to NOT use GNU ar/ranlib at all e.g.
> # mv /usr/gnu/bin/ar /usr/gnu/bin/ar.orig
> # mv /usr/gnu/bin/ranlib /usr/gnu/bin/ranlib.orig
> # mv /usr/bin/gar /usr/bin/gar.orig
>
> and then start the configure with the dtrace option enabled?
> Rgds
> Klaus
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
More information about the oi-dev
mailing list