Skip to content
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

ramips 编译 v2dat出错 #786

Open
sKyissKy opened this issue Mar 22, 2024 · 0 comments
Open

ramips 编译 v2dat出错 #786

sKyissKy opened this issue Mar 22, 2024 · 0 comments

Comments

@sKyissKy
Copy link
Contributor

touch /home/sky/lede-mt7621/build_dir/target-mipsel_24kc_musl/v2dat-47b8ee51fb528e11e1a83453b7e767a18d20d1f7/.built_check
CONFIG_GOLANG_MOD_CACHE_WORLD_READABLE="" GO_BUILD_CACHE_DIR="/home/sky/lede-mt7621/tmp/go-build" GO_MOD_CACHE_DIR="/home/sky/lede-mt7621/dl/go-mod-cache" GO_MOD_ARGS="-modcacherw" GO_PKG="github.com/urlesistiana/v2dat" GO_INSTALL_EXTRA="" GO_INSTALL_ALL="" GO_SOURCE_ONLY="" GO_BUILD_PKG="github.com/urlesistiana/v2dat/..." GO_EXCLUDES="" GO_GO_GENERATE="" GO_INSTALL_BIN_PATH="/usr/bin" BUILD_DIR="/home/sky/lede-mt7621/build_dir/target-mipsel_24kc_musl/v2dat-47b8ee51fb528e11e1a83453b7e767a18d20d1f7" GO_BUILD_DIR="/home/sky/lede-mt7621/build_dir/target-mipsel_24kc_musl/v2dat-47b8ee51fb528e11e1a83453b7e767a18d20d1f7/.go_work/build" GO_BUILD_BIN_DIR="/home/sky/lede-mt7621/build_dir/target-mipsel_24kc_musl/v2dat-47b8ee51fb528e11e1a83453b7e767a18d20d1f7/.go_work/build/bin/linux_mipsle" GO_BUILD_DEPENDS_PATH="/usr/share/gocode" GO_BUILD_DEPENDS_SRC="/home/sky/lede-mt7621/staging_dir/target-mipsel_24kc_musl/usr/share/gocode/src" GOOS="linux" GOARCH="mipsle" GO386="" GOAMD64="" GOARM="" GOMIPS="softfloat" GOMIPS64="" GOPPC64="" CGO_ENABLED=1 CC="mipsel-openwrt-linux-musl-gcc" CXX="mipsel-openwrt-linux-musl-g++" CGO_CFLAGS="-Os -pipe -mno-branch-likely -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/home/sky/lede-mt7621/build_dir/target-mipsel_24kc_musl/v2dat-47b8ee51fb528e11e1a83453b7e767a18d20d1f7=v2dat-47b8ee51fb528e11e1a83453b7e767a18d20d1f7 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" CGO_CPPFLAGS="-I/home/sky/lede-mt7621/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/usr/include -I/home/sky/lede-mt7621/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/include/fortify -I/home/sky/lede-mt7621/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/include" CGO_CXXFLAGS="-Os -pipe -mno-branch-likely -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/home/sky/lede-mt7621/build_dir/target-mipsel_24kc_musl/v2dat-47b8ee51fb528e11e1a83453b7e767a18d20d1f7=v2dat-47b8ee51fb528e11e1a83453b7e767a18d20d1f7 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" CGO_LDFLAGS="-L/home/sky/lede-mt7621/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/usr/lib -L/home/sky/lede-mt7621/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/lib -znow -zrelro" GOPATH="/home/sky/lede-mt7621/build_dir/target-mipsel_24kc_musl/v2dat-47b8ee51fb528e11e1a83453b7e767a18d20d1f7/.go_work/build" GOCACHE="/home/sky/lede-mt7621/tmp/go-build" GOMODCACHE="/home/sky/lede-mt7621/dl/go-mod-cache" GOENV=off GOTOOLCHAIN=local /usr/bin/env bash ../../lang/golang//golang-build.sh build -v -buildvcs=false -trimpath -ldflags "all=-buildid '1711027510' -linkmode external -extldflags '-L/home/sky/lede-mt7621/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/usr/lib -L/home/sky/lede-mt7621/staging_dir/toolchain-mipsel_24kc_gcc-8.4.0_musl/lib -Wl,-z,now -Wl,-z,relro'" -installsuffix "softfloat"
Finding targets

Building targets
runtime/cgo

runtime/cgo

gcc_mipsx.S: Assembler messages:
gcc_mipsx.S:27: Error: invalid operands sw $18,12($29)' gcc_mipsx.S:28: Error: invalid operands sw $19,16($29)'
gcc_mipsx.S:29: Error: invalid operands sw $20,20($29)' gcc_mipsx.S:30: Error: invalid operands sw $21,24($29)'
gcc_mipsx.S:31: Error: invalid operands sw $22,28($29)' gcc_mipsx.S:32: Error: invalid operands sw $23,32($29)'
gcc_mipsx.S:33: Error: invalid operands sw $30,36($29)' gcc_mipsx.S:46: Error: invalid operands jalr $20'
gcc_mipsx.S:50: Error: invalid operands lw $18,12($29)' gcc_mipsx.S:51: Error: invalid operands lw $19,16($29)'
gcc_mipsx.S:52: Error: invalid operands lw $20,20($29)' gcc_mipsx.S:53: Error: invalid operands lw $21,24($29)'
gcc_mipsx.S:54: Error: invalid operands lw $22,28($29)' gcc_mipsx.S:55: Error: invalid operands lw $23,32($29)'
gcc_mipsx.S:56: Error: invalid operands lw $30,36($29)' gcc_mipsx.S:65: Error: invalid operands lw $31,0($29)'

make[3]: *** [Makefile:47: /home/sky/lede-mt7621/build_dir/target-mipsel_24kc_musl/v2dat-47b8ee51fb528e11e1a83453b7e767a18d20d1f7/.built] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant