[Ecls-list] Build fails on OpenBSD/hppa
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Sat Apr 3 14:05:55 UTC 2010
Looks like a problem in GCC. The code in apply.d is standard C.
If you wish you may try removing the following lines in src/h/config.h.in
#if !defined(__GNUC__)
# define ecl_likely(form) (form)
# define ecl_unlikely(form) (form)
# define ecl_attr_noreturn
#else
# if (__GNUC__ < 3)
# define ecl_likely(form) (form)
# define ecl_unlikely(form) (form)
# else
# define ecl_likely(form) __builtin_expect(form,1)
# define ecl_unlikely(form) __builtin_expect(form,0)
# endif
# if (__GNUC__ < 4)
# define ecl_attr_noreturn
# else
# define ecl_attr_noreturn __attribute__((noreturn))
# endif
#endif
replacing them with
# define ecl_likely(form) (form)
# define ecl_unlikely(form) (form)
# define ecl_attr_noreturn
and then reconfiguring and rebuilding but what you have found is a problem
in the C compiler.
Juanjo
On Sat, Apr 3, 2010 at 3:59 PM, Stian Sletner <stian at sletner.com> wrote:
> Next problem. :)
>
> 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
> dpp: /home/stian/ecl/src/c/apply.d -> apply.c
> 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
> /home/stian/ecl/src/c/apply.d: In function `APPLY_fixed':
> /home/stian/ecl/src/c/apply.d:670: error: unrecognizable insn:
> (insn 4777 4774 5362 0x0 (clobber (reg/i:SI 28 %r28)) -1
> (insn_list:REG_DEP_OUTPUT 4857 (nil))
> (nil))
> /home/stian/ecl/src/c/apply.d:670: internal compiler error: in
> insn_default_length, at insn-attrtab.c:781
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> *** Error code 1
>
> --
> Stian Sletner
>
--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://tream.dreamhosters.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100403/599ac5bc/attachment.html>
More information about the ecl-devel
mailing list