Bug#843391: mednafen: FTBFS on powerpc: vec_* was not declared in this scope

Andreas Beckmann anbe at debian.org
Sun Nov 6 11:34:34 UTC 2016


Source: mednafen
Version: 0.9.39.2+dfsg-1
Severity: important

Hi,

mednafen FTBFS on powerpc:
https://buildd.debian.org/status/fetch.php?pkg=mednafen&arch=powerpc&ver=0.9.39.2%2Bdfsg-1&stamp=1474465607

[...]
g++ -std=gnu++11 -fsigned-char -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H  -I../include -I../include -I../intl   -Wdate-time -D_FORTIFY_SOURCE=2 -maltivec  -fno-fast-math -fno-unsafe-math-optimizations -fno-aggressive-loop-optimizations -fno-ipa-icf -fomit-frame-pointer  -Wall -Wshadow -Wempty-body -Wignored-qualifiers -Wvla -Wvariadic-macros -Wdisabled-optimization  -fno-pic -fno-pie -fno-PIC -fno-PIE -fwrapv -fjump-tables  -fexceptions -g -O2 -fdebug-prefix-map=/«BUILDDIR»/mednafen-0.9.39.2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -c -o nes/filter.o nes/filter.cpp
nes/filter.cpp: In function 'void DoMAC_AltiVec(int16*, int16*, int32, int32*)':
nes/filter.cpp:361:85: error: 'vec_splats' was not declared in this scope
    vector unsigned int vecsrEBp1 = vec_splats((unsigned int)FIR_TABLE_EXTRA_BITS + 1);
                                                                                     ^
nes/filter.cpp:363:53: error: 'vec_splat_s32' was not declared in this scope
           vector signed int zerosi = vec_splat_s32(0);
                                                     ^
nes/filter.cpp:386:34: error: 'vec_ld' was not declared in this scope
            wd0 = vec_ld(ino, wave);
                                  ^
nes/filter.cpp:388:43: error: 'vec_msums' was not declared in this scope
            acc0 = vec_msums(wd0, fd0, acc0);
                                           ^
nes/filter.cpp:395:41: error: 'vec_sra' was not declared in this scope
           acc0 = vec_sra(acc0, vecsrEBp1);
                                         ^
nes/filter.cpp:400:34: error: 'vec_ld' was not declared in this scope
            wd0 = vec_ld(ino, wave);
                                  ^
nes/filter.cpp:402:43: error: 'vec_msums' was not declared in this scope
            acc2 = vec_msums(wd0, fd0, acc2);
                                           ^
nes/filter.cpp:414:36: error: 'vec_add' was not declared in this scope
    tmp = vec_add(vec_add(acc0, acc2), vec_add(acc1, acc3));
                                    ^
nes/filter.cpp:414:58: error: 'vec_add' was not declared in this scope
    tmp = vec_add(vec_add(acc0, acc2), vec_add(acc1, acc3));
                                                          ^
nes/filter.cpp:414:58: error: redeclaration of '<typeprefixerror>vec_add'
nes/filter.cpp:414:36: note: previous declaration '<typeprefixerror>vec_add'
    tmp = vec_add(vec_add(acc0, acc2), vec_add(acc1, acc3));
                                    ^
nes/filter.cpp:415:40: error: 'vec_sums' was not declared in this scope
    tmp = vec_splat(vec_sums(tmp, zerosi), 3);
                                        ^
nes/filter.cpp:415:44: error: 'vec_splat' was not declared in this scope
    tmp = vec_splat(vec_sums(tmp, zerosi), 3);
                                            ^
nes/filter.cpp:418:32: error: 'vec_ste' was not declared in this scope
    vec_ste(tmp, 0, accum_output);
                                ^
Makefile:2610: recipe for target 'nes/filter.o' failed
make[4]: *** [nes/filter.o] Error 1


If that problem is not trivially fixable, please request decrufting of
the outdated binary packages.


Andreas



More information about the Pkg-games-devel mailing list