The first issue there could very well be an incompatibility with the gdb version.
On Thursday, April 25, 2024 at 11:02:00 PM UTC-7 Uli Kunitz wrote: > Hi, > > I have installed Ubuntu 24.04 yesterday and there are two failures running > all.bash compiling go from source. I want to check whether others > experienced the same before creating one or two golang issues. > > git describe --tags returns go1.22.2. > > Here are the relevant pieces of the ouput of all.bash. > > ##### Test execution environment. > # GOARCH: amd64 > # CPU: AMD Ryzen 7 3700X 8-Core Processor > # GOOS: linux > # OS Version: Linux 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat > Apr 20 00:40:06 UTC 2024 x86_64 > ... > --- FAIL: TestGdbAutotmpTypes (2.78s) > runtime-gdb_test.go:81: gdb version 15.0 > runtime-gdb_test.go:590: gdb output: > Loading Go Runtime support. > Target 'exec' cannot support this command. > Breakpoint 1 at 0x465676: file > /tmp/TestGdbAutotmpTypes673135374/001/main.go, line 8. > > This GDB supports auto-downloading debuginfo from the following > URLs: > <https://debuginfod.ubuntu.com> > Enable debuginfod for this session? (y or [n]) [answered N; input > not from terminal] > Debuginfod has been disabled. > To make this setting permanent, add 'set debuginfod enabled off' > to .gdbinit. > [New LWP 203782] > [New LWP 203799] > [New LWP 203800] > > Thread 1 "a.exe" hit Breakpoint 1, main.main () at > /tmp/TestGdbAutotmpTypes673135374/001/main.go:8 > 8 func main() { > 9 var iface interface{} = map[string]astruct{} > All types matching regular expression "astruct": > > File runtime: > []main.astruct > bucket<string,main.astruct> > hash<string,main.astruct> > main.astruct > typedef hash<string,main.astruct> * > map[string]main.astruct; > typedef noalg.[8]main.astruct noalg.[8]main.astruct; > noalg.map.bucket[string]main.astruct > runtime-gdb_test.go:607: could not find []main.astruct; in 'info typrs > astruct' output > FAIL > FAIL runtime 27.315s > ... > CAP_SYS_TIME unexpectedly not in the effective capability mask > --- FAIL: TestAmbientCapsUserns (0.01s) > exec_linux_test.go:752: exit status 2 > FAIL > FAIL syscall 0.948s > ... > FAIL > go tool dist: Failed: exit status 1 > > > > > > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/845c13d0-1c89-48ee-ba25-61964777c887n%40googlegroups.com.