Bill,

On my ia64-Linux machine,
I get the following error with the "-funroll-loops" option.  I am
using gcc-4.2.1.  If I take out that option, things compile fine.

make[2]: Entering directory `/home/kate/sage/sage-2.8.5-ia64-Linux/
spkg/build/flint-0.2.p2/src'
gcc -std=c99 -I"/usr/include" -I/home/kate/sage/sage-2.8.5-ia64-Linux/
local/include/ -I/home/kate/sage/sage-2.8.5-ia64-Linux/local/include  -
funroll-loops -fexpensive-optimizations  -fPIC  -O3 -c ZmodF_mul.c -o
ZmodF_mul.o
In file included from ZmodF.h:19,
                 from ZmodF_mul.c:13:
/home/kate/sage/sage-2.8.5-ia64-Linux/local/include/gmp.h:1600:
warning: C99 inline functions are not supported; using GNU89
/home/kate/sage/sage-2.8.5-ia64-Linux/local/include/gmp.h:1600:
warning: to disable this warning use -fgnu89-inline or the gnu_inline
function attribute
/home/kate/sage/sage-2.8.5-ia64-Linux/local/include/gmp.h:1626:
warning: C99 inline functions are not supported; using GNU89
/home/kate/sage/sage-2.8.5-ia64-Linux/local/include/gmp.h:1637:
warning: C99 inline functions are not supported; using GNU89
/home/kate/sage/sage-2.8.5-ia64-Linux/local/include/gmp.h:1648:
warning: C99 inline functions are not supported; using GNU89
/home/kate/sage/sage-2.8.5-ia64-Linux/local/include/gmp.h:1659:
warning: C99 inline functions are not supported; using GNU89
/home/kate/sage/sage-2.8.5-ia64-Linux/local/include/gmp.h:1687:
warning: C99 inline functions are not supported; using GNU89
/home/kate/sage/sage-2.8.5-ia64-Linux/local/include/gmp.h:1698:
warning: C99 inline functions are not supported; using GNU89
/home/kate/sage/sage-2.8.5-ia64-Linux/local/include/gmp.h:1711:
warning: C99 inline functions are not supported; using GNU89
/home/kate/sage/sage-2.8.5-ia64-Linux/local/include/gmp.h:1729:
warning: C99 inline functions are not supported; using GNU89
/home/kate/sage/sage-2.8.5-ia64-Linux/local/include/gmp.h:1747:
warning: C99 inline functions are not supported; using GNU89
/home/kate/sage/sage-2.8.5-ia64-Linux/local/include/gmp.h:1758:
warning: C99 inline functions are not supported; using GNU89
/home/kate/sage/sage-2.8.5-ia64-Linux/local/include/gmp.h:1769:
warning: C99 inline functions are not supported; using GNU89
/home/kate/sage/sage-2.8.5-ia64-Linux/local/include/gmp.h:1779:
warning: C99 inline functions are not supported; using GNU89
/home/kate/sage/sage-2.8.5-ia64-Linux/local/include/gmp.h:2024:
warning: C99 inline functions are not supported; using GNU89
/home/kate/sage/sage-2.8.5-ia64-Linux/local/include/gmp.h:2037:
warning: C99 inline functions are not supported; using GNU89
/home/kate/sage/sage-2.8.5-ia64-Linux/local/include/gmp.h:2050:
warning: C99 inline functions are not supported; using GNU89
/home/kate/sage/sage-2.8.5-ia64-Linux/local/include/gmp.h:2063:
warning: C99 inline functions are not supported; using GNU89
/home/kate/sage/sage-2.8.5-ia64-Linux/local/include/gmp.h:2076:
warning: C99 inline functions are not supported; using GNU89
ZmodF_mul.c:91: warning: C99 inline functions are not supported; using
GNU89
ZmodF_mul.c:616: warning: C99 inline functions are not supported;
using GNU89
ZmodF_mul.c:695: warning: C99 inline functions are not supported;
using GNU89
ZmodF_mul.c:815: warning: C99 inline functions are not supported;
using GNU89
ZmodF_mul.c:833: warning: C99 inline functions are not supported;
using GNU89
ZmodF_mul.c:857: warning: C99 inline functions are not supported;
using GNU89
ZmodF_mul.c: In function '_ZmodF_mul_fft_convolve_modB2':
ZmodF_mul.c:656: error: unrecognizable insn:
(insn:TI 1048 1533 1038 39 (parallel [
            (set (reg:DI 136 f8)
                (asm_operands:DI ("xma.hu %0 = %2, %3, f0
        xma.l %1 = %2, %3, f0") ("=&f") 0 [
                        (reg:DI 236 f108 [orig:529 in1_lo ] [529])
                        (reg:DI 235 f107 [orig:543 in2_lo ] [543])
                    ]
                     [
                        (asm_input:DI ("f"))
                        (asm_input:DI ("f"))
                    ] ("ZmodF_mul.c") 617))
            (set (reg:DI 137 f9)
                (asm_operands:DI ("xma.hu %0 = %2, %3, f0
        xma.l %1 = %2, %3, f0") ("=f") 1 [
                        (reg:DI 236 f108 [orig:529 in1_lo ] [529])
                        (reg:DI 235 f107 [orig:543 in2_lo ] [543])
                    ]
                     [
                        (asm_input:DI ("f"))
                        (asm_input:DI ("f"))
                    ] ("ZmodF_mul.c") 617))
        ]) -1 (nil)
    (nil))
ZmodF_mul.c:656: internal compiler error: in get_attr_first_insn, at
config/ia64/itanium2.md:1839
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [ZmodF_mul.o] Error 1


Kate

On Sep 25, 11:09 am, Bill Hart <[EMAIL PROTECTED]> wrote:
> > On Sep 24, 10:53 pm, "Kate Minola" <[EMAIL PROTECTED]> wrote:
> > > While trying to build sage-2.8.5 on ia64-Linux using
> > > gcc-4.2.1:
>
> > > 1.  For flint-0.2.p2, I had to remove the CFLAG
> > > option "-funroll-loops" in order to get it to build.
>
> ?? ?? ?
>
> I tried to find information on why this might be a problem. But came
> up blank.
>
> Can you by any chance give a list of the errors which result. Perhaps
> it is not related directly to the unroll-loops option itself, but a
> strange interaction with something else.
>
> Bill.
>
> P.S: David Harvey set up a trac server for FLINT and I'm about to
> start using it now that bits and pieces of FLINT are finding
> themselves in SAGE. People can email me to get an account if required.
> All bugs which prevent SAGE from being built should be filed as major
> bugs.
>
> http://sage.math.washington.edu:23333/flint_trac


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to