<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On May 1, 2008, at 15:20, Mike Stump wrote:</div><blockquote type="cite"><div>On Apr 30, 2008, at 11:19 PM, james woodyatt wrote:<br><blockquote type="cite"><blockquote type="cite">$TMPFILE:66: Error: internal_relocation (type: OFFSET_IMM) not  <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">fixed  up<br></blockquote></blockquote><br>You need to run the compile with -save-temps and then look at the .s  <br>file.  If you like it, it is an assembler bug.  If you don't like it,  <br>it is a bug in the compiler.  If you don't know if you like it, as  <br>your assembler vendor (binutils) if it is valid.</div></blockquote><div><br></div><div>Did all that.  My previous message shows the relevant excerpts.</div><div><br></div><div>p1. It doesn't look to me like obviously invalid assembly.</div><div><br></div><div>p2. Compiling with -O0 makes the problem go away.</div><div><br></div><div>p3. I think the recent change to $LLVM_GCC/gcc/llvm-backend.cpp to respect the -fno-inline-functions flag makes the need for the -O0 workaround go away.</div><div><br></div><div>I still think there might be something broken in the compiler there somewhere, but whatever...</div><div><br></div><div>Now, I'm seeing this...</div><div><br></div><div><div></div><blockquote type="cite"><div>GNU C version 4.2.1 (Based on Apple Inc. build 5555) (LLVM build)</div><div><span class="Apple-tab-span" style="white-space:pre">      </span>compiled by GNU C version 4.0.1 (Apple Inc. build 5478).</div><div>GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072</div><div>Compiler executable checksum: 20fbcaab58f1b058dae351db930ef9ce</div><div>Assertion failed: (0 && "Do not know how to return this many arguments!"), function LowerRET, file /Volumes/Space/p4client/orca/import/llvm.org/llvm/lib/Target/ARM/ARMISelLowering.cpp, line 667.</div><div>../../../../../../import/llvm.org/llvm-gcc/gcc/libgcc2.c:1914: internal compiler error: Abort trap</div><div>Please submit a full bug report,</div><div>with preprocessed source if appropriate.</div><div>See <URL:<a href="http://developer.apple.com/bugreporter">http://developer.apple.com/bugreporter</a>> for instructions.</div><div>make[2]: *** [libgcc/./_muldc3.o] Error 1</div><div>make[1]: *** [stmp-multilib] Error 2</div><div>make: *** [all-gcc] Error 2</div></blockquote></div></div><div><br></div><div>I'm pretty sure this is a compiler bug.  I'm grinding away on it, but I'm a total newbie here.</div><div><br></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Geneva; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Geneva; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Geneva; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="font-size: 11px; "><span class="Apple-style-span" style="font-size: 11px; "><span class="Apple-style-span" style="font-size: 11px; ">—</span></span></div><div>j h woodyatt <<a href="mailto:jhw@conjury.org">jhw@conjury.org</a>></div></span><a href="http://jhw.vox.com/">http://jhw.vox.com/</a><br class="Apple-interchange-newline"></span></div></span> </div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: MPH 2B Damase; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><div>-- </div><div>j h woodyatt <<a href="mailto:jhw@conjury.org">jhw@conjury.org</a>></div></div><br class="Apple-interchange-newline"></span> </div><br></body></html>