Skip to content

[Bug]: ios build #11116

Description

@mumin16

Contact Details

No response

Version

latest

Description

[ 2%] Building C object CMakeFiles/wolfssl.dir/wolfcrypt/src/cpuid.c.o
/Users/x64/Desktop/wolfssl-master/wolfcrypt/src/cpuid.c:94:9: error: invalid output constraint '=a'
in asm
94 | cpuid(reg, 0, 0);
| ^
/Users/x64/Desktop/wolfssl-master/wolfcrypt/src/cpuid.c:75:17: note: expanded from macro 'cpuid'
75 | "=a" ((reg)[0]), "=b" ((reg)[1]), "=c" ((reg)[2]), "=d" ((reg)[3]) :
| ^
/Users/x64/Desktop/wolfssl-master/wolfcrypt/src/cpuid.c:107:9: error: invalid output constraint
'=a' in asm
107 | cpuid(reg, 0, 0);
| ^
/Users/x64/Desktop/wolfssl-master/wolfcrypt/src/cpuid.c:75:17: note: expanded from macro 'cpuid'
75 | "=a" ((reg)[0]), "=b" ((reg)[1]), "=c" ((reg)[2]), "=d" ((reg)[3]) :
| ^
/Users/x64/Desktop/wolfssl-master/wolfcrypt/src/cpuid.c:121:13: error: invalid output constraint
'=a' in asm
121 | cpuid(reg, leaf, sub);
| ^
/Users/x64/Desktop/wolfssl-master/wolfcrypt/src/cpuid.c:75:17: note: expanded from macro 'cpuid'
75 | "=a" ((reg)[0]), "=b" ((reg)[1]), "=c" ((reg)[2]), "=d" ((reg)[3]) :
| ^
3 errors generated.

Reproduction steps

No response

Relevant log output

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions