On Mon, Jul 7, 2025 at 8:29 PM Keith Randall <
keith....@gmail.com> wrote:
> I cannot reproduce this problem.
That's most probably my fault as I forgot to add that to reproduce it
must be run on linux/amd64:
https://gitlab.com/cznic/qbecc/-/blob/71e2deb45106854513dd96705046f3d1074658ef/lib/all_test.go#L44
My apologies. If it still doesn't work please let me know. It may be
the case that it depends on something on my machine that I am not
aware of. Wait, I am. The qbecc linker also needs to find
modernc.org/libc in $GOPATH/src:
https://gitlab.com/cznic/qbecc/-/blob/71e2deb45106854513dd96705046f3d1074658ef/lib/link.go#L407
If everything else fails, please find attached the archived files that
should reproduce per se. The log file was created using Go 1.24.4 on
linux/amd64 via `$ go run .`
I am sorry for not having enough patience yesterday to make the
initial report better.
-j
----
Archive content:
jnml@3900x:~/tmp/xorpd$ ls -l
total 52
-rw-r--r-- 1 jnml jnml 540 Jul 7 20:46 go.mod
-rw-r--r-- 1 jnml jnml 3703 Jul 7 20:46 go.sum
-rw-r--r-- 1 jnml jnml 4840 Jul 7 20:47 log-go-run-dot
-rw-r----- 1 jnml jnml 1764 Jul 7 20:45 main0000.c.go
-rw-r--r-- 1 jnml jnml 32330 Jul 7 20:45 main0000.c.s
jnml@3900x:~/tmp/xorpd$