https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112019-09-25T07:14:17ZRuby Issue Tracking SystemRuby master - Bug #16179: ruby binaries generate "already initialized constant" warnings on AIX 6.1https://redmine.ruby-lang.org/issues/16179?journal_id=817112019-09-25T07:14:17Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/81711/diff?detail_id=55137">diff</a>)</li><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>Could you show what <code>ruby -e 'puts $:'</code> print, and is it same as in irb?</p> Ruby master - Bug #16179: ruby binaries generate "already initialized constant" warnings on AIX 6.1https://redmine.ruby-lang.org/issues/16179?journal_id=817312019-09-26T06:43:39ZReshma (Reshma Kumar)
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Open</i></li></ul> Ruby master - Bug #16179: ruby binaries generate "already initialized constant" warnings on AIX 6.1https://redmine.ruby-lang.org/issues/16179?journal_id=817322019-09-26T06:59:42ZReshma (Reshma Kumar)
<ul><li><strong>File</strong> <a href="/attachments/8052">ruby_output.log.docx</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/8052/ruby_output.log.docx">ruby_output.log.docx</a> added</li></ul><p>Yes, it is same as that in irb.<br>
I have attached a log of the output.</p> Ruby master - Bug #16179: ruby binaries generate "already initialized constant" warnings on AIX 6.1https://redmine.ruby-lang.org/issues/16179?journal_id=820272019-10-15T00:16:15Zjeremyevans0 (Jeremy Evans)merch-redmine@jeremyevans.net
<ul><li><strong>Subject</strong> changed from <i>ruby binaries generate "already initialized constant" warnings</i> to <i>ruby binaries generate "already initialized constant" warnings on AIX 6.1</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>Here's the results of <code>$:</code> extracted from the uploaded .docx log:</p>
<pre><code>/opt/freeware/lib64/ruby/gems/2.6.0/gems/did_you_mean-1.3.0/lib
/opt/freeware/lib64/ruby/site_ruby/2.6.0
/opt/freeware/lib64/ruby/site_ruby/2.6.0/powerpc-aix6.1.0.0
/opt/freeware/lib64/ruby/site_ruby
/opt/freeware/lib64/ruby/vendor_ruby/2.6.0
/opt/freeware/lib64/ruby/vendor_ruby/2.6.0/powerpc-aix6.1.0.0
/opt/freeware/lib64/ruby/vendor_ruby
/opt/freeware/lib64/ruby/2.6.0
/opt/freeware/lib64/ruby/2.6.0/powerpc-aix6.1.0.0
</code></pre>
<p>In the future, please only upload plain text files (or just inline small amounts of text), uploading files in Word format can make it much more difficult to get access to the information.</p>
<p>Can you show the full <code>configure</code> options you are using for both 32bit and 64bit builds?</p> Ruby master - Bug #16179: ruby binaries generate "already initialized constant" warnings on AIX 6.1https://redmine.ruby-lang.org/issues/16179?journal_id=820402019-10-15T12:17:39ZReshma (Reshma Kumar)
<ul></ul><a name="64bit"></a>
<h2 >64bit<a href="#64bit" class="wiki-anchor">¶</a></h2>
<p>./configure <br>
--host=powerpc-ibm-aix6.1.0.0 --target=powerpc-ibm-aix6.1.0.0 --build=powerpc-ibm-aix6.1.0.0 <br>
--prefix=/opt/freeware <br>
--libdir=/opt/freeware/lib64 <br>
--libexecdir=/opt/freeware/lib64 <br>
--disable-rpath <br>
--enable-pthread <br>
--enable-shared <br>
--disable-static</p>
<a name="32bit"></a>
<h2 >32bit<a href="#32bit" class="wiki-anchor">¶</a></h2>
<p>./configure <br>
--host=powerpc-ibm-aix6.1.0.0 --target=powerpc-ibm-aix6.1.0.0 --build=powerpc-ibm-aix6.1.0.0 <br>
--prefix=/opt/freeware <br>
--libdir=/opt/freeware/lib <br>
--libexecdir=/opt/freeware/lib <br>
--disable-rpath <br>
--enable-pthread <br>
--enable-shared <br>
--disable-static</p> Ruby master - Bug #16179: ruby binaries generate "already initialized constant" warnings on AIX 6.1https://redmine.ruby-lang.org/issues/16179?journal_id=820442019-10-15T14:47:56Zjeremyevans0 (Jeremy Evans)merch-redmine@jeremyevans.net
<ul></ul><p>Try using a different <code>--prefix</code> for the 32bit and 64bit versions, and please report whether that fixes the issues.</p> Ruby master - Bug #16179: ruby binaries generate "already initialized constant" warnings on AIX 6.1https://redmine.ruby-lang.org/issues/16179?journal_id=859222020-06-01T15:06:03Zjeremyevans0 (Jeremy Evans)merch-redmine@jeremyevans.net
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li></ul>