Skip to content

linux: symbol linker could not find symbol runtime.vgetrandom with Go 1.24.x #4921

Open
@deadprogram

Description

@deadprogram

When attempting to compile some code for Linux target, I ran into this same error as @soypat did here:
#4828 (comment)

/home/ron/Development/tinygo/tinygo-122/src/internal/syscall/unix/getrandom.go:26: linker could not find symbol runtime.vgetrandom

The rsa-keygen benchmark program is what triggered it on my machine. See tinygo-org/tinybench#3

I suspect that this issue first appears in Go 1.24.x due to this commit:
golang/go@eb6f2c2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions