<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
    
  <channel>
        

    <title>Forum: Compiler Forum</title><link>http://Sicortex.com</link>
    <description>Forum on the SiCortex site.</description>
    <language>en-US</language>        <item>
              <pubDate>Wed, 30 Apr 2008 14:09:46 EDT</pubDate>
                 <title>Reply to: pathf95 Internal Error</title>
                 <!-- This would be about the hoakiest way to remove the /layout/set/rss out of the url, but it's the only way I could think of now -->
                 <link>
                                  <!-- http://www.sicortex.com/layout/set/rss/support/forums/compiler_forum/pathf95_internal_error/forum_reply4 -->
                                      
                        http://www.sicortex.com/support/forums/compiler_forum/pathf95_internal_error/forum_reply4
                         
                                                         
                                                                            
                </link>
                 <dc:creator></dc:creator>
              <description>
                <![CDATA[
                
Compiling with -LNO:opt=0 avoids the segfault.  However, I have been unable to find a combination of options that narrows down which optimization is causing the problem.<br />
<br />
Feel free to send me an email and we can set up a call to discuss further: mooreb@research.ge.com<br />
<br />
                ]]>
            </description>
        </item>
        <item>
              <pubDate>Tue, 29 Apr 2008 16:27:09 EDT</pubDate>
                 <title>Reply to: pathf95 Internal Error</title>
                 <!-- This would be about the hoakiest way to remove the /layout/set/rss out of the url, but it's the only way I could think of now -->
                 <link>
                                  <!-- http://www.sicortex.com/layout/set/rss/support/forums/compiler_forum/pathf95_internal_error/forum_reply3 -->
                                      
                        http://www.sicortex.com/support/forums/compiler_forum/pathf95_internal_error/forum_reply3
                         
                                                         
                                                                            
                </link>
                 <dc:creator></dc:creator>
              <description>
                <![CDATA[
                
I've checked the code here:<br />
<br />
&gt; #0 SSU::Make_diff_ssu_version () at ../../be/opt/opt_ssu.cxx:376<br />
&gt; #1 0x105a73fc in SSU::Make_diff_ssu_version () at ../../be/opt/opt_ssu.cxx:398<br />
<br />
and I don't see any likely problems.  I suspect one particular<br />
data structure may be incorrect, and that the real problem is<br />
earlier.  I see a couple of ways to proceed.<br />
<br />
We could arrange to talk over the phone and try to debug<br />
further with gdb.  I'll ask if we can give you a copy of<br />
the compiler backend built -O0 -g to run gdb on.<br />
<br />
If you can give me a test case that triggers the bug,<br />
I suspect it will be easy to track down the problem.<br />
<br />
I can also suggest more compiler flags you can try.<br />
We might be able to track down which optimization is<br />
triggering the problem.  For starters, -O3 activates<br />
-LNO, the loop nest optimizer.  Does &quot;-O3 -LNO:opt=0&quot; fix<br />
the problem?  If so, try disabling various LNO optimizations.<br />
To see a list of LNO flags, type &quot;man eko&quot; and look for<br />
the flags &quot;-LNO:....&quot;.                ]]>
            </description>
        </item>
        <item>
              <pubDate>Tue, 29 Apr 2008 08:19:03 EDT</pubDate>
                 <title>Reply to: pathf95 Internal Error</title>
                 <!-- This would be about the hoakiest way to remove the /layout/set/rss out of the url, but it's the only way I could think of now -->
                 <link>
                                  <!-- http://www.sicortex.com/layout/set/rss/support/forums/compiler_forum/pathf95_internal_error/forum_reply2 -->
                                      
                        http://www.sicortex.com/support/forums/compiler_forum/pathf95_internal_error/forum_reply2
                         
                                                         
                                                                            
                </link>
                 <dc:creator></dc:creator>
              <description>
                <![CDATA[
                
Removing most the options had no effect.<br />
<br />
Here's a stack trace of be:<br />
<br />
(gdb) r /opt/pathscale/ice9_native_3.0.99h_sicortex/lib/3.0.99h_sicortex/be -PHASE:l:w:c -G8 -TENV:PIC -INTERNAL:return_val=on -INTERNAL:mldid_mstid=on -INTERNAL:return_info=on -TARG:endian=lit -show -O3 -TARG:abi=n64 -TARG:isa=mips64 -LANG:=f90 -TARG:processor=mips5kf -fB,omega.I -s -fs,omega.s omega.f<br />
Starting program: /opt/pathscale/ice9_native_3.0.99h_sicortex/lib/3.0.99h_sicortex/be /opt/pathscale/ice9_native_3.0.99h_sicortex/lib/3.0.99h_sicortex/be -PHASE:l:w:c -G8 -TENV:PIC -INTERNAL:return_val=on -INTERNAL:mldid_mstid=on -INTERNAL:return_info=on -TARG:endian=lit -show -O3 -TARG:abi=n64 -TARG:isa=mips64 -LANG:=f90 -TARG:processor=mips5kf -fB,omega.I -s -fs,omega.s omega.f<br />
warning: Can not parse XML target description; XML support was disabled at compile time<br />
Compiling omega.f (omega.I) -- Back End<br />
Compiling otable_set_hgrid_topology__(0)<br />
Compiling otable_create_hgrid_table__(1)<br />
Compiling otable_update_omega__(2)<br />
Compiling otable_augment__(3)<br />
Compiling set_omega_pointer_wall__(4)<br />
Compiling modify_omega_pointer_wall__(5)<br />
Compiling otable_find_max_ishaft__(6)<br />
Compiling read_omega_table__(7)<br />
<br />
Program received signal SIGSEGV, Segmentation fault.<br />
SSU::Make_diff_ssu_version () at ../../be/opt/opt_ssu.cxx:376<br />
376     ../../be/opt/opt_ssu.cxx: No such file or directory.<br />
        in ../../be/opt/opt_ssu.cxx<br />
Current language:  auto; currently asm<br />
(gdb) where<br />
#0  SSU::Make_diff_ssu_version () at ../../be/opt/opt_ssu.cxx:376<br />
#1  0x105a73fc in SSU::Make_diff_ssu_version () at ../../be/opt/opt_ssu.cxx:398<br />
#2  0x105a8254 in SSU::Traverse_cr_rw () at ../../be/opt/opt_ssu.cxx:596<br />
#3  0x105a8108 in SSU::Traverse_cr_rw () at ../../be/opt/opt_ssu.cxx:603<br />
#4  0x105a84b8 in SSU::Iphi_insertion () at ../../be/opt/opt_ssu.cxx:669<br />
#5  0x105a9890 in SSU::Construct () at ../../be/opt/opt_ssu.cxx:1026<br />
#6  0x105aef58 in ETABLE::Perform_SPRE_optimization ()<br />
    at ../../be/opt/opt_stable.cxx:635<br />
#7  0x105af3bc in COMP_UNIT::Do_store_pre () at ../../be/opt/opt_stable.cxx:757<br />
#8  0x10580c6c in Pre_Optimizer () at ../../be/opt/opt_main.cxx:1705<br />
#9  0x106058e4 in Perform_Global_Optimization ()<br />
    at ../../be/opt/wodriver.cxx:160<br />
#10 0x100b888c in WOPT_Processing () at ../../be/be/driver.cxx:894<br />
#11 0x100b8348 in Do_WOPT_and_CG_with_Regions () at ../../be/be/driver.cxx:1016<br />
#12 0x100b7704 in Backend_Processing () at ../../be/be/driver.cxx:1398<br />
#13 0x100b6284 in Preorder_Process_PUs () at ../../be/be/driver.cxx:1745<br />
#14 0x100b57ec in main () at ../../be/be/driver.cxx:2041<br />
                ]]>
            </description>
        </item>
        <item>
              <pubDate>Mon, 28 Apr 2008 17:01:00 EDT</pubDate>
                 <title>Reply to: pathf95 Internal Error</title>
                 <!-- This would be about the hoakiest way to remove the /layout/set/rss out of the url, but it's the only way I could think of now -->
                 <link>
                                  <!-- http://www.sicortex.com/layout/set/rss/support/forums/compiler_forum/pathf95_internal_error/forum_reply -->
                                      
                        http://www.sicortex.com/support/forums/compiler_forum/pathf95_internal_error/forum_reply
                         
                                                         
                                                                            
                </link>
                 <dc:creator></dc:creator>
              <description>
                <![CDATA[
                
Does removing any of the other flags help?<br />
Such as &quot;-convert big_endian&quot; or &quot;-LANG:copyinout=OFF&quot;?<br />
<br />
You can type &quot;-show&quot; to see which procedure is triggering<br />
the compiler failure.  You can then isolate that procedure,<br />
and try to reduce the size of the test case.<br />
<br />
You can try running the backend of the compiler &quot;be&quot; under<br />
gdb and obtain a stack trace of the failure.                ]]>
            </description>
        </item>
        <item>
              <pubDate>Tue, 22 Apr 2008 13:02:46 EDT</pubDate>
                 <title>Post: pathf95 Internal Error</title>
                 <!-- This would be about the hoakiest way to remove the /layout/set/rss out of the url, but it's the only way I could think of now -->
                 <link>
                                  <!-- http://www.sicortex.com/layout/set/rss/support/forums/compiler_forum/pathf95_internal_error -->
                                      
                        http://www.sicortex.com/support/forums/compiler_forum/pathf95_internal_error
                         
                                                         
                                                                                 
                </link>
                 <dc:creator></dc:creator>
              <description>
              <![CDATA[
                
I'm working on porting one of our internal codes to our SC072, and am getting a pathf95 compiler error on one of the files.  I am compiling on the head node, not cross-compiling from the SSP.<br />
<br />
The error is:<br />
pathf95 -O3 -LANG:copyinout=OFF  -I/mustang/mooreb/EC_blue/IOlibs/sicortex/lib -convert big_endian -fPIC -g -c -o omega.o omega.f<br />
Signal: Segmentation fault in Global Optimization -- SPRE: Iphi Insertion phase.<br />
Error: Signal Segmentation fault in phase Global Optimization -- SPRE: Iphi Insertion -- processing aborted<br />
*** Internal stack backtrace:<br />
pathf95 INTERNAL ERROR: /opt/pathscale/ice9_native_3.0.99h_sicortex/lib/3.0.99h_sicortex/be died due to signal 4<br />
make: *** [omega.o] Error 1<br />
<br />
<br />
The error goes away if I drop to '-O2'.<br />
<br />
I cannot share the code with you, but I am willing to assist in digging into this error, if there is anything in particular that you would like me to do to get more information.<br />
                                    <p><a href="/layout/set/rss/content/view/rss/629">View this individual post's RSS Feed</a></p>
                                ]]>
            </description>
        </item>
                <item>
              <pubDate>Thu, 10 Apr 2008 11:58:14 EDT</pubDate>
                 <title>Reply to: linking errors from a complete newbie</title>
                 <!-- This would be about the hoakiest way to remove the /layout/set/rss out of the url, but it's the only way I could think of now -->
                 <link>
                                  <!-- http://www.sicortex.com/layout/set/rss/support/forums/compiler_forum/linking_errors_from_a_complete_newbie/forum_reply -->
                                      
                        http://www.sicortex.com/support/forums/compiler_forum/linking_errors_from_a_complete_newbie/forum_reply
                         
                                                         
                                                                            
                </link>
                 <dc:creator></dc:creator>
              <description>
                <![CDATA[
                
There was a problem in the gcc linker that caused the global<br />
offset table (GOT) to balloon in size unnecessarily, which in<br />
turn caused the GP-relative space to overflow.  The symptoms<br />
of this bug are link-time error messages such as:<br />
<br />
... relocation truncated to fit: R_MIPS_GOT_DISP against ...<br />
... relocation truncated to fit: R_MIPS_CALL16 against ...<br />
<br />
The bug has been fixed, and the fix will be in the next<br />
software release.<br />
<br />
In the meantime, try compiling all your files with the flag<br />
&quot;-G 0&quot;.  This flag often (although not always) works around<br />
the problem (although it can affect performance).  If &quot;-G 0&quot;<br />
works, you can also try &quot;-G 4&quot; as a compromise.                ]]>
            </description>
        </item>
        <item>
              <pubDate>Wed, 09 Apr 2008 14:13:12 EDT</pubDate>
                 <title>Post: linking errors from a complete newbie</title>
                 <!-- This would be about the hoakiest way to remove the /layout/set/rss out of the url, but it's the only way I could think of now -->
                 <link>
                                  <!-- http://www.sicortex.com/layout/set/rss/support/forums/compiler_forum/linking_errors_from_a_complete_newbie -->
                                      
                        http://www.sicortex.com/support/forums/compiler_forum/linking_errors_from_a_complete_newbie
                         
                                                         
                                                                                 
                </link>
                 <dc:creator></dc:creator>
              <description>
              <![CDATA[
                
Hi,<br />
<br />
I'm linking my C code library (mpicc ...) to create a dynamic library and I get the following link error:<br />
<br />
cmotax.o:....: relocation truncated to fit: R_MIPS_GPREL16 agains 'no symbol'.<br />
<br />
Any idea what this means and how should I work around it?<br />
<br />
Thanks,<br />
<br />
Ted                                    <p><a href="/layout/set/rss/content/view/rss/551">View this individual post's RSS Feed</a></p>
                                ]]>
            </description>
        </item>
        
   </channel>
</rss>