V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  horizon  ›  全部回复第 72 页 / 共 131 页
回复总数  2613
1 ... 68  69  70  71  72  73  74  75  76  77 ... 131  
2023-03-09 12:27:47 +08:00
回复了 horizon 创建的主题 Rust 在 M1 上如何编译为 Linux 的包
@liuxu [img]https://i.imgur.com/bPmvc9j.png[/img]
安装了的
2023-03-09 11:44:39 +08:00
回复了 horizon 创建的主题 Rust 在 M1 上如何编译为 Linux 的包
@liuxu 感谢解答。
错误如下:
```
Caused by:
process didn't exit successfully: `/Users/linctex/Workspace/dufs/target/debug/build/ring-e3146748fc8e5aed/build-script-build` (exit status: 101)
--- stdout
OPT_LEVEL = Some("0")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("aarch64-apple-darwin")
cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu
CC_x86_64-unknown-linux-gnu = None
cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu
CC_x86_64_unknown_linux_gnu = None
cargo:rerun-if-env-changed=TARGET_CC
TARGET_CC = None
cargo:rerun-if-env-changed=CC
CC = None
RUSTC_LINKER = None
cargo:rerun-if-env-changed=CROSS_COMPILE
CROSS_COMPILE = None
cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu
CFLAGS_x86_64-unknown-linux-gnu = None
cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu
CFLAGS_x86_64_unknown_linux_gnu = None
cargo:rerun-if-env-changed=TARGET_CFLAGS
TARGET_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("true")
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")

--- stderr
running "x86_64-linux-gnu-gcc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "include" "-Wall" "-Wextra" "-pedantic" "-pedantic-errors" "-Wall" "-Wextra" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-fno-strict-aliasing" "-fvisibility=hidden" "-fstack-protector" "-g3" "-DNDEBUG" "-c" "-o/Users/linctex/Workspace/dufs/target/x86_64-unknown-linux-gnu/debug/build/ring-574835f3f1e4e3d0/out/aesni-x86_64-elf.o" "/Users/linctex/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.20/pregenerated/aesni-x86_64-elf.S"
thread 'main' panicked at 'failed to execute ["x86_64-linux-gnu-gcc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "include" "-Wall" "-Wextra" "-pedantic" "-pedantic-errors" "-Wall" "-Wextra" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-fno-strict-aliasing" "-fvisibility=hidden" "-fstack-protector" "-g3" "-DNDEBUG" "-c" "-o/Users/linctex/Workspace/dufs/target/x86_64-unknown-linux-gnu/debug/build/ring-574835f3f1e4e3d0/out/aesni-x86_64-elf.o" "/Users/linctex/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.20/pregenerated/aesni-x86_64-elf.S"]: No such file or directory (os error 2)', /Users/linctex/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.20/build.rs:653:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
```
2023-03-09 09:22:09 +08:00
回复了 horizon 创建的主题 Rust 在 M1 上如何编译为 Linux 的包
2023-03-09 09:20:54 +08:00
回复了 horizon 创建的主题 Rust 在 M1 上如何编译为 Linux 的包
@liuxu
我的 target 为 x86_64-unknown-linux-gnu
给我报这个错误
https://imgur.com/a/yVuU169
2023-03-08 16:45:05 +08:00
回复了 Mikawa 创建的主题 问与答 2023 年,双程序员应该移民吗
@chrosing 年薪 25W ,现存 10W ,2-3 年内存到 100W ,有什么发财的路子?
2023-03-08 14:41:41 +08:00
回复了 Mikawa 创建的主题 问与答 2023 年,双程序员应该移民吗
可以出去几年,待不住再回来呗。反正还年轻
2023-03-08 12:52:34 +08:00
回复了 CNN 创建的主题 Android 关于国产安卓是否有反诈
@monkeyzsf
美国人监控你,对你有影响吗?你是美国人?
2023-03-07 20:02:30 +08:00
回复了 aceinnes 创建的主题 问与答 有前端大佬吗,问个前端问题
2023-03-06 18:24:18 +08:00
回复了 xuromky 创建的主题 问与答 小白是不是不推荐自己搭建 memos
@yinh0715 用的啥服务器啊?我倒是在 cloudflare 有个域名,一直也想搞这个。
2023-03-06 18:21:07 +08:00
回复了 sunny1688 创建的主题 分享发现 我来(wolai)被钉钉收购
@XHalso 语雀还有前途吗?
2023-03-05 18:58:10 +08:00
回复了 levelworm 创建的主题 随想 有娃的同学们是不是都有这种苦
确实。。
2023-03-05 17:46:32 +08:00
回复了 slzhouzsl 创建的主题 职场话题 杭州找不到工作,要不要去上海看看呢?
先投了再说
杭州也有很多外地的来上班的呀,周末回去呗
看下构赛博吧,3d 的。
1 ... 68  69  70  71  72  73  74  75  76  77 ... 131  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5144 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 44ms · UTC 09:35 · PVG 17:35 · LAX 01:35 · JFK 04:35
Developed with CodeLauncher
♥ Do have faith in what you're doing.