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

Unable to install on Windows amd64 Go 1.23 #1659

Open
brandonkal opened this issue Sep 4, 2024 · 3 comments
Open

Unable to install on Windows amd64 Go 1.23 #1659

brandonkal opened this issue Sep 4, 2024 · 3 comments

Comments

@brandonkal
Copy link

brandonkal commented Sep 4, 2024

The following program sample.go triggers an unexpected result

N/A

Expected result

Successful installl

Got

$ go install github.com/traefik/yaegi/cmd/yaegi@latest

# github.com/traefik/yaegi/cmd/yaegi
syscall.Syscall18: nosplit stack over 792 byte limit
syscall.Syscall18<1>
    grows 336 bytes, calls syscall.SyscallN<1>
        grows 32 bytes, calls runtime.cgocall<1>
            grows 104 bytes, calls runtime.entersyscall<1>
                grows 40 bytes, calls runtime.reentersyscall<1>
                    grows 104 bytes, calls runtime.save<1>
                        grows 32 bytes, calls runtime.badctxt<1>
                            grows 32 bytes, calls runtime.throw<1>
                                grows 48 bytes, calls runtime.fatalthrow<1>
                                    grows 64 bytes, calls runtime.systemstack<0>
                                        grows 16 bytes, calls gosave_systemstack_switch<46>
                                            grows 8 bytes, calls runtime.abort<0>
                                            24 bytes over limit
                                        grows 16 bytes, calls indirect
                                            grows 8 bytes, calls runtime.morestack<0>
                                            24 bytes over limit
                                        grows 8 bytes, calls indirect
                                            grows 8 bytes, calls runtime.morestack<0>
                                            16 bytes over limit
                    grows 104 bytes, calls runtime.save<1>
                        grows 32 bytes, calls runtime.badctxt<1>
                            grows 32 bytes, calls runtime.throw<1>
                                grows 48 bytes, calls runtime.fatalthrow<1>
                                    grows 64 bytes, calls runtime.systemstack<0>
                                        grows 16 bytes, calls gosave_systemstack_switch<46>
                                            grows 8 bytes, calls runtime.abort<0>
                                            24 bytes over limit
                                        grows 16 bytes, calls indirect
                                            grows 8 bytes, calls runtime.morestack<0>
                                            24 bytes over limit
                                        grows 8 bytes, calls indirect
                                            grows 8 bytes, calls runtime.morestack<0>
                                            16 bytes over limit
                    grows 104 bytes, calls runtime.save<1>
                        grows 32 bytes, calls runtime.badctxt<1>
                            grows 32 bytes, calls runtime.throw<1>
                                grows 48 bytes, calls runtime.fatalthrow<1>
                                    grows 64 bytes, calls runtime.systemstack<0>
                                        grows 16 bytes, calls gosave_systemstack_switch<46>
                                            grows 8 bytes, calls runtime.abort<0>
                                            24 bytes over limit
                                        grows 16 bytes, calls indirect
                                            grows 8 bytes, calls runtime.morestack<0>
                                            24 bytes over limit
                                        grows 8 bytes, calls indirect
                                            grows 8 bytes, calls runtime.morestack<0>
                                            16 bytes over limit
                    grows 104 bytes, calls runtime.save<1>
                        grows 32 bytes, calls runtime.badctxt<1>
                            grows 32 bytes, calls runtime.throw<1>
                                grows 48 bytes, calls runtime.fatalthrow<1>
                                    grows 64 bytes, calls runtime.systemstack<0>
                                        grows 16 bytes, calls gosave_systemstack_switch<46>
                                            grows 8 bytes, calls runtime.abort<0>
                                            24 bytes over limit
                                        grows 16 bytes, calls indirect
                                            grows 8 bytes, calls runtime.morestack<0>
                                            24 bytes over limit
                                        grows 8 bytes, calls indirect
                                            grows 8 bytes, calls runtime.morestack<0>
                                            16 bytes over limit
                    grows 104 bytes, calls runtime.save<1>
                        grows 32 bytes, calls runtime.badctxt<1>
                            grows 32 bytes, calls runtime.throw<1>
                                grows 48 bytes, calls runtime.fatalthrow<1>
                                    grows 64 bytes, calls runtime.systemstack<0>
                                        grows 16 bytes, calls gosave_systemstack_switch<46>
                                            grows 8 bytes, calls runtime.abort<0>
                                            24 bytes over limit
                                        grows 16 bytes, calls indirect
                                            grows 8 bytes, calls runtime.morestack<0>
                                            24 bytes over limit
                                        grows 8 bytes, calls indirect
                                            grows 8 bytes, calls runtime.morestack<0>
                                            16 bytes over limit

Yaegi Version

latest

Additional Notes

No response

@nashidk
Copy link

nashidk commented Oct 27, 2024

same got here

@Snshadow
Copy link

Snshadow commented Oct 29, 2024

Looks like related with this issue(could be fixed in go1.23.3?)
golang/go#69848

@Snshadow
Copy link

Snshadow commented Nov 8, 2024

Fixed in go1.23.3, now using go install github.com/traefik/yaegi/cmd/yaegi@latest successfully installs yaegi binary in Windows 11.
Image

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

3 participants