Opened 5 years ago
Closed 16 months ago
#59144 closed defect (fixed)
wolfssl @3.15.3 +universal: inline assembly requires more registers than available
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | chris@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.0 |
Keywords: | Cc: | ||
Port: | wolfssl |
Description
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.
Attachments (1)
Change History (2)
Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
comment:1 Changed 16 months ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
wolfssl now installs +universal (i386/x86_64, which was the arch mix of this ticket):