You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding -lpthread to the link arguments solves this.
Additional Information
Tested on Arch Linux and Debian Buster, both installed a few hours before filing this issue.
Tested on the following Nim versions:
$ nim -v
Nim Compiler Version 1.5.1 [Linux: amd64]
Compiled at 2020-11-19
Copyright (c) 2006-2020 by Andreas Rumpf
git hash: 1bcc3521371ec6a8c136e42d902a0be7c50d9745
active boot switches: -d:release
$ nim -v
Nim Compiler Version 1.4.0 [Linux: amd64]
Compiled at 2020-10-18
Copyright (c) 2006-2020 by Andreas Rumpf
git hash: bdcd87afca238a0a7b2c70971827cf9172817b12
active boot switches: -d:release
The text was updated successfully, but these errors were encountered:
Building DrNim from
devel
andversion-1-4
branches fails on Debian Buster and Arch Linux (did not test others).Example
Current Output
Full link stage output (Debian Buster):
Note the same error occurs on Arch Linux as well.
Expected Output
The build should succeed.
Possible Solution
Adding
-lpthread
to the link arguments solves this.Additional Information
Tested on Arch Linux and Debian Buster, both installed a few hours before filing this issue.
Tested on the following Nim versions:
The text was updated successfully, but these errors were encountered: