So the testsuite works fine when nvtt is not optimized for athlon64?

On 24.06.2013 13:33, Vincent Cheng wrote:
> Package: src:nvidia-texture-tools
> Version: 2.0.8-1+dfsg-3
> Severity: important
> Tags: patch
> Control: block 712956 by -1
> 
> Dear Maintainer,
> 
> As reported in #712956, one of the amd64 buildds (barber) fails to
> execute 0ad's testsuite (causing a FTBFS) due to some sort of "Illegal
> instruction". After asking upstream [1], it turns out that this may be
> caused by nvidia-texture-tools being built with -march=athlon64 on any
> amd64 host. Please consider applying the following quilt-formatted
> patch to fix this.
> 
> --- a/cmake/OptimalOptions.cmake
> +++ b/cmake/OptimalOptions.cmake
> @@ -15,7 +15,7 @@
>       ENDIF(NV_SYSTEM_PROCESSOR STREQUAL "i686")
> 
>       IF(NV_SYSTEM_PROCESSOR STREQUAL "x86_64")
> -             SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=athlon64")
> +             #SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=athlon64")
>               #SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=athlon64 
> -msse3")
>       ENDIF(NV_SYSTEM_PROCESSOR STREQUAL "x86_64")
> 
> 
> Regards,
> Vincent
> 
> [1] http://trac.wildfiregames.com/ticket/1994
> 
> -- System Information:
> Debian Release: jessie/sid
>   APT prefers testing
>   APT policy: (700, 'testing'), (500, 'unstable'), (200, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 3.9-1-vclaptop-amd64 (SMP w/8 CPU cores; PREEMPT)
> Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 


-- 
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