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

Undefined os/signal symbols #4250

Open
apprehensions opened this issue Apr 29, 2024 · 2 comments
Open

Undefined os/signal symbols #4250

apprehensions opened this issue Apr 29, 2024 · 2 comments

Comments

@apprehensions
Copy link

ld.lld: error: undefined symbol: os/signal.signal_recv
>>> referenced by signal_unix.go:23 (/usr/lib/go/src/os/signal/signal_unix.go:23)
>>>               /home/sewn/.cache/tinygo/thinlto/llvmcache-B36A14B3D75DCA16AD65D5B615A6422EA6CEE839:(os/signal.loop)

ld.lld: error: undefined symbol: os/signal.signal_enable
>>> referenced by signal_unix.go:49 (/usr/lib/go/src/os/signal/signal_unix.go:49)
>>>               /home/sewn/.cache/tinygo/thinlto/llvmcache-B36A14B3D75DCA16AD65D5B615A6422EA6CEE839:(os/signal.Notify)

ld.lld: error: undefined symbol: os/signal.signal_disable
>>> referenced by signal_unix.go:53 (/usr/lib/go/src/os/signal/signal_unix.go:53)
>>>               /home/sewn/.cache/tinygo/thinlto/llvmcache-B36A14B3D75DCA16AD65D5B615A6422EA6CEE839:(os/signal.Stop)

ld.lld: error: undefined symbol: os/signal.signalWaitUntilIdle
>>> referenced by signal.go:214 (/usr/lib/go/src/os/signal/signal.go:214)
>>>               /home/sewn/.cache/tinygo/thinlto/llvmcache-B36A14B3D75DCA16AD65D5B615A6422EA6CEE839:(os/signal.Stop)
failed to run tool: ld.lld
error: failed to link /tmp/tinygo3329328202/main: exit status 1
@4xposed
Copy link

4xposed commented Jul 29, 2024

did you manage to work around this? I'm running into the same issue

@aykevl
Copy link
Member

aykevl commented Aug 2, 2024

See #4378 and #4322

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