You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2020/06/09 16:44:33 UTC
[GitHub] [incubator-teaclave-sgx-sdk] Cashmaney opened a new issue #246: sgx_unwind fails to build with MITIGATION_CVE_2020_0551
Cashmaney opened a new issue #246:
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/246
Hey,
I'm trying to migrate our code to ubuntu 20.04 with gcc9.3 to take advantage of the LVI mitigations, but when I try to build the code (in a docker that uses `baiduxlab/sgx-rust:2004-1.1.2` as a base) I get build errors from `sgx_unwind` if the MITIGATION_CVE_2020_0551 is set to either CF or LOAD (works fine if the flag isn't set).
Any help would be greatly appreciated. Thanks:)
```Compiling sgx_unwind v0.1.1 (https://github.com/apache/teaclave-sgx-sdk.git?tag=v1.1.2#253b3ac9)
error: failed to run custom build command for `sgx_unwind v0.1.1 (https://github.com/apache/teaclave-sgx-sdk.git?tag=v1.1.2#253b3ac9)`
Caused by:
process didn't exit successfully: `/tmp/xargo.N6Hff2hDIqln/target/release/build/sgx_unwind-b59213a2f4c5425b/build-script-build` (exit code: 1)
--- stdout
cargo:rerun-if-changed=build.rs
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/TODO
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/README
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/COPYING
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/acinclude.m4
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/Makefile.am
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/configure.in
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/ChangeLog
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/autogen-linux.sh
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/AUTHORS
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/LICENSE
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/include/pthread_compat.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/include/libunwind.h.in
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/include/libunwind-dynamic.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/include/libunwind-x86_64.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/include/libunwind_i.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/include/remote.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/include/libunwind-common.h.in
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/include/dwarf.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/include/dwarf-eh.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/include/dwarf_i.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/include/tdep/libunwind_i.h.in
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/include/tdep/dwarf-config.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/include/tdep/jmpbuf.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/include/unwind.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/include/x86/jmpbuf.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/include/mempool.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/include/tdep-x86_64/libunwind_i.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/include/tdep-x86_64/dwarf-config.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/include/tdep-x86_64/jmpbuf.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/os-linux.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Ginit_local.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Lget_proc_info.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/init.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Gresume.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Gos-linux.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Linit_remote.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/siglongjmp.S
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Linit_local.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Lglobal.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/offsets.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Gtrace.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Linit.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/getcontext.S
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Lresume.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Gglobal.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Lget_save_loc.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Lstash_frame.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/regname.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Lregs.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Los-linux.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/longjmp.S
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/is_fpreg.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Gstep.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/unwind_i.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Gget_proc_info.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/ucontext_i.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Gget_save_loc.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Los-freebsd.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Gcreate_addr_space.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/setcontext.S
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Ginit_remote.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Gstash_frame.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Ltrace.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Lcreate_addr_space.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Ginit.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Gregs.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Lis_signal_frame.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Gos-freebsd.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/x86_64/Lstep.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/elf32.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/Makefile.am
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/elfxx.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/elf64.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/unwind/SetIP.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/unwind/GetIPInfo.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/unwind/unwind-internal.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/unwind/FindEnclosingFunction.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/unwind/GetIP.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/unwind/Resume.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/unwind/DeleteException.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/unwind/GetDataRelBase.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/unwind/GetTextRelBase.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/unwind/SetGR.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/unwind/GetCFA.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/unwind/GetRegionStart.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/unwind/GetBSP.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/unwind/GetGR.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/unwind/GetLanguageSpecificData.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/unwind/RaiseException.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/unwind/ForcedUnwind.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/unwind/Backtrace.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/unwind/Resume_or_Rethrow.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/setjmp/sigsetjmp.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/setjmp/longjmp.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/setjmp/setjmp.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/setjmp/siglongjmp.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/setjmp/setjmp_i.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/dwarf/Gfind_unwind_table.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/dwarf/Lfind_proc_info-lsb.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/dwarf/Gfde.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/dwarf/global.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/dwarf/Gstep.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/dwarf/Lparser.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/dwarf/Gparser.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/dwarf/Gfind_proc_info-lsb.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/dwarf/Lpe.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/dwarf/Lexpr.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/dwarf/Gpe.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/dwarf/Gexpr.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/dwarf/Lfde.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/dwarf/Lfind_unwind_table.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/dwarf/Lstep.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/elf64.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/se-libc-stubs.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/elfxx.h
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Gdyn-extract.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/mempool.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/_ReadULEB.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/backtrace.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/_ReadSLEB.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Gset_caching_policy.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Ldyn-extract.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Lset_fpreg.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Lget_proc_name.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/dyn-info-list.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Gget_accessors.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Gput_dynamic_unwind_info.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Lset_caching_policy.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Lset_reg.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Lget_accessors.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Gfind_dynamic_proc_info.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Gget_fpreg.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/flush_cache.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Gget_proc_info_by_ip.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Gset_fpreg.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Gget_reg.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Gdestroy_addr_space.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Lput_dynamic_unwind_info.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Gset_reg.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Ldyn-remote.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/dyn-register.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/strerror.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/init.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Gget_proc_name.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Lget_proc_info_by_ip.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Lfind_dynamic_proc_info.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Ldestroy_addr_space.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Gdyn-remote.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Lget_reg.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/Lget_fpreg.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/mi/dyn-cancel.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/elf32.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/se-iterate-phdr.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/src/os-linux.c
cargo:rerun-if-changed=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/NEWS
cargo:rustc-link-lib=static=unwind
cargo:rustc-link-search=native=/tmp/xargo.N6Hff2hDIqln/target/x86_64-unknown-linux-sgx/release/build/sgx_unwind-5705805c98b4888c/out/libunwind/src/.libs
running: "sh" "/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/autogen-linux.sh" "--host=x86_64-unknown-linux-sgx" "--build=x86_64-unknown-linux-gnu"
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
libtoolize: copying file 'config/ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu-sgx
checking target system type... x86_64-unknown-linux-gnu-sgx
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-unknown-linux-sgx-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-unknown-linux-sgx-gcc... no
checking for gcc... gcc
checking whether the C compiler works... no
command did not execute successfully: "sh" "/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/autogen-linux.sh" "--host=x86_64-unknown-linux-sgx" "--build=x86_64-unknown-linux-gnu"
expected success, got: exit code: 77
--- stderr
+ dirname /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/autogen-linux.sh
+ srcdir=/root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind
+ [ -z /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind ]
+ pwd
+ ORIGDIR=/tmp/xargo.N6Hff2hDIqln/target/x86_64-unknown-linux-sgx/release/build/sgx_unwind-5705805c98b4888c/out/libunwind
+ cd /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind
+ autoreconf -v --force --install
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: configure.in: tracing
autoreconf: configure.in: creating directory config
autoreconf: running: libtoolize --copy --force
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:16: installing 'config/compile'
configure.in:10: installing 'config/config.guess'
configure.in:10: installing 'config/config.sub'
configure.in:11: installing 'config/install-sh'
configure.in:11: installing 'config/missing'
Makefile.am: installing './INSTALL'
src/Makefile.am:277: warning: whitespace following trailing backslash
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
src/Makefile.am: installing 'config/depcomp'
autoreconf: Leaving directory `.'
+ cd /tmp/xargo.N6Hff2hDIqln/target/x86_64-unknown-linux-sgx/release/build/sgx_unwind-5705805c98b4888c/out/libunwind
+ CFLAGS= -fstack-protector -ffreestanding -nostdinc -fvisibility=hidden -fpie -fno-strict-overflow -fno-delete-null-pointer-checks -O2 -mindirect-branch-register -mfunction-return=thunk-extern -fno-plt -Wa,-mlfence-before-indirect-branch=register -Wa,-mlfence-before-ret=not -std=c99 -fno-builtin -DHAVE_SGX=1 -fPIC -DUNW_LOCAL_ONLY
+ echo -fstack-protector -ffreestanding -nostdinc -fvisibility=hidden -fpie -fno-strict-overflow -fno-delete-null-pointer-checks -O2 -mindirect-branch-register -mfunction-return=thunk-extern -fno-plt -Wa,-mlfence-before-indirect-branch=register -Wa,-mlfence-before-ret=not -std=c99 -fno-builtin -DHAVE_SGX=1 -fPIC -DUNW_LOCAL_ONLY
+ tr \n
+ sort
+ uniq
+ grep -v nostdinc
+ tr \n
+ CFLAGS=-DHAVE_SGX=1 -DUNW_LOCAL_ONLY -O2 -Wa,-mlfence-before-indirect-branch=register -Wa,-mlfence-before-ret=not -fPIC -ffreestanding -fno-builtin -fno-delete-null-pointer-checks -fno-plt -fno-strict-overflow -fpie -fstack-protector -fvisibility=hidden -mfunction-return=thunk-extern -mindirect-branch-register -std=c99
+ HOST_OPT=
+ echo -DHAVE_SGX=1 -DUNW_LOCAL_ONLY -O2 -Wa,-mlfence-before-indirect-branch=register -Wa,-mlfence-before-ret=not -fPIC -ffreestanding -fno-builtin -fno-delete-null-pointer-checks -fno-plt -fno-strict-overflow -fpie -fstack-protector -fvisibility=hidden -mfunction-return=thunk-extern -mindirect-branch-register -std=c99
+ grep -q -- -m32
+ [ -f /usr/bin/dpkg ]
+ [ x != x ]
+ sed -i s/rtmk-nova\*/rtmk-nova\* | linux-sgx/ /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/config/config.sub
+ export CFLAGS
+ grep -n __x86_return_thunk() /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/configure
+ cut -d: -f 1
+ line=
+ [ -n ]
+ grep -n "checking whether the C compiler works... " /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/configure
+ cut -d: -f 1
+ line_end=3875
+ expr 3875 - 30
+ line_start=3845
+ sed -i 3845,3875 s/^_ACEOF/#pragma GCC push_options\r\n#pragma GCC optimize ("-fomit-frame-pointer")\r\nvoid __x86_return_thunk(){__asm__("ret\\n\\t");}\r\nvoid __x86_indirect_thunk_rax(){__asm__("jmp \*%rax\\n\\t");}\r\n#pragma GCC pop_options\r\n_ACEOF/ /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/configure
+ grep -n "checking whether we are cross compiling... " /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/configure
+ cut -d: -f 1
+ line_end=4020
+ expr 4020 - 30
+ line_start=3990
+ sed -i 3990,4020 s/^_ACEOF/#pragma GCC push_options\r\n#pragma GCC optimize ("-fomit-frame-pointer")\r\nvoid __x86_return_thunk(){__asm__("ret\\n\\t");}\r\nvoid __x86_indirect_thunk_rax(){__asm__("jmp \*%rax\\n\\t");}\r\n#pragma GCC pop_options\r\n_ACEOF/ /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/configure
+ /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/253b3ac/sgx_unwind/../sgx_unwind/libunwind/configure --enable-shared=no --disable-block-signals --enable-debug=no --enable-debug-frame=no --enable-cxx-exceptions --host=x86_64-unknown-linux-sgx --build=x86_64-unknown-linux-gnu
configure: WARNING: using cross tools not prefixed with host triplet
configure: error: in `/tmp/xargo.N6Hff2hDIqln/target/x86_64-unknown-linux-sgx/release/build/sgx_unwind-5705805c98b4888c/out/libunwind':
configure: error: C compiler cannot create executables
See `config.log' for more details
error: `"cargo" "build" "--release" "--manifest-path" "/tmp/xargo.N6Hff2hDIqln/Cargo.toml" "--target" "x86_64-unknown-linux-sgx" "-p" "sgx_unwind"` failed with exit code: Some(101)
note: run with `RUST_BACKTRACE=1` for a backtrace
make[1]: Leaving directory '/go/src/github.com/enigmampc/EnigmaBlockchain/cosmwasm/lib/wasmi-runtime'
make[1]: *** [Makefile:105: lib/libenclave.a] Error 1
make: *** [Makefile:93: build-enclave] Error 2```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org
[GitHub] [incubator-teaclave-sgx-sdk] dingelish commented on issue #246: sgx_unwind fails to build with MITIGATION_CVE_2020_0551
Posted by GitBox <gi...@apache.org>.
dingelish commented on issue #246:
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/246#issuecomment-641010603
thanks for this report! just want to let you know i'm working on this. thanks!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org
[GitHub] [incubator-teaclave-sgx-sdk] Cashmaney commented on issue #246: sgx_unwind fails to build with MITIGATION_CVE_2020_0551
Posted by GitBox <gi...@apache.org>.
Cashmaney commented on issue #246:
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/246#issuecomment-641077749
Thanks for the quick response!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org