[debian-yeeloong-project] Loongson console display text

Tzafrir Cohen tzafrir at cohens.org.il
Sat Aug 28 17:08:35 UTC 2010


On Sun, Aug 29, 2010 at 01:00:13AM +0800, liushiwei wrote:
> 2010/8/29 Tzafrir Cohen <tzafrir at cohens.org.il>:
> > Hi,
> >
> > Thanks for the quick reply,
> >
> > On Sat, Aug 28, 2010 at 11:06:58PM +0800, liushiwei wrote:
> >>  yeeloong run debia6, just above this 3 patches.
> >>
> >> sm712 patch:
> >> http://www.bjlx.org.cn/loongson2f/squeeze/xserver-xorg-video-siliconmotion/98_sm712_CRT_enable.diff
> >> http://www.bjlx.org.cn/loongson2f/squeeze/xserver-xorg-video-siliconmotion/99_xf86-video-siliconmotion-1.7.3-fix-loongson.diff
> >
> > I get the following error, either when I try to build your package or
> > when I try to apply your second patch:
> >
> > libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../src -I..
> > -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
> > -Wmissing-declarations -Wnested-externs -fno-strict-aliasing
> > -Wbad-function-cast -Wformat=2 -Wold-style-definition
> > -Wdeclaration-after-statement -fvisibility=hidden -I/usr/include/xorg
> > -I/usr/include/pixman-1 -Wall -g -O2 -MT smi_video.lo -MD -MP -MF
> > .deps/smi_video.Tpo -c ../../src/smi_video.c  -fPIC -DPIC -o
> > .libs/smi_video.o
> > /tmp/ccBqSRfw.s: Assembler messages:
> > /tmp/ccBqSRfw.s:4469: Error: illegal operands `xor $f0,$f0,$f0'
> > /tmp/ccBqSRfw.s:4470: Error: opcode not supported on this processor:
> > mips1 (mips1) `ldc1 $f4,($6)'
> > /tmp/ccBqSRfw.s:4471: Error: opcode not supported on this processo
> 
> 
> this   patch  use loongson  mmi  ,   so   gcc4.4   and -march=loongson2f.

$ dpkg-checkbuilddeps
# [No problem with build dependencies]

$ gcc --version
gcc (Debian 4.4.4-8) 4.4.5 20100728 (prerelease)

$ dpkg -l gcc-4.4
ii  gcc-4.4        4.4.4-8        The GNU C compiler

Is this patch Loongson-specific?

-- 
Tzafrir Cohen         | tzafrir at jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir at cohens.org.il |                    |  best
tzafrir at debian.org    |                    | friend



More information about the debian-yeeloong-project mailing list