-
Type:
Incident report
-
Resolution: Fixed
-
Priority:
Trivial
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Sprint 98 (Mar 2023)
For the longest time we were using go1.16 to build agent2 rpms on rhel-6, because using any newer version produced the following error.
full error output: cc1: error: unrecognized command line option "-fno-lto"
In Zabbix 6.0.15rc1 and 6.4.1rc1 some new code was added that requires go version 1.17 or higher.
# golang.org/x/sys/unix vendor/golang.org/x/sys/unix/syscall.go:83:16: undefined: unsafe.Slice vendor/golang.org/x/sys/unix/syscall_linux.go:2271:9: undefined: unsafe.Slice vendor/golang.org/x/sys/unix/syscall_unix.go:118:7: undefined: unsafe.Slice vendor/golang.org/x/sys/unix/sysvshm_unix.go:33:7: undefined: unsafe.Slice
Because of this, I am removing support for agent2 on rhel-6 until this issue is resolved in the code.