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

Unblockneteasemusic-Go编译失败 #204

Open
DestoryG opened this issue Jan 21, 2025 · 0 comments
Open

Unblockneteasemusic-Go编译失败 #204

DestoryG opened this issue Jan 21, 2025 · 0 comments

Comments

@DestoryG
Copy link

make[3]: Entering directory '/home/destoryg/immortalwrt/feeds/smpackage/UnblockNeteaseMusic-Go'
rm -f /home/destoryg/immortalwrt/build_dir/target-mipsel_24kc_musl/UnblockNeteaseMusic-0.2.13/.built
touch /home/destoryg/immortalwrt/build_dir/target-mipsel_24kc_musl/UnblockNeteaseMusic-0.2.13/.built_check
CONFIG_GOLANG_MOD_CACHE_WORLD_READABLE="" GO_BUILD_CACHE_DIR="/home/destoryg/immortalwrt/tmp/go-build" GO_MOD_CACHE_DIR="/home/destoryg/immortalwrt/dl/go-mod-cache" GO_MOD_ARGS="-modcacherw" GO_PKG="github.com/cnsilvan/UnblockNeteaseMusic" GO_INSTALL_EXTRA="" GO_INSTALL_ALL="" GO_SOURCE_ONLY="" GO_BUILD_PKG="github.com/cnsilvan/UnblockNeteaseMusic" GO_EXCLUDES="" GO_GO_GENERATE="" GO_INSTALL_BIN_PATH="/usr/bin" BUILD_DIR="/home/destoryg/immortalwrt/build_dir/target-mipsel_24kc_musl/UnblockNeteaseMusic-0.2.13" GO_BUILD_DIR="/home/destoryg/immortalwrt/build_dir/target-mipsel_24kc_musl/UnblockNeteaseMusic-0.2.13/.go_work/build" GO_BUILD_BIN_DIR="/home/destoryg/immortalwrt/build_dir/target-mipsel_24kc_musl/UnblockNeteaseMusic-0.2.13/.go_work/build/bin/linux_mipsle" GO_BUILD_DEPENDS_PATH="/usr/share/gocode" GO_BUILD_DEPENDS_SRC="/home/destoryg/immortalwrt/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="ccache mipsel-openwrt-linux-musl-gcc" CXX="ccache mipsel-openwrt-linux-musl-g++" CGO_CFLAGS="-Os -pipe -mno-branch-likely -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/destoryg/immortalwrt/build_dir/target-mipsel_24kc_musl/UnblockNeteaseMusic-0.2.13=UnblockNeteaseMusic-0.2.13 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" CGO_CPPFLAGS="-I/home/destoryg/immortalwrt/staging_dir/toolchain-mipsel_24kc_gcc-13.3.0_musl/usr/include -I/home/destoryg/immortalwrt/staging_dir/toolchain-mipsel_24kc_gcc-13.3.0_musl/include -I/home/destoryg/immortalwrt/staging_dir/toolchain-mipsel_24kc_gcc-13.3.0_musl/include/fortify" CGO_CXXFLAGS="-Os -pipe -mno-branch-likely -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/destoryg/immortalwrt/build_dir/target-mipsel_24kc_musl/UnblockNeteaseMusic-0.2.13=UnblockNeteaseMusic-0.2.13 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -mips16 -minterlink-mips16" CGO_LDFLAGS="-L/home/destoryg/immortalwrt/staging_dir/toolchain-mipsel_24kc_gcc-13.3.0_musl/usr/lib -L/home/destoryg/immortalwrt/staging_dir/toolchain-mipsel_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro" GOPATH="/home/destoryg/immortalwrt/build_dir/target-mipsel_24kc_musl/UnblockNeteaseMusic-0.2.13/.go_work/build" GOCACHE="/home/destoryg/immortalwrt/tmp/go-build" GOMODCACHE="/home/destoryg/immortalwrt/dl/go-mod-cache" GOENV=off GOTOOLCHAIN=local /usr/bin/env bash /home/destoryg/immortalwrt/feeds/packages/lang/golang//golang-build.sh build -v -buildvcs=false -trimpath -ldflags "all=-buildid '1737277457' -linkmode external -extldflags '-L/home/destoryg/immortalwrt/staging_dir/toolchain-mipsel_24kc_gcc-13.3.0_musl/usr/lib -L/home/destoryg/immortalwrt/staging_dir/toolchain-mipsel_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -Wl,-z,now -Wl,-z,relro'"     -installsuffix "softfloat"   -ldflags "-s -w -X 'github.com/cnsilvan/UnblockNeteaseMusic/version.Version=0.2.13' -X 'github.com/cnsilvan/UnblockNeteaseMusic/version.BuildTime=2025-01-21 19:56:23' -X 'github.com/cnsilvan/UnblockNeteaseMusic/version.ExGoVersionInfo= '  -buildid '1737277457' -linkmode external -extldflags '-L/home/destoryg/immortalwrt/staging_dir/toolchain-mipsel_24kc_gcc-13.3.0_musl/usr/lib -L/home/destoryg/immortalwrt/staging_dir/toolchain-mipsel_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -Wl,-z,now -Wl,-z,relro'"
Finding targets
go: downloading golang.org/x/text v0.3.3
go: downloading github.com/mitchellh/mapstructure v1.4.2

Building targets
golang.org/x/text/transform
github.com/cnsilvan/UnblockNeteaseMusic/common
github.com/cnsilvan/UnblockNeteaseMusic/version
runtime/cgo
github.com/cnsilvan/UnblockNeteaseMusic/pool
github.com/cnsilvan/UnblockNeteaseMusic/cache
golang.org/x/text/unicode/norm
golang.org/x/text/width
# 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:86: /home/destoryg/immortalwrt/build_dir/target-mipsel_24kc_musl/UnblockNeteaseMusic-0.2.13/.built] Error 1
make[3]: Leaving directory '/home/destoryg/immortalwrt/feeds/smpackage/UnblockNeteaseMusic-Go'
time: package/feeds/smpackage/UnblockNeteaseMusic-Go/compile#1.94#1.96#86.89
    ERROR: package/feeds/smpackage/UnblockNeteaseMusic-Go failed to build.
make[2]: *** [package/Makefile:185: package/feeds/smpackage/UnblockNeteaseMusic-Go/compile] Error 1
make[2]: Leaving directory '/home/destoryg/immortalwrt'
make[1]: *** [package/Makefile:179: /home/destoryg/immortalwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/destoryg/immortalwrt'
make: *** [/home/destoryg/immortalwrt/include/toplevel.mk:233: world] Error 2
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