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

[Bug] # github.com/bytedance/sonic/internal/rt missing function body #689

Closed
lhalcyon opened this issue Aug 15, 2024 · 4 comments
Closed

Comments

@lhalcyon
Copy link

# github.com/bytedance/sonic/internal/rt
C:\Users\Administrator\go\pkg\mod\github.com\bytedance\[email protected]\internal\rt\fastmem.go:145:6: missing function body
# github.com/bytedance/sonic/decoder
C:\Users\Administrator\go\pkg\mod\github.com\bytedance\[email protected]\decoder\decoder_compat.go:95:33: types.SPACE_MASK (untyped int constant 4294977024) overflows int

I tried clean rebuild , did not solve it . anyone solve it ?

@liuq19
Copy link
Collaborator

liuq19 commented Aug 15, 2024

could you provide go env

@lhalcyon
Copy link
Author

Referen

set GO111MODULE=
set GOARCH=386
set GOBIN=
set GOCACHE=C:\Users\Administrator\AppData\Local\go-build
set GOENV=C:\Users\Administrator\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=386
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\Administrator\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\Administrator\go
set GOPRIVATE=
set GOPROXY=https://goproxy.cn,direct
set GOROOT=D:\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLCHAIN=auto
set GOTOOLDIR=D:\Go\pkg\tool\windows_386
set GOVCS=
set GOVERSION=go1.23.0
set GODEBUG=
set GOTELEMETRY=local
set GOTELEMETRYDIR=C:\Users\Administrator\AppData\Roaming\go\telemetry
set GCCGO=gccgo
set GO386=sse2
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=NUL
set GOWORK=
set CGO_CFLAGS=-O2 -g
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-O2 -g
set CGO_FFLAGS=-O2 -g
set CGO_LDFLAGS=-O2 -g
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m32 -mthreads -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=C:\Users\Administrator\AppData\Local\Temp\go-build592717738=/tmp/go-build -gno-record-gcc-switches

@liuq19
Copy link
Collaborator

liuq19 commented Aug 15, 2024

sonic now not support 32-bits

@lhalcyon
Copy link
Author

Thank u for reply. I see , I 'll reinstall and try .

@liuq19 liuq19 changed the title [Bug] after install sonic on go1.23,get error .# github.com/bytedance/sonic/internal/rt missing function body [Bug] # github.com/bytedance/sonic/internal/rt missing function body Aug 15, 2024
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

2 participants