intel / intel/confidential-computing.sgx
Unable to install PSW without gcc
- Dominant language
- C++
- Stars
- 1.5k
- Forks
- 565
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I'm trying to install PSW onto a Centos box that cannot have gcc installed on it for security reasons. I'm using the following binary
https://download.01.org/intel-sgx/linux-2.4/centos7.5-server/sgx_linux_x64_psw_2.4.100.48163.bin
However it fails to install because gcc isn't available.
It looks like these files are using gcc only to print out a directory "gcc -print-multi-os-directory"
https://github.com/intel/linux-sgx/blob/master/linux/installer/common/psw/Makefile
https://github.com/intel/linux-sgx/blob/master/linux/installer/common/psw/install.sh
Is it possible to get this directory information another way?
Contributor guide
Research direction
Start with linux/installer/common/psw/Makefile and linux/installer/common/psw/install.sh, then inspect the gcc -print-multi-os-directory call described in the issue. Confirm installation on the referenced CentOS 7.5 PSW binary without gcc, with the same directory information obtained another way.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- centos, shell
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100