intel / intel/confidential-computing.sgx.sdk

Is it possible to build sdk with clang?

Open
#78 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
C++
Stars
2
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Hello,
I was interested, if sdk can also be built with clang, but if I try this, I get some errors of incompatible CFLAGS "-mindirect-branch-register, -mfunction-return=thunk-extern, -mlfence-after-load=yes, -mlfence-before-indirect-branch=memory, -mlfence-before-ret=shl". If I remove these FLAGS, I get an error "implicit conversion changes signedness: 'int' to 'unsigned long'"
So my question is, is it possible to execute "make sdk" with clang? Is it the right way, to remove the FLAGS and work on resulting errors?
Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.