Bug#825483: mame: FTBFS on ppc64el: vector type mismatches

Andreas Beckmann anbe at debian.org
Fri May 27 08:36:03 UTC 2016


Source: mame
Version: 0.173-6
Severity: serious
Justification: fails to build from source

Hi,

mame FTBFS on ppc64el:
https://buildd.debian.org/status/fetch.php?pkg=mame&arch=ppc64el&ver=0.173-6&stamp=1463964270

g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -MP -DPTR64=1 -DNDEBUG -DCRLF=2 -DLSB_FIRST -DXMD_H -DFLAC__NO_DLL -DLUA_COMPAT_ALL -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 -DNO_AFFINITY_NP -I../../../../../src/osd -I../../../../../src/emu -I../../../../../src/lib -I../../../../../src/lib/util -I../../../../../3rdparty -I../../../../generated/emu -I../../../../generated/emu/layout -I../../../../../scripts/src -I/usr/include/lua5.3  -m64 --pipe -Wno-deprecated-declarations -O3 -fno-strict-aliasing -Wno-unknown-pragmas -Wall -Wcast-align -Wundef -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-conversion -Wno-unused-result -Wno-array-bounds -m64 -x c++ -std=c++14 -Woverloaded-virtual -Wsuggest-override -include ../../../../linux_gcc/obj/x64/Release/emu.h -o "../../../../linux_gcc/obj/x64/Release/src/emu/debug/textbuf.o" -c "../.
 ./../../../src/emu/debug/textbuf.cpp"
In file included from ../../../../../src/emu/video/rgbutil.h:19:0,
                 from ../../../../../src/emu/rendersw.inc:14,
                 from ../../../../../src/osd/modules/render/drawsdl.cpp:20:
../../../../../src/emu/video/rgbvmx.h: In member function 'void rgbaint_t::set(UINT32)':
../../../../../src/emu/video/rgbvmx.h:42:73: warning: vec_lvsl is deprecated for little endian; use assignment for unaligned loads and stores [-Wdeprecated]
   const VECS8 temp = vec_perm(vec_lde(0, &rgba), zero, vec_lvsl(0, &rgba));
                                                                         ^
../../../../../src/emu/video/rgbvmx.h:42:74: note: use -flax-vector-conversions to permit conversions between vectors with differing element types or numbers of subparts
   const VECS8 temp = vec_perm(vec_lde(0, &rgba), zero, vec_lvsl(0, &rgba));
                                                                          ^
../../../../../src/emu/video/rgbvmx.h:42:74: error: cannot convert '__vector(4) unsigned int' to 'const VECS8 {aka const __vector(16) signed char}' in initialization
../../../../../src/emu/video/rgbvmx.h:43:11: error: cannot convert '__vector(8) short int' to 'rgbaint_t::VECS32 {aka __vector(4) int}' in assignment
   m_value = vec_mergeh((VECS16)zero, (VECS16)vec_mergeh((VECS8)zero, temp));
           ^
../../../../../src/emu/video/rgbvmx.h: In member function 'void rgbaint_t::set(rgb_t&)':
../../../../../src/emu/video/rgbvmx.h:55:81: warning: vec_lvsl is deprecated for little endian; use assignment for unaligned loads and stores [-Wdeprecated]
   const VECS8 temp = vec_perm(vec_lde(0, rgb.ptr()), zero, vec_lvsl(0, rgb.ptr()));
                                                                                 ^
../../../../../src/emu/video/rgbvmx.h:55:82: error: cannot convert '__vector(4) unsigned int' to 'const VECS8 {aka const __vector(16) signed char}' in initialization
   const VECS8 temp = vec_perm(vec_lde(0, rgb.ptr()), zero, vec_lvsl(0, rgb.ptr()));
                                                                                  ^
../../../../../src/emu/video/rgbvmx.h:56:11: error: cannot convert '__vector(8) short int' to 'rgbaint_t::VECS32 {aka __vector(4) int}' in assignment
   m_value = vec_mergeh((VECS16)zero, (VECS16)vec_mergeh((VECS8)zero, temp));
           ^
../../../../../src/emu/video/rgbvmx.h: In member function 'rgb_t rgbaint_t::to_rgba()':
../../../../../src/emu/video/rgbvmx.h:61:43: error: cannot convert '__vector(8) short int' to 'rgbaint_t::VECU32 {aka __vector(4) unsigned int}' in initialization
   VECU32 temp = vec_packs(m_value, m_value);
                                           ^
../../../../../src/emu/video/rgbvmx.h:62:8: error: cannot convert '__vector(16) unsigned char' to 'rgbaint_t::VECU32 {aka __vector(4) unsigned int}' in assignment
   temp = vec_packsu((VECS16)temp, (VECS16)temp);
        ^
[and so on]


Andreas



More information about the Pkg-games-devel mailing list