Bug#757344: wheezy-pu: package blender/2.63a-1
Control: tag -1 + pending On 2014-09-30 17:55, Sebastian Ramacher wrote: On 2014-09-27 20:03:42, Adam D. Barratt wrote: Control: tags -1 + confirmed On Thu, 2014-08-07 at 12:29 +0200, Matteo F. Vescovi wrote: I'd like to upload a new version of Blender to stable/wheezy. Blender package in wheezy is 2.63a-1 at the moment and doesn't include a patch that would avoid an illegal hardware instruction failure related to SSE2 extensions present in newer CPUs, as reported in #599680. This way, however, every user using a non-SSE2 CPU (e.g., AMD Athlon) won't be able to run Blender in their wheezy boxes. Please go ahead; thanks. I have uploaded the package for Matteo today. Thanks, flagged for acceptance. -- Jonathan Wiltshire j...@debian.org Debian Developer http://people.debian.org/~jmw 4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC 74C3 5394 479D D352 4C51 directhex i have six years of solaris sysadmin experience, from 8-10. i am well qualified to say it is made from bonghits layered on top of bonghits -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#757344: wheezy-pu: package blender/2.63a-1
On 2014-09-27 20:03:42, Adam D. Barratt wrote: Control: tags -1 + confirmed On Thu, 2014-08-07 at 12:29 +0200, Matteo F. Vescovi wrote: I'd like to upload a new version of Blender to stable/wheezy. Blender package in wheezy is 2.63a-1 at the moment and doesn't include a patch that would avoid an illegal hardware instruction failure related to SSE2 extensions present in newer CPUs, as reported in #599680. This way, however, every user using a non-SSE2 CPU (e.g., AMD Athlon) won't be able to run Blender in their wheezy boxes. Please go ahead; thanks. I have uploaded the package for Matteo today. Cheers -- Sebastian Ramacher signature.asc Description: Digital signature
Bug#757344: wheezy-pu: package blender/2.63a-1
Control: tags -1 + confirmed On Thu, 2014-08-07 at 12:29 +0200, Matteo F. Vescovi wrote: I'd like to upload a new version of Blender to stable/wheezy. Blender package in wheezy is 2.63a-1 at the moment and doesn't include a patch that would avoid an illegal hardware instruction failure related to SSE2 extensions present in newer CPUs, as reported in #599680. This way, however, every user using a non-SSE2 CPU (e.g., AMD Athlon) won't be able to run Blender in their wheezy boxes. Please go ahead; thanks. Regards, Adam -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#757344: wheezy-pu: package blender/2.63a-1
Package: release.debian.org Severity: normal Tags: wheezy User: release.debian@packages.debian.org Usertags: pu Dear Release Team, I'd like to upload a new version of Blender to stable/wheezy. Blender package in wheezy is 2.63a-1 at the moment and doesn't include a patch that would avoid an illegal hardware instruction failure related to SSE2 extensions present in newer CPUs, as reported in #599680. This way, however, every user using a non-SSE2 CPU (e.g., AMD Athlon) won't be able to run Blender in their wheezy boxes. That same patch has been applied on packages = 2.66-1 and finally it has been dropped in latest upstream Blender release 2.71 because there was found a better (and more elegant) solution to the problem. I already prepared an update on wheezy package with that patch applied and it was tested to work fine. Attached, you'll find this famous patch that should fix the issue. Thanks for considering. -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.14-2-amd64 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- Matteo F. Vescovi | Debian Maintainer GnuPG KeyID: 4096R/0x8062398983B2CF7A From: Johann Klammer klamm...@a1.net Date: Wed, 13 Feb 2013 09:04:08 +0100 Subject: fix_illegal_hardware_instruction_due_to_SSE2 This makes sure it builds compatible binaries also on machines which have sse/sse2. Fixes the SIGILL bug. Checks for DEB_HOST_ARCH_CPU!=i386 before tests are attempted. Will try to use SSE/SSE2 on all other architectures. Generated Code will still need MMX support to run. Signed-off-by: Matteo F. Vescovi mfvesc...@gmail.com --- build_files/cmake/macros.cmake | 49 +++--- 1 file changed, 27 insertions(+), 22 deletions(-) diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake index e4ac326..b172c81 100644 --- a/build_files/cmake/macros.cmake +++ b/build_files/cmake/macros.cmake @@ -446,34 +446,39 @@ macro(TEST_SSE_SUPPORT set(CMAKE_REQUIRED_FLAGS ${${_sse_flags}} ${${_sse2_flags}}) - if(NOT DEFINED SUPPORT_SSE_BUILD) - # result cached - check_c_source_runs( - #include xmmintrin.h - int main(void) { __m128 v = _mm_setzero_ps(); return 0; } - SUPPORT_SSE_BUILD) - - if(SUPPORT_SSE_BUILD) - message(STATUS SSE Support: detected.) - else() - message(STATUS SSE Support: missing.) + if(NOT ( $ENV{DEB_HOST_ARCH_CPU} STREQUAL i386 ) ) + + if(NOT DEFINED SUPPORT_SSE_BUILD) + # result cached + check_c_source_runs( +#include xmmintrin.h +int main(void) { __m128 v = _mm_setzero_ps(); return 0; } + SUPPORT_SSE_BUILD) + + if(SUPPORT_SSE_BUILD) +message(STATUS SSE Support: detected.) + else() +message(STATUS SSE Support: missing.) + endif() endif() - endif() - if(NOT DEFINED SUPPORT_SSE2_BUILD) - # result cached - check_c_source_runs( + if(NOT DEFINED SUPPORT_SSE2_BUILD) + # result cached + check_c_source_runs( #include emmintrin.h - int main(void) { __m128d v = _mm_setzero_pd(); return 0; } - SUPPORT_SSE2_BUILD) +int main(void) { __m128d v = _mm_setzero_pd(); return 0; } + SUPPORT_SSE2_BUILD) - if(SUPPORT_SSE2_BUILD) - message(STATUS SSE2 Support: detected.) - else() - message(STATUS SSE2 Support: missing.) + if(SUPPORT_SSE2_BUILD) +message(STATUS SSE2 Support: detected.) + else() +message(STATUS SSE2 Support: missing.) + endif() endif() + else() + message(STATUS SSE Support: missing.) + message(STATUS SSE2 Support: missing.) endif() - unset(CMAKE_REQUIRED_FLAGS) endmacro() signature.asc Description: Digital signature
Bug#757344: wheezy-pu: package blender/2.63a-1
On 2014-08-07 at 10:29 (CEST), Matteo F. Vescovi wrote: Attached, you'll find this famous patch that should fix the issue. Probably, a debdiff would be much more appreciated ;-) So, attached. Cheers. -- Matteo F. Vescovi | Debian Maintainer GnuPG KeyID: 4096R/0x8062398983B2CF7A diff -Nru blender-2.63a/debian/changelog blender-2.63a/debian/changelog --- blender-2.63a/debian/changelog 2012-05-12 20:02:24.0 +0200 +++ blender-2.63a/debian/changelog 2014-08-07 14:47:56.0 +0200 @@ -1,3 +1,11 @@ +blender (2.63a-1+deb7u1) stable; urgency=low + + * debian/patches/: patchset updated +- 0010-fix_illegal_hardware_instruction_due_to_SSE2.patch added + to fix the illegal hardware instruction failure due to SSE2 + + -- Matteo F. Vescovi mfv.deb...@gmail.com Thu, 07 Aug 2014 14:19:06 +0200 + blender (2.63a-1) unstable; urgency=low * New upstream bugfix release diff -Nru blender-2.63a/debian/patches/0010-fix_illegal_hardware_instruction_due_to_SSE2.patch blender-2.63a/debian/patches/0010-fix_illegal_hardware_instruction_due_to_SSE2.patch --- blender-2.63a/debian/patches/0010-fix_illegal_hardware_instruction_due_to_SSE2.patch 1970-01-01 01:00:00.0 +0100 +++ blender-2.63a/debian/patches/0010-fix_illegal_hardware_instruction_due_to_SSE2.patch 2014-08-06 16:18:29.0 +0200 @@ -0,0 +1,81 @@ +From: Johann Klammer klamm...@a1.net +Date: Wed, 13 Feb 2013 09:04:08 +0100 +Subject: fix_illegal_hardware_instruction_due_to_SSE2 + +This makes sure it builds compatible binaries also on +machines which have sse/sse2. Fixes the SIGILL bug. +Checks for DEB_HOST_ARCH_CPU!=i386 before tests are attempted. +Will try to use SSE/SSE2 on all other architectures. +Generated Code will still need MMX support to run. + +Signed-off-by: Matteo F. Vescovi mfvesc...@gmail.com +--- + build_files/cmake/macros.cmake | 49 +++--- + 1 file changed, 27 insertions(+), 22 deletions(-) + +diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake +index e4ac326..b172c81 100644 +--- a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake +@@ -446,34 +446,39 @@ macro(TEST_SSE_SUPPORT + + set(CMAKE_REQUIRED_FLAGS ${${_sse_flags}} ${${_sse2_flags}}) + +- if(NOT DEFINED SUPPORT_SSE_BUILD) +- # result cached +- check_c_source_runs( +- #include xmmintrin.h +- int main(void) { __m128 v = _mm_setzero_ps(); return 0; } +- SUPPORT_SSE_BUILD) +- +- if(SUPPORT_SSE_BUILD) +- message(STATUS SSE Support: detected.) +- else() +- message(STATUS SSE Support: missing.) ++ if(NOT ( $ENV{DEB_HOST_ARCH_CPU} STREQUAL i386 ) ) ++ ++ if(NOT DEFINED SUPPORT_SSE_BUILD) ++ # result cached ++ check_c_source_runs( ++ #include xmmintrin.h ++ int main(void) { __m128 v = _mm_setzero_ps(); return 0; } ++ SUPPORT_SSE_BUILD) ++ ++ if(SUPPORT_SSE_BUILD) ++ message(STATUS SSE Support: detected.) ++ else() ++ message(STATUS SSE Support: missing.) ++ endif() + endif() +- endif() + +- if(NOT DEFINED SUPPORT_SSE2_BUILD) +- # result cached +- check_c_source_runs( ++ if(NOT DEFINED SUPPORT_SSE2_BUILD) ++ # result cached ++ check_c_source_runs( + #include emmintrin.h +- int main(void) { __m128d v = _mm_setzero_pd(); return 0; } +- SUPPORT_SSE2_BUILD) ++ int main(void) { __m128d v = _mm_setzero_pd(); return 0; } ++ SUPPORT_SSE2_BUILD) + +- if(SUPPORT_SSE2_BUILD) +- message(STATUS SSE2 Support: detected.) +- else() +- message(STATUS SSE2 Support: missing.) ++ if(SUPPORT_SSE2_BUILD) ++ message(STATUS SSE2 Support: detected.) ++ else() ++ message(STATUS SSE2 Support: missing.) ++ endif() + endif() ++ else() ++ message(STATUS SSE Support: missing.) ++ message(STATUS SSE2 Support: missing.) + endif() +- + unset(CMAKE_REQUIRED_FLAGS) + endmacro() + diff -Nru blender-2.63a/debian/patches/series blender-2.63a/debian/patches/series --- blender-2.63a/debian/patches/series 2012-05-12 20:00:33.0 +0200 +++ blender-2.63a/debian/patches/series 2014-08-06 16:20:40.0 +0200 @@ -7,3 +7,4 @@ 0007-fix_FTBFS_with_ffmpeg_from_debian.patch