Skip to content

-literals options causes garble to stuck indefinitely on go 1.24.1 #928

Open
@sheo9000

Description

@sheo9000

I recently upgraded to Go 1.24.1 (the platform is Windows amd64), and I can't compile my app. Garble just hangs forever, eats cpu, and doesn't produce any output. It does produce normal output with -debug option, but in the end it stops printing anything, and hangs.
This is the command I use

garble -literals -seed=random -tiny -debug build

Anything from the listed solves the problem:

  • Remove -literals flag
  • Downgrade to Go 1.23.7

An attempt to compile another app on 1.24.1 with -literals flag also works, it's only one app can't compile

garble version
mvdan.cc/garble v0.14.1

What could cause the issue? How to fix? Is this a bug?
Please help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions