Hi Kevin,
thanks for your reply.

2011/4/25 Kevin Roy <kin...@gmail.com>:
> [ cut ]
>
>> With this patch the support of SSE2 isn't detected for my CPU and the
>> compilation ends successfully and the binary of blender run.
>
> As I understand your patch, SSE2 is not disabled. You have just
> switched optimizations from -O2 to -O0 (c.f
> http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-O2-683)

Yes, but optimization is disabled (switched from -O2 to -O0) only for
detection SSE2 (otherwise SSE2 is always detected).
In the remain of the compiling, optimization is enabled by -O2 (option
returned by dpkg-buildflags called from dpkg-buildpakage).

>
> [ cut ]
> I didn't have myself a amd-based computer, so I will be really happy
> if could test the last 2.57 package in sid.

I've tested version 2.57, but still does not work!
----------
umberto@earth:/tmp$ dpkg -l blender
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  blender        2.57-svn36147- Very fast and versatile 3D modeller/renderer
umberto@earth:/tmp$
umberto@earth:/tmp$ blender
Illegal instruction
umberto@earth:/tmp$
----------
As you see, the problem is the same: illegal instruction.
Is called the cvttsd2si instruction which my CPU does not support.
----------
umberto@earth:/tmp$ gdb blender
GNU gdb (GDB) 7.2-debian
-- snip --
(gdb) run
Starting program: /usr/bin/blender
[Thread debugging using libthread_db enabled]

Program received signal SIGILL, Illegal instruction.
0x08b78c4d in RNA_def_property_range ()
(gdb) disassemble
-- snip --
   0x08b78c44 <+116>:   lea    0x0(%esi,%eiz,1),%esi
   0x08b78c48 <+120>:   fxch   %st(1)
   0x08b78c4a <+122>:   fstpl  -0x20(%ebp)
=> 0x08b78c4d <+125>:   cvttsd2si -0x20(%ebp),%ecx
   0x08b78c52 <+130>:   mov    %ecx,0x78(%eax)
   0x08b78c55 <+133>:   fstpl  -0x20(%ebp)
   0x08b78c58 <+136>:   cvttsd2si -0x20(%ebp),%edx
-- snip --
----------

> I will forward the bug to upstream and ask them some help on this.

Thanks for your interest

Regards
-- 
Umberto Zappi



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to