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
package main
import "fmt"
import "time"
func main() {
fmt.Printf("The time is %v\n", time.Now())
}
fails to link on 386 and arm, e.g.
GOARCH=386 GOOS=linux tinygo run main.go
tinygo:ld.lld: error: undefined symbol: syscall.seek
With #2571 applied, the program links and seems to produce correct output on Ubuntu amd64 for arm, 386, and native:
$ GOARCH=arm tinygo run main.go
The time is 2022-01-24 08:19:08.892313672 -0800 PST m=+1158.118011446
$ GOARCH=386 tinygo run main.go
The time is 2022-01-24 08:19:42.121299131 -0800 PST m=+1191.347873439
$ tinygo run main.go
The time is 2022-01-24 08:19:58.911269014 -0800 PST m=+1208.138197336
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
With current dev, the test program
fails to link on 386 and arm, e.g.
With #2571 applied, the program links and seems to produce correct output on Ubuntu amd64 for arm, 386, and native:
The text was updated successfully, but these errors were encountered: