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

go 1.20 sonic 编译报错 #579

Closed
ghost opened this issue Feb 2, 2023 · 13 comments
Closed

go 1.20 sonic 编译报错 #579

ghost opened this issue Feb 2, 2023 · 13 comments
Labels
invalid issue invalid issue (not related to Hertz or described in document or not enough information provided) stale

Comments

@ghost
Copy link

ghost commented Feb 2, 2023

github.com/bytedance/sonic/internal/loader

../../pkg/mod/github.com/bytedance/sonic@v1.5.0/internal/loader/funcdata.go:27:22: undefined: _ModuleData
../../pkg/mod/github.com/bytedance/sonic@v1.5.0/internal/loader/funcdata.go:30:27: undefined: _ModuleData
../../pkg/mod/github.com/bytedance/sonic@v1.5.0/internal/loader/funcdata.go:41:6: undefined: _Func
../../pkg/mod/github.com/bytedance/sonic@v1.5.0/internal/loader/funcdata.go:42:12: undefined: _ModuleData
../../pkg/mod/github.com/bytedance/sonic@v1.5.0/internal/loader/funcdata.go:53:16: undefined: _ModuleData
../../pkg/mod/github.com/bytedance/sonic@v1.5.0/internal/loader/funcdata.go:79:26: undefined: _ModuleData
../../pkg/mod/github.com/bytedance/sonic@v1.5.0/internal/loader/funcdata_invalid.go:23:6: panic("Unsupported Go version. Supported versions are: 1.15, 1.16, 1.17, 1.18, 1.19") (no value) used as value
../../pkg/mod/github.com/bytedance/sonic@v1.5.0/internal/loader/loader.go:47:50: too many arguments in call to registerFunction
have (string, uintptr, uintptr, int, int, uintptr, uintptr, uintptr)
want (string, uintptr, int, int, uintptr)

@github-actions github-actions bot added the invalid issue invalid issue (not related to Hertz or described in document or not enough information provided) label Feb 2, 2023
@li-jin-gou
Copy link
Member

li-jin-gou commented Feb 2, 2023

refer to bytedance/sonic#355 and use #278 to solve it

@li-jin-gou li-jin-gou removed the invalid issue invalid issue (not related to Hertz or described in document or not enough information provided) label Feb 2, 2023
@li-jin-gou li-jin-gou changed the title go 1.20编译报错 go 1.20 sonic 编译报错 Feb 2, 2023
@github-actions github-actions bot added the invalid issue invalid issue (not related to Hertz or described in document or not enough information provided) label Feb 2, 2023
@github-actions
Copy link

github-actions bot commented Feb 2, 2023

This issue has been marked as invalid question, please give more information by following the issue template. The issue will be closed in 3 days if no further activity occurs.

@github-actions github-actions bot added stale and removed stale labels Feb 2, 2023
@github-actions
Copy link

github-actions bot commented Feb 2, 2023

This issue has been marked as invalid question, please give more information by following the issue template. The issue will be closed in 3 days if no further activity occurs.

@github-actions github-actions bot added the stale label Feb 2, 2023
@welkeyever
Copy link
Member

refer to bytedance/sonic#355 and use #278 to solve it

Requirement: update hertz to v0.5.2

@waghanza
Copy link

waghanza commented Feb 2, 2023

@li-jin-gou li-jin-gou reopened this Feb 2, 2023
@li-jin-gou
Copy link
Member

li-jin-gou commented Feb 2, 2023

@Duslia @welkeyever I still have compilation issue, even with this version https://github.com/the-benchmarker/web-frameworks/actions/runs/4072426242/jobs/7015182899#step:6:77

need to use stdjson tag to build and refer to #278

@github-actions github-actions bot removed the stale label Feb 2, 2023
@github-actions
Copy link

github-actions bot commented Feb 2, 2023

This issue has been marked as invalid question, please give more information by following the issue template. The issue will be closed in 3 days if no further activity occurs.

@github-actions github-actions bot added the stale label Feb 2, 2023
@waghanza
Copy link

waghanza commented Feb 2, 2023

not sure I know what to do @li-jin-gou, could you please open a PR on https://github.com/the-benchmarker/web-frameworks ?

@github-actions github-actions bot removed the stale label Feb 2, 2023
@github-actions
Copy link

github-actions bot commented Feb 2, 2023

This issue has been marked as invalid question, please give more information by following the issue template. The issue will be closed in 3 days if no further activity occurs.

@github-actions github-actions bot added the stale label Feb 2, 2023
@li-jin-gou
Copy link
Member

not sure I know what to do @li-jin-gou, could you please open a PR on https://github.com/the-benchmarker/web-frameworks ?

Let me look at it first, I'm not sure if CI can specify the build tag @waghanza

@github-actions github-actions bot removed the stale label Feb 4, 2023
@github-actions
Copy link

github-actions bot commented Feb 4, 2023

This issue has been marked as invalid question, please give more information by following the issue template. The issue will be closed in 3 days if no further activity occurs.

@github-actions github-actions bot added the stale label Feb 4, 2023
@waghanza
Copy link

waghanza commented Feb 4, 2023

@github-actions github-actions bot removed the stale label Feb 4, 2023
@github-actions
Copy link

github-actions bot commented Feb 4, 2023

This issue has been marked as invalid question, please give more information by following the issue template. The issue will be closed in 3 days if no further activity occurs.

@github-actions github-actions bot added the stale label Feb 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid issue invalid issue (not related to Hertz or described in document or not enough information provided) stale
Development

No branches or pull requests

3 participants