Comments (29)
for additional context, here is the link to the msg in slack where we started this conversation: https://gophers.slack.com/archives/CDJD3SUP6/p1711334267168799
from tinygo.
I tried reproducing by calling TinyGo build in a loop, but no luck so far. It's gone over 600 iterations. I'll keep trying. The suggestion was to restrict TinyGo build to one CPU using taskset -c 0 tinygo build ..., but right now I'm just trying to get it to fail in a loop without taskset...
However, just in my normal GitHub workflow build, I did get another one:
#14 171.4 /usr/local/bin/tinygo build -target wioterminal -o ../../skeleton-wioterminal.uf2 -stack-size 8kb -size short /tmp/build-770892309.go
#14 174.9 2024/03/26 05:37:41 Error generating UF2s: exit status 1: Basic Block in function '(*github.com/***/dean.mutex).setlock' does not have terminator!
#14 174.9 label %gep.next
#14 174.9 error: verification error after compiling package command-line-arguments
I've noticed that all of the failures I've posted to this Issue are with -target=wioterminal, but I'm pretty sure I've seen if fail with other targets.
from tinygo.
It just hit me. Oddly, this was just after I did "brew upgrade".
Here's the error:
tinygo: "Basic Block in function '(*math/big.nat).sticky' does not have terminator!\nlabel %entry\nBasic Block in function '(*math/big.nat).sticky' does not have terminator!\nlabel %entry\nerror: verification error after compiling package crypto/ecdsa\n": exit status 1
And here's the program I was compiling:
package main
import (
"context"
"fmt"
"github.com/fastly/compute-sdk-go/fsthttp"
)
func main() {
fsthttp.ServeFunc(func(ctx context.Context, w fsthttp.ResponseWriter, r *fsthttp.Request) {
fmt.Fprintf(w, "Hello, %s!\n", r.RemoteAddr)
})
}
Options included -opt=2 -target=wasi -gc=leaking and probably a few others.
from tinygo.
Related Issues (20)
- nrf: writes via `machine.Flash` cause assertion violations with SoftDevice enabled HOT 1
- `wasm-unknown` target doesn't define `memset` or `memcpy` HOT 2
- No support for new ARM softfloat/hardfloat distinction added in Go 1.22 HOT 6
- Bus Error on Raspberry Pi 4 B When Running Linked List Append HOT 1
- Joystick USB HID device - changing identity HOT 2
- Hello, thank you Tinygo. Can I use ESP8266's WiFi now HOT 1
- //go:linkname doesn't work for already defined functions HOT 4
- wasm file generation error: package net/http/httptrace is not in std HOT 3
- esp32-cam support
- Support for RV32IM HOT 4
- don't allocate closure variables if the closure doesn't escape
- Joystick axes reduced by 2 for values of >2 in range -32767..32767 on Windows HOT 1
- esp8266 wifi support HOT 1
- go install failing in go-llvm HOT 1
- Is there a way to unite exported functions under the same object path? HOT 2
- No space between hexadecimal literal and identifier HOT 1
- feature: add support for esp32c3 supermini board HOT 3
- panic: interp: load out of bounds on unsafe.SliceData of zero cap slice
- Flash error on M2 Mac HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinygo.