[MacPorts] #59144: wolfssl @3.15.3 +universal: inline assembly requires more registers than available

MacPorts noreply at macports.org
Wed Oct 2 02:03:02 UTC 2019


#59144: wolfssl @3.15.3 +universal: inline assembly requires more registers than
available
------------------------+----------------------
 Reporter:  ryandesign  |      Owner:  chris@…
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.0
 Keywords:              |       Port:  wolfssl
------------------------+----------------------
 wolfssl doesn't build with the +universal variant.

 {{{
 In file included from wolfcrypt/src/tfm.c:44:
 ./wolfcrypt/src/misc.c:150:61: warning: shift count >= width of type
 [-Wshift-count-overflow]
         return (word64)((word64)ByteReverseWord32((word32) value)) << 32 |
                                                                    ^  ~~
 ./wolfcrypt/src/misc.c:151:64: warning: shift count >= width of type
 [-Wshift-count-overflow]
                     (word64)ByteReverseWord32((word32)(value   >> 32));
                                                                ^  ~~
 wolfcrypt/src/tfm.c:1544:11: error: inline assembly requires more
 registers than available
           SQRADD2(*tmpx++, *tmpy--);
           ^
 ./wolfcrypt/src/asm.c:710:6: note: expanded from macro 'SQRADD2'
      "movl  %6,%%eax     \n\t"                            \
      ^
 wolfcrypt/src/tfm.c:1550:11: error: inline assembly requires more
 registers than available
           SQRADD(A->dp[ix>>1], A->dp[ix>>1]);
           ^
 ./wolfcrypt/src/asm.c:701:6: note: expanded from macro 'SQRADD'
      "movl  %6,%%eax     \n\t"                            \
      ^
 2 warnings and 2 errors generated.
 }}}

 It does build without the +universal variant.

-- 
Ticket URL: <https://trac.macports.org/ticket/59144>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list