[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Assembly code not working for mips64el and ppc64el (Was: Bug#972004: bowtie ftbfs on several release architectures)



Control: tags -1 help

Hi,

while I've fixed the issue for arm64 the new version of bowtie seems to
have some new assembly code where mips64el, ppc64el and others are
stumbling upon [1]:

...In file included from ebwt_build.cpp:8:
ds.h: In function ‘void mkeyQSortSuf2(const T&, size_t, TIndexOffU*, size_t, TIndexOffU*, int, size_t, size_t, size_t, size_t, EList<long unsigned int>*) [with T = S2bDnaString]’:
ds.h:497:3: warning: ‘tmp2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  497 |   list_[cur_++] = el;
      |   ^~~~~
ds.h:497:3: warning: ‘tmp3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  497 |   list_[cur_++] = el;
      |   ^~~~~
ds.h:497:3: warning: ‘tmp4’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  497 |   list_[cur_++] = el;
      |   ^~~~~
ds.h: In function ‘void mkeyQSortSuf2(const T&, size_t, TIndexOffU*, size_t, TIndexOffU*, int, size_t, size_t, size_t, size_t, EList<long unsigned int>*) [with T = SString<char>]’:
ds.h:497:3: warning: ‘tmp2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  497 |   list_[cur_++] = el;
      |   ^~~~~
ds.h:497:3: warning: ‘tmp3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  497 |   list_[cur_++] = el;
      |   ^~~~~
ds.h:497:3: warning: ‘tmp4’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  497 |   list_[cur_++] = el;
      |   ^~~~~
/tmp/ccRHXYbX.s: Assembler messages:
/tmp/ccRHXYbX.s:27483: Error: unrecognized opcode: `popcntq'
/tmp/ccRHXYbX.s:27951: Error: unrecognized opcode: `popcntq'
/tmp/ccRHXYbX.s:28493: Error: unrecognized opcode: `popcntq'
/tmp/ccRHXYbX.s:143323: Error: unrecognized opcode: `pushfd'
/tmp/ccRHXYbX.s:143324: Error: unrecognized opcode: `pushfd'
/tmp/ccRHXYbX.s:143325: Error: unrecognized opcode: `pop'
/tmp/ccRHXYbX.s:143326: Error: unrecognized opcode: `mov'
/tmp/ccRHXYbX.s:143327: Error: operand out of range (0x0000000000200000 is not between 0x0000000000000000 and 0x000000000000001f)
/tmp/ccRHXYbX.s:143327: Error: missing operand
/tmp/ccRHXYbX.s:143328: Error: unrecognized opcode: `push'
/tmp/ccRHXYbX.s:143329: Error: unrecognized opcode: `popfd'
/tmp/ccRHXYbX.s:143330: Error: unrecognized opcode: `pushfd'
/tmp/ccRHXYbX.s:143331: Error: unrecognized opcode: `pop'
/tmp/ccRHXYbX.s:143332: Error: unrecognized opcode: `popfd'
/tmp/ccRHXYbX.s:143391: Error: unrecognized opcode: `cpuid'
/tmp/ccRHXYbX.s:143407: Error: unrecognized opcode: `cpuid'
/tmp/ccRHXYbX.s:176663: Error: unrecognized opcode: `pushfd'
/tmp/ccRHXYbX.s:176664: Error: unrecognized opcode: `pushfd'
/tmp/ccRHXYbX.s:176665: Error: unrecognized opcode: `pop'
/tmp/ccRHXYbX.s:176666: Error: unrecognized opcode: `mov'
/tmp/ccRHXYbX.s:176667: Error: operand out of range (0x0000000000200000 is not between 0x0000000000000000 and 0x000000000000001f)
/tmp/ccRHXYbX.s:176667: Error: missing operand
/tmp/ccRHXYbX.s:176668: Error: unrecognized opcode: `push'
/tmp/ccRHXYbX.s:176669: Error: unrecognized opcode: `popfd'
/tmp/ccRHXYbX.s:176670: Error: unrecognized opcode: `pushfd'
/tmp/ccRHXYbX.s:176671: Error: unrecognized opcode: `pop'
/tmp/ccRHXYbX.s:176672: Error: unrecognized opcode: `popfd'
/tmp/ccRHXYbX.s:176730: Error: unrecognized opcode: `cpuid'
/tmp/ccRHXYbX.s:176746: Error: unrecognized opcode: `cpuid'
make[2]: *** [Makefile:255: bowtie-build-s] Error 1

Any help would be welcome

       Andreas.


[1] https://buildd.debian.org/status/fetch.php?pkg=bowtie&arch=ppc64el&ver=1.3.0%2Bdfsg-2&stamp=1602489351&raw=0

-- 
http://fam-tille.de


Reply to: