You are not logged in.

#1 2023-08-28 11:09:04

potuz
Member
Registered: 2009-10-23
Posts: 129

[SOLVED] Delve 1.21 is not compatible with go 1.21

Getting this after an update

$ go version
go version go1.21.0 linux/amd64
$ dlv test -- -test.v
2023-08-28T08:07:57-03:00 error layer=debugger could not patch runtime.mallogc: no type entry found, use 'types' for a list of valid types
Version of Delve is too old for Go version 1.21.0 (maximum supported version 1.19, suppress this error with --check-go-version=false)
$ dlv version
Delve Debugger
Version: 1.9.1
Build: $Id: d81b9fd12bfa603f3cf7a4bc842398bd61c42940 $
$ sudo pacman -Qi delve
Name            : delve
Version         : 1.21.0-1
Description     : A debugger for the Go programming language.
Architecture    : x86_64
URL             : https://github.com/go-delve/delve
Licenses        : MIT
Groups          : None
Provides        : None
Depends On      : None
Optional Deps   : debuginfod: debuginfod support [installed]
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 13.54 MiB
Packager        : Morten Linderud <foxboron@archlinux.org>
Build Date      : Sun 02 Jul 2023 07:04:26 AM -03
Install Date    : Mon 28 Aug 2023 08:04:18 AM -03
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

Last edited by potuz (2023-08-28 13:34:44)

Offline

#2 2023-08-28 13:35:03

potuz
Member
Registered: 2009-10-23
Posts: 129

Re: [SOLVED] Delve 1.21 is not compatible with go 1.21

doh! I had an old local version in my home directory lol

Offline

Board footer

Powered by FluxBB