[MPlayer-users] Issues compiling on SPARC

Drake Mobius drake.mobius at gmail.com
Thu Dec 3 21:39:50 CET 2009


Hi all,

In googling, I did find an earlier thread here:
http://lists.mplayerhq.hu/pipermail/mplayer-users/2009-May/076650.html
I was able to follow the info there to get farther in the build process.
However, in the libavformat portion of the build, I get some weird errors
and make cannot continue.
Pasted below is what I receive:


gcc -DHAVE_AV_CONFIG_H -I.. -I..  -Wundef -Wdisabled-optimization
-Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -O4  -mcpu=ultrasparc -pipe -ffast-math
-fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -Ilibdvdread4 -I.   -I/usr/openwin/include
-I/opt/csw/include/freetype2 -I/opt/csw/include   -c -o mpc8.o mpc8.c
mpc8.c: In function `mpc8_parse_seektable':
mpc8.c:170: error: unable to find a register to spill in class `I64_REGS'
mpc8.c:170: error: this is the insn:
(insn 677 715 727 26 (parallel [
            (set (reg:DI 346)
                (ashift:DI (reg/v:DI 301 [ v ])
                    (const_int 7 [0x7])))
            (clobber (scratch:SI))
        ]) 302 {ashldi3_v8plus} (nil)
    (expr_list:REG_DEAD (reg/v:DI 301 [ v ])
        (expr_list:REG_UNUSED (scratch:SI)
            (nil))))
mpc8.c:170: confused by earlier errors, bailing out
gmake[1]: *** [mpc8.o] Error 1
gmake[1]: Leaving directory `/export/home/cc/mpl/libavformat'
gmake: *** [libavformat/libavformat.a] Error 2

configure does correctly detect my solaris setup, I am not sure what the
issue is here. I am using the GNU tools (gmake etc) from opencsw, with
/opt/csw/bin:/usr/xpg6/bin:/usr/bin as my PATH, and am running gmake

Any help for a poor soul in SPARC-land?

D


More information about the MPlayer-users mailing list