Looks like a problem in GCC. The code in apply.d is standard C.<div><br></div><div>If you wish you may try removing the following lines in src/h/<a href="http://config.h.in">config.h.in</a></div><div><br></div><div><div>#if !defined(__GNUC__)</div>
<div># define ecl_likely(form) (form)</div><div># define ecl_unlikely(form) (form)</div><div># define ecl_attr_noreturn</div><div>#else</div><div># if (__GNUC__ < 3)</div><div># define ecl_likely(form) (form)</div><div>
# define ecl_unlikely(form) (form)</div><div># else</div><div># define ecl_likely(form) __builtin_expect(form,1)</div><div># define ecl_unlikely(form) __builtin_expect(form,0)</div><div># endif</div><div># if (__GNUC__ < 4)</div>
<div># define ecl_attr_noreturn</div><div># else</div><div># define ecl_attr_noreturn __attribute__((noreturn))</div><div># endif</div><div>#endif</div><div><br></div><div>replacing them with</div><div><br></div><div><div>
# define ecl_likely(form) (form)</div><div># define ecl_unlikely(form) (form)</div><div># define ecl_attr_noreturn</div></div><div><br></div><div>and then reconfiguring and rebuilding but what you have found is a problem in the C compiler.</div>
<div><br></div><div>Juanjo<br><br><div class="gmail_quote">On Sat, Apr 3, 2010 at 3:59 PM, Stian Sletner <span dir="ltr"><<a href="mailto:stian@sletner.com">stian@sletner.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Next problem. :)<br>
<br>
if test -f ../CROSS-DPP ; then ../CROSS-DPP /home/stian/ecl/src/c/apply.d apply.c ; else ./dpp /home/stian/ecl/src/c/apply.d apply.c ; fi<br>
dpp: /home/stian/ecl/src/c/apply.d -> apply.c<br>
gcc -I. -I/home/stian/ecl/build -I/home/stian/ecl/src/c -I../ecl/gc -DECL_API -DECL_NO_LEGACY -I/usr/local/include -I/usr/local/include/gc -g -O2 -fPIC -I/usr/local/include -Dopenbsd -c apply.c -o apply.o<br>
/home/stian/ecl/src/c/apply.d: In function `APPLY_fixed':<br>
/home/stian/ecl/src/c/apply.d:670: error: unrecognizable insn:<br>
(insn 4777 4774 5362 0x0 (clobber (reg/i:SI 28 %r28)) -1 (insn_list:REG_DEP_OUTPUT 4857 (nil))<br>
(nil))<br>
/home/stian/ecl/src/c/apply.d:670: internal compiler error: in insn_default_length, at insn-attrtab.c:781<br>
Please submit a full bug report,<br>
with preprocessed source if appropriate.<br>
See <URL:<a href="http://gcc.gnu.org/bugs.html" target="_blank">http://gcc.gnu.org/bugs.html</a>> for instructions.<br>
*** Error code 1<br>
<br>
--<br>
<font color="#888888">Stian Sletner<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://tream.dreamhosters.com">http://tream.dreamhosters.com</a><br>
</div></div>