-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when building #425
Comments
hey @20urc3 ! could you please specify which part of the script failed? |
Sure, when building dependencies with the scripts build_deps.py (in /scripts) it errors In -m486 is outdated since a very longtime, just remove it. However, the problem persist. |
It seems that running the script is creating the makefile in sgx-gmp, thus adding again the problematic line "-m486" |
The exact part of the script that create issue: assert subprocess.call(["bash", "-c", "./configure --prefix=" + TGMP_BUILD_DIR + " --disable-shared --enable-static --with-pic --enable-sgx --with-sgxsdk=" + SDK_DIR + "/sgxsdk"]>
assert subprocess.call(["make", "install"]) == 0
assert subprocess.call(["make", "clean"]) == 0 |
My workaround was to comment the part i mentionned above. Then i use this command to remove "-m486" from configure and makefile: import sys
import os
import subprocess
os.chdir("..")
topDir = os.getcwd()
os.chdir("sgx-gmp")
TGMP_BUILD_DIR = topDir + "/tgmp-build"
SDK_DIR = topDir + "/sgx-sdk-build"
assert subprocess.call(["bash", "-c", "./configure --prefix=" + TGMP_BUILD_DIR + " --disable-shared --enable-static --with-pic --enable-sgx --with-sgxsdk=" + SDK_DIR + "/sgxsdk"]) == 0
assert subprocess.call(["make", "install"]) == 0
assert subprocess.call(["make", "clean"]) == 0 |
@20urc3 sorry I wasn't able to reproduce your issue yet. could you please tell what is your machine configuration? |
Describe the bug
An error occur when building sgxwallet dependencies with cd scripts; ./build_deps.py; cd ..
gcc: error: unrecognized command line option ‘-m486’
The text was updated successfully, but these errors were encountered: