kubernetes / minikube

Run Kubernetes locally
https://minikube.sigs.k8s.io/
Apache License 2.0
29.55k stars 4.9k forks source link

Failing to build `docker-machine-driver-kvm2-arm64` on CI infra #19959

Open spowelljr opened 1 week ago

spowelljr commented 1 week ago

Recently, running BUILD_IN_DOCKER=y make out/docker-machine-driver-kvm2-arm64 has failed with the error below. This is blocking all integration testing. The current plan is to disable KVM support on arm64 until this is resolved.

# libvirt.org/go/libvirt
cgo: gcc did not produce error at completed:1
on input:

#line 1 "cgo-builtin-prolog"
#include <stddef.h>

/* Define intgo when compiling with GCC.  */
typedef ptrdiff_t intgo;

#define GO_CGO_GOSTRING_TYPEDEF
typedef struct { const char *p; intgo n; } _GoString_;
typedef struct { char *p; intgo n; intgo c; } _GoBytes_;
_GoString_ GoString(char *p);
_GoString_ GoStringN(char *p, int l);
_GoBytes_ GoBytes(void *p, int n);
char *CString(_GoString_);
void *CBytes(_GoBytes_);
void *_CMalloc(size_t);

__attribute__ ((unused))
static size_t _GoStringLen(_GoString_ s) { return (size_t)s.n; }

__attribute__ ((unused))
static const char *_GoStringPtr(_GoString_ s) { return s.p; }
#line 34 "/go/pkg/mod/libvirt.org/go/libvirt@v1.10009.0/domain_events.go"

#include "domain_events_helper.h"

#line 1 "cgo-generated-wrapper"
#line 1 "not-declared"
void __cgo_f_1_1(void) { __typeof__(GoString) *__cgo_undefined__1; }
#line 1 "not-type"
void __cgo_f_1_2(void) { GoString *__cgo_undefined__2; }
#line 1 "not-int-const"
void __cgo_f_1_3(void) { enum { __cgo_undefined__3 = (GoString)*1 }; }
#line 1 "not-num-const"
void __cgo_f_1_4(void) { static const double __cgo_undefined__4 = (GoString); }
#line 1 "not-str-lit"
void __cgo_f_1_5(void) { static const char __cgo_undefined__5[] = (GoString); }
#line 2 "not-declared"
void __cgo_f_2_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_AGENT_LIFECYCLE) *__cgo_undefined__1; }
#line 2 "not-type"
void __cgo_f_2_2(void) { VIR_DOMAIN_EVENT_ID_AGENT_LIFECYCLE *__cgo_undefined__2; }
#line 2 "not-int-const"
void __cgo_f_2_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_AGENT_LIFECYCLE)*1 }; }
#line 2 "not-num-const"
void __cgo_f_2_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_AGENT_LIFECYCLE); }
#line 2 "not-str-lit"
void __cgo_f_2_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_AGENT_LIFECYCLE); }
#line 3 "not-declared"
void __cgo_f_3_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_BALLOON_CHANGE) *__cgo_undefined__1; }
#line 3 "not-type"
void __cgo_f_3_2(void) { VIR_DOMAIN_EVENT_ID_BALLOON_CHANGE *__cgo_undefined__2; }
#line 3 "not-int-const"
void __cgo_f_3_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_BALLOON_CHANGE)*1 }; }
#line 3 "not-num-const"
void __cgo_f_3_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_BALLOON_CHANGE); }
#line 3 "not-str-lit"
void __cgo_f_3_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_BALLOON_CHANGE); }
#line 4 "not-declared"
void __cgo_f_4_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_BLOCK_JOB) *__cgo_undefined__1; }
#line 4 "not-type"
void __cgo_f_4_2(void) { VIR_DOMAIN_EVENT_ID_BLOCK_JOB *__cgo_undefined__2; }
#line 4 "not-int-const"
void __cgo_f_4_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_BLOCK_JOB)*1 }; }
#line 4 "not-num-const"
void __cgo_f_4_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_BLOCK_JOB); }
#line 4 "not-str-lit"
void __cgo_f_4_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_BLOCK_JOB); }
#line 5 "not-declared"
void __cgo_f_5_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_BLOCK_JOB_2) *__cgo_undefined__1; }
#line 5 "not-type"
void __cgo_f_5_2(void) { VIR_DOMAIN_EVENT_ID_BLOCK_JOB_2 *__cgo_undefined__2; }
#line 5 "not-int-const"
void __cgo_f_5_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_BLOCK_JOB_2)*1 }; }
#line 5 "not-num-const"
void __cgo_f_5_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_BLOCK_JOB_2); }
#line 5 "not-str-lit"
void __cgo_f_5_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_BLOCK_JOB_2); }
#line 6 "not-declared"
void __cgo_f_6_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_BLOCK_THRESHOLD) *__cgo_undefined__1; }
#line 6 "not-type"
void __cgo_f_6_2(void) { VIR_DOMAIN_EVENT_ID_BLOCK_THRESHOLD *__cgo_undefined__2; }
#line 6 "not-int-const"
void __cgo_f_6_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_BLOCK_THRESHOLD)*1 }; }
#line 6 "not-num-const"
void __cgo_f_6_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_BLOCK_THRESHOLD); }
#line 6 "not-str-lit"
void __cgo_f_6_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_BLOCK_THRESHOLD); }
#line 7 "not-declared"
void __cgo_f_7_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_CONTROL_ERROR) *__cgo_undefined__1; }
#line 7 "not-type"
void __cgo_f_7_2(void) { VIR_DOMAIN_EVENT_ID_CONTROL_ERROR *__cgo_undefined__2; }
#line 7 "not-int-const"
void __cgo_f_7_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_CONTROL_ERROR)*1 }; }
#line 7 "not-num-const"
void __cgo_f_7_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_CONTROL_ERROR); }
#line 7 "not-str-lit"
void __cgo_f_7_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_CONTROL_ERROR); }
#line 8 "not-declared"
void __cgo_f_8_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_DEVICE_ADDED) *__cgo_undefined__1; }
#line 8 "not-type"
void __cgo_f_8_2(void) { VIR_DOMAIN_EVENT_ID_DEVICE_ADDED *__cgo_undefined__2; }
#line 8 "not-int-const"
void __cgo_f_8_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_DEVICE_ADDED)*1 }; }
#line 8 "not-num-const"
void __cgo_f_8_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_DEVICE_ADDED); }
#line 8 "not-str-lit"
void __cgo_f_8_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_DEVICE_ADDED); }
#line 9 "not-declared"
void __cgo_f_9_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED) *__cgo_undefined__1; }
#line 9 "not-type"
void __cgo_f_9_2(void) { VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED *__cgo_undefined__2; }
#line 9 "not-int-const"
void __cgo_f_9_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED)*1 }; }
#line 9 "not-num-const"
void __cgo_f_9_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED); }
#line 9 "not-str-lit"
void __cgo_f_9_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED); }
#line 10 "not-declared"
void __cgo_f_10_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_DEVICE_REMOVED) *__cgo_undefined__1; }
#line 10 "not-type"
void __cgo_f_10_2(void) { VIR_DOMAIN_EVENT_ID_DEVICE_REMOVED *__cgo_undefined__2; }
#line 10 "not-int-const"
void __cgo_f_10_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_DEVICE_REMOVED)*1 }; }
#line 10 "not-num-const"
void __cgo_f_10_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_DEVICE_REMOVED); }
#line 10 "not-str-lit"
void __cgo_f_10_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_DEVICE_REMOVED); }
#line 11 "not-declared"
void __cgo_f_11_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_DISK_CHANGE) *__cgo_undefined__1; }
#line 11 "not-type"
void __cgo_f_11_2(void) { VIR_DOMAIN_EVENT_ID_DISK_CHANGE *__cgo_undefined__2; }
#line 11 "not-int-const"
void __cgo_f_11_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_DISK_CHANGE)*1 }; }
#line 11 "not-num-const"
void __cgo_f_11_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_DISK_CHANGE); }
#line 11 "not-str-lit"
void __cgo_f_11_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_DISK_CHANGE); }
#line 12 "not-declared"
void __cgo_f_12_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_GRAPHICS) *__cgo_undefined__1; }
#line 12 "not-type"
void __cgo_f_12_2(void) { VIR_DOMAIN_EVENT_ID_GRAPHICS *__cgo_undefined__2; }
#line 12 "not-int-const"
void __cgo_f_12_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_GRAPHICS)*1 }; }
#line 12 "not-num-const"
void __cgo_f_12_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_GRAPHICS); }
#line 12 "not-str-lit"
void __cgo_f_12_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_GRAPHICS); }
#line 13 "not-declared"
void __cgo_f_13_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_IO_ERROR) *__cgo_undefined__1; }
#line 13 "not-type"
void __cgo_f_13_2(void) { VIR_DOMAIN_EVENT_ID_IO_ERROR *__cgo_undefined__2; }
#line 13 "not-int-const"
void __cgo_f_13_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_IO_ERROR)*1 }; }
#line 13 "not-num-const"
void __cgo_f_13_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_IO_ERROR); }
#line 13 "not-str-lit"
void __cgo_f_13_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_IO_ERROR); }
#line 14 "not-declared"
void __cgo_f_14_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_IO_ERROR_REASON) *__cgo_undefined__1; }
#line 14 "not-type"
void __cgo_f_14_2(void) { VIR_DOMAIN_EVENT_ID_IO_ERROR_REASON *__cgo_undefined__2; }
#line 14 "not-int-const"
void __cgo_f_14_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_IO_ERROR_REASON)*1 }; }
#line 14 "not-num-const"
void __cgo_f_14_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_IO_ERROR_REASON); }
#line 14 "not-str-lit"
void __cgo_f_14_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_IO_ERROR_REASON); }
#line 15 "not-declared"
void __cgo_f_15_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_JOB_COMPLETED) *__cgo_undefined__1; }
#line 15 "not-type"
void __cgo_f_15_2(void) { VIR_DOMAIN_EVENT_ID_JOB_COMPLETED *__cgo_undefined__2; }
#line 15 "not-int-const"
void __cgo_f_15_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_JOB_COMPLETED)*1 }; }
#line 15 "not-num-const"
void __cgo_f_15_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_JOB_COMPLETED); }
#line 15 "not-str-lit"
void __cgo_f_15_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_JOB_COMPLETED); }
#line 16 "not-declared"
void __cgo_f_16_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_LIFECYCLE) *__cgo_undefined__1; }
#line 16 "not-type"
void __cgo_f_16_2(void) { VIR_DOMAIN_EVENT_ID_LIFECYCLE *__cgo_undefined__2; }
#line 16 "not-int-const"
void __cgo_f_16_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_LIFECYCLE)*1 }; }
#line 16 "not-num-const"
void __cgo_f_16_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_LIFECYCLE); }
#line 16 "not-str-lit"
void __cgo_f_16_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_LIFECYCLE); }
#line 17 "not-declared"
void __cgo_f_17_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_METADATA_CHANGE) *__cgo_undefined__1; }
#line 17 "not-type"
void __cgo_f_17_2(void) { VIR_DOMAIN_EVENT_ID_METADATA_CHANGE *__cgo_undefined__2; }
#line 17 "not-int-const"
void __cgo_f_17_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_METADATA_CHANGE)*1 }; }
#line 17 "not-num-const"
void __cgo_f_17_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_METADATA_CHANGE); }
#line 17 "not-str-lit"
void __cgo_f_17_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_METADATA_CHANGE); }
#line 18 "not-declared"
void __cgo_f_18_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION) *__cgo_undefined__1; }
#line 18 "not-type"
void __cgo_f_18_2(void) { VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION *__cgo_undefined__2; }
#line 18 "not-int-const"
void __cgo_f_18_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION)*1 }; }
#line 18 "not-num-const"
void __cgo_f_18_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION); }
#line 18 "not-str-lit"
void __cgo_f_18_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION); }
#line 19 "not-declared"
void __cgo_f_19_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_PMSUSPEND) *__cgo_undefined__1; }
#line 19 "not-type"
void __cgo_f_19_2(void) { VIR_DOMAIN_EVENT_ID_PMSUSPEND *__cgo_undefined__2; }
#line 19 "not-int-const"
void __cgo_f_19_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_PMSUSPEND)*1 }; }
#line 19 "not-num-const"
void __cgo_f_19_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_PMSUSPEND); }
#line 19 "not-str-lit"
void __cgo_f_19_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_PMSUSPEND); }
#line 20 "not-declared"
void __cgo_f_20_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_PMSUSPEND_DISK) *__cgo_undefined__1; }
#line 20 "not-type"
void __cgo_f_20_2(void) { VIR_DOMAIN_EVENT_ID_PMSUSPEND_DISK *__cgo_undefined__2; }
#line 20 "not-int-const"
void __cgo_f_20_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_PMSUSPEND_DISK)*1 }; }
#line 20 "not-num-const"
void __cgo_f_20_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_PMSUSPEND_DISK); }
#line 20 "not-str-lit"
void __cgo_f_20_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_PMSUSPEND_DISK); }
#line 21 "not-declared"
void __cgo_f_21_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_PMWAKEUP) *__cgo_undefined__1; }
#line 21 "not-type"
void __cgo_f_21_2(void) { VIR_DOMAIN_EVENT_ID_PMWAKEUP *__cgo_undefined__2; }
#line 21 "not-int-const"
void __cgo_f_21_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_PMWAKEUP)*1 }; }
#line 21 "not-num-const"
void __cgo_f_21_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_PMWAKEUP); }
#line 21 "not-str-lit"
void __cgo_f_21_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_PMWAKEUP); }
#line 22 "not-declared"
void __cgo_f_22_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_REBOOT) *__cgo_undefined__1; }
#line 22 "not-type"
void __cgo_f_22_2(void) { VIR_DOMAIN_EVENT_ID_REBOOT *__cgo_undefined__2; }
#line 22 "not-int-const"
void __cgo_f_22_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_REBOOT)*1 }; }
#line 22 "not-num-const"
void __cgo_f_22_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_REBOOT); }
#line 22 "not-str-lit"
void __cgo_f_22_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_REBOOT); }
#line 23 "not-declared"
void __cgo_f_23_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_RTC_CHANGE) *__cgo_undefined__1; }
#line 23 "not-type"
void __cgo_f_23_2(void) { VIR_DOMAIN_EVENT_ID_RTC_CHANGE *__cgo_undefined__2; }
#line 23 "not-int-const"
void __cgo_f_23_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_RTC_CHANGE)*1 }; }
#line 23 "not-num-const"
void __cgo_f_23_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_RTC_CHANGE); }
#line 23 "not-str-lit"
void __cgo_f_23_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_RTC_CHANGE); }
#line 24 "not-declared"
void __cgo_f_24_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_TRAY_CHANGE) *__cgo_undefined__1; }
#line 24 "not-type"
void __cgo_f_24_2(void) { VIR_DOMAIN_EVENT_ID_TRAY_CHANGE *__cgo_undefined__2; }
#line 24 "not-int-const"
void __cgo_f_24_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_TRAY_CHANGE)*1 }; }
#line 24 "not-num-const"
void __cgo_f_24_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_TRAY_CHANGE); }
#line 24 "not-str-lit"
void __cgo_f_24_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_TRAY_CHANGE); }
#line 25 "not-declared"
void __cgo_f_25_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_TUNABLE) *__cgo_undefined__1; }
#line 25 "not-type"
void __cgo_f_25_2(void) { VIR_DOMAIN_EVENT_ID_TUNABLE *__cgo_undefined__2; }
#line 25 "not-int-const"
void __cgo_f_25_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_TUNABLE)*1 }; }
#line 25 "not-num-const"
void __cgo_f_25_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_TUNABLE); }
#line 25 "not-str-lit"
void __cgo_f_25_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_TUNABLE); }
#line 26 "not-declared"
void __cgo_f_26_1(void) { __typeof__(VIR_DOMAIN_EVENT_ID_WATCHDOG) *__cgo_undefined__1; }
#line 26 "not-type"
void __cgo_f_26_2(void) { VIR_DOMAIN_EVENT_ID_WATCHDOG *__cgo_undefined__2; }
#line 26 "not-int-const"
void __cgo_f_26_3(void) { enum { __cgo_undefined__3 = (VIR_DOMAIN_EVENT_ID_WATCHDOG)*1 }; }
#line 26 "not-num-const"
void __cgo_f_26_4(void) { static const double __cgo_undefined__4 = (VIR_DOMAIN_EVENT_ID_WATCHDOG); }
#line 26 "not-str-lit"
void __cgo_f_26_5(void) { static const char __cgo_undefined__5[] = (VIR_DOMAIN_EVENT_ID_WATCHDOG); }
#line 27 "not-declared"
void __cgo_f_27_1(void) { __typeof__(_GoString_) *__cgo_undefined__1; }
#line 27 "not-type"
void __cgo_f_27_2(void) { _GoString_ *__cgo_undefined__2; }
#line 27 "not-int-const"
void __cgo_f_27_3(void) { enum { __cgo_undefined__3 = (_GoString_)*1 }; }
#line 27 "not-num-const"
void __cgo_f_27_4(void) { static const double __cgo_undefined__4 = (_GoString_); }
#line 27 "not-str-lit"
void __cgo_f_27_5(void) { static const char __cgo_undefined__5[] = (_GoString_); }
#line 28 "not-declared"
void __cgo_f_28_1(void) { __typeof__(char) *__cgo_undefined__1; }
#line 28 "not-type"
void __cgo_f_28_2(void) { char *__cgo_undefined__2; }
#line 28 "not-int-const"
void __cgo_f_28_3(void) { enum { __cgo_undefined__3 = (char)*1 }; }
#line 28 "not-num-const"
void __cgo_f_28_4(void) { static const double __cgo_undefined__4 = (char); }
#line 28 "not-str-lit"
void __cgo_f_28_5(void) { static const char __cgo_undefined__5[] = (char); }
#line 29 "not-declared"
void __cgo_f_29_1(void) { __typeof__(domainEventAgentLifecycleCallbackHelper) *__cgo_undefined__1; }
#line 29 "not-type"
void __cgo_f_29_2(void) { domainEventAgentLifecycleCallbackHelper *__cgo_undefined__2; }
#line 29 "not-int-const"
void __cgo_f_29_3(void) { enum { __cgo_undefined__3 = (domainEventAgentLifecycleCallbackHelper)*1 }; }
#line 29 "not-num-const"
void __cgo_f_29_4(void) { static const double __cgo_undefined__4 = (domainEventAgentLifecycleCallbackHelper); }
#line 29 "not-str-lit"
void __cgo_f_29_5(void) { static const char __cgo_undefined__5[] = (domainEventAgentLifecycleCallbackHelper); }
#line 30 "not-declared"
void __cgo_f_30_1(void) { __typeof__(domainEventBalloonChangeCallbackHelper) *__cgo_undefined__1; }
#line 30 "not-type"
void __cgo_f_30_2(void) { domainEventBalloonChangeCallbackHelper *__cgo_undefined__2; }
#line 30 "not-int-const"
void __cgo_f_30_3(void) { enum { __cgo_undefined__3 = (domainEventBalloonChangeCallbackHelper)*1 }; }
#line 30 "not-num-const"
void __cgo_f_30_4(void) { static const double __cgo_undefined__4 = (domainEventBalloonChangeCallbackHelper); }
#line 30 "not-str-lit"
void __cgo_f_30_5(void) { static const char __cgo_undefined__5[] = (domainEventBalloonChangeCallbackHelper); }
#line 31 "not-declared"
void __cgo_f_31_1(void) { __typeof__(domainEventBlockJobCallbackHelper) *__cgo_undefined__1; }
#line 31 "not-type"
void __cgo_f_31_2(void) { domainEventBlockJobCallbackHelper *__cgo_undefined__2; }
#line 31 "not-int-const"
void __cgo_f_31_3(void) { enum { __cgo_undefined__3 = (domainEventBlockJobCallbackHelper)*1 }; }
#line 31 "not-num-const"
void __cgo_f_31_4(void) { static const double __cgo_undefined__4 = (domainEventBlockJobCallbackHelper); }
#line 31 "not-str-lit"
void __cgo_f_31_5(void) { static const char __cgo_undefined__5[] = (domainEventBlockJobCallbackHelper); }
#line 32 "not-declared"
void __cgo_f_32_1(void) { __typeof__(domainEventBlockThresholdCallbackHelper) *__cgo_undefined__1; }
#line 32 "not-type"
void __cgo_f_32_2(void) { domainEventBlockThresholdCallbackHelper *__cgo_undefined__2; }
#line 32 "not-int-const"
void __cgo_f_32_3(void) { enum { __cgo_undefined__3 = (domainEventBlockThresholdCallbackHelper)*1 }; }
#line 32 "not-num-const"
void __cgo_f_32_4(void) { static const double __cgo_undefined__4 = (domainEventBlockThresholdCallbackHelper); }
#line 32 "not-str-lit"
void __cgo_f_32_5(void) { static const char __cgo_undefined__5[] = (domainEventBlockThresholdCallbackHelper); }
#line 33 "not-declared"
void __cgo_f_33_1(void) { __typeof__(domainEventDeviceAddedCallbackHelper) *__cgo_undefined__1; }
#line 33 "not-type"
void __cgo_f_33_2(void) { domainEventDeviceAddedCallbackHelper *__cgo_undefined__2; }
#line 33 "not-int-const"
void __cgo_f_33_3(void) { enum { __cgo_undefined__3 = (domainEventDeviceAddedCallbackHelper)*1 }; }
#line 33 "not-num-const"
void __cgo_f_33_4(void) { static const double __cgo_undefined__4 = (domainEventDeviceAddedCallbackHelper); }
#line 33 "not-str-lit"
void __cgo_f_33_5(void) { static const char __cgo_undefined__5[] = (domainEventDeviceAddedCallbackHelper); }
#line 34 "not-declared"
void __cgo_f_34_1(void) { __typeof__(domainEventDeviceRemovalFailedCallbackHelper) *__cgo_undefined__1; }
#line 34 "not-type"
void __cgo_f_34_2(void) { domainEventDeviceRemovalFailedCallbackHelper *__cgo_undefined__2; }
#line 34 "not-int-const"
void __cgo_f_34_3(void) { enum { __cgo_undefined__3 = (domainEventDeviceRemovalFailedCallbackHelper)*1 }; }
#line 34 "not-num-const"
void __cgo_f_34_4(void) { static const double __cgo_undefined__4 = (domainEventDeviceRemovalFailedCallbackHelper); }
#line 34 "not-str-lit"
void __cgo_f_34_5(void) { static const char __cgo_undefined__5[] = (domainEventDeviceRemovalFailedCallbackHelper); }
#line 35 "not-declared"
void __cgo_f_35_1(void) { __typeof__(domainEventDeviceRemovedCallbackHelper) *__cgo_undefined__1; }
#line 35 "not-type"
void __cgo_f_35_2(void) { domainEventDeviceRemovedCallbackHelper *__cgo_undefined__2; }
#line 35 "not-int-const"
void __cgo_f_35_3(void) { enum { __cgo_undefined__3 = (domainEventDeviceRemovedCallbackHelper)*1 }; }
#line 35 "not-num-const"
void __cgo_f_35_4(void) { static const double __cgo_undefined__4 = (domainEventDeviceRemovedCallbackHelper); }
#line 35 "not-str-lit"
void __cgo_f_35_5(void) { static const char __cgo_undefined__5[] = (domainEventDeviceRemovedCallbackHelper); }
#line 36 "not-declared"
void __cgo_f_36_1(void) { __typeof__(domainEventDiskChangeCallbackHelper) *__cgo_undefined__1; }
#line 36 "not-type"
void __cgo_f_36_2(void) { domainEventDiskChangeCallbackHelper *__cgo_undefined__2; }
#line 36 "not-int-const"
void __cgo_f_36_3(void) { enum { __cgo_undefined__3 = (domainEventDiskChangeCallbackHelper)*1 }; }
#line 36 "not-num-const"
void __cgo_f_36_4(void) { static const double __cgo_undefined__4 = (domainEventDiskChangeCallbackHelper); }
#line 36 "not-str-lit"
void __cgo_f_36_5(void) { static const char __cgo_undefined__5[] = (domainEventDiskChangeCallbackHelper); }
#line 37 "not-declared"
void __cgo_f_37_1(void) { __typeof__(domainEventGenericCallbackHelper) *__cgo_undefined__1; }
#line 37 "not-type"
void __cgo_f_37_2(void) { domainEventGenericCallbackHelper *__cgo_undefined__2; }
#line 37 "not-int-const"
void __cgo_f_37_3(void) { enum { __cgo_undefined__3 = (domainEventGenericCallbackHelper)*1 }; }
#line 37 "not-num-const"
void __cgo_f_37_4(void) { static const double __cgo_undefined__4 = (domainEventGenericCallbackHelper); }
#line 37 "not-str-lit"
void __cgo_f_37_5(void) { static const char __cgo_undefined__5[] = (domainEventGenericCallbackHelper); }
#line 38 "not-declared"
void __cgo_f_38_1(void) { __typeof__(domainEventGraphicsCallbackHelper) *__cgo_undefined__1; }
#line 38 "not-type"
void __cgo_f_38_2(void) { domainEventGraphicsCallbackHelper *__cgo_undefined__2; }
#line 38 "not-int-const"
void __cgo_f_38_3(void) { enum { __cgo_undefined__3 = (domainEventGraphicsCallbackHelper)*1 }; }
#line 38 "not-num-const"
void __cgo_f_38_4(void) { static const double __cgo_undefined__4 = (domainEventGraphicsCallbackHelper); }
#line 38 "not-str-lit"
void __cgo_f_38_5(void) { static const char __cgo_undefined__5[] = (domainEventGraphicsCallbackHelper); }
#line 39 "not-declared"
void __cgo_f_39_1(void) { __typeof__(domainEventIOErrorCallbackHelper) *__cgo_undefined__1; }
#line 39 "not-type"
void __cgo_f_39_2(void) { domainEventIOErrorCallbackHelper *__cgo_undefined__2; }
#line 39 "not-int-const"
void __cgo_f_39_3(void) { enum { __cgo_undefined__3 = (domainEventIOErrorCallbackHelper)*1 }; }
#line 39 "not-num-const"
void __cgo_f_39_4(void) { static const double __cgo_undefined__4 = (domainEventIOErrorCallbackHelper); }
#line 39 "not-str-lit"
void __cgo_f_39_5(void) { static const char __cgo_undefined__5[] = (domainEventIOErrorCallbackHelper); }
#line 40 "not-declared"
void __cgo_f_40_1(void) { __typeof__(domainEventIOErrorReasonCallbackHelper) *__cgo_undefined__1; }
#line 40 "not-type"
void __cgo_f_40_2(void) { domainEventIOErrorReasonCallbackHelper *__cgo_undefined__2; }
#line 40 "not-int-const"
void __cgo_f_40_3(void) { enum { __cgo_undefined__3 = (domainEventIOErrorReasonCallbackHelper)*1 }; }
#line 40 "not-num-const"
void __cgo_f_40_4(void) { static const double __cgo_undefined__4 = (domainEventIOErrorReasonCallbackHelper); }
#line 40 "not-str-lit"
void __cgo_f_40_5(void) { static const char __cgo_undefined__5[] = (domainEventIOErrorReasonCallbackHelper); }
#line 41 "not-declared"
void __cgo_f_41_1(void) { __typeof__(domainEventJobCompletedCallbackHelper) *__cgo_undefined__1; }
#line 41 "not-type"
void __cgo_f_41_2(void) { domainEventJobCompletedCallbackHelper *__cgo_undefined__2; }
#line 41 "not-int-const"
void __cgo_f_41_3(void) { enum { __cgo_undefined__3 = (domainEventJobCompletedCallbackHelper)*1 }; }
#line 41 "not-num-const"
void __cgo_f_41_4(void) { static const double __cgo_undefined__4 = (domainEventJobCompletedCallbackHelper); }
#line 41 "not-str-lit"
void __cgo_f_41_5(void) { static const char __cgo_undefined__5[] = (domainEventJobCompletedCallbackHelper); }
#line 42 "not-declared"
void __cgo_f_42_1(void) { __typeof__(domainEventLifecycleCallbackHelper) *__cgo_undefined__1; }
#line 42 "not-type"
void __cgo_f_42_2(void) { domainEventLifecycleCallbackHelper *__cgo_undefined__2; }
#line 42 "not-int-const"
void __cgo_f_42_3(void) { enum { __cgo_undefined__3 = (domainEventLifecycleCallbackHelper)*1 }; }
#line 42 "not-num-const"
void __cgo_f_42_4(void) { static const double __cgo_undefined__4 = (domainEventLifecycleCallbackHelper); }
#line 42 "not-str-lit"
void __cgo_f_42_5(void) { static const char __cgo_undefined__5[] = (domainEventLifecycleCallbackHelper); }
#line 43 "not-declared"
void __cgo_f_43_1(void) { __typeof__(domainEventMemoryDeviceSizeChangeCallbackHelper) *__cgo_undefined__1; }
#line 43 "not-type"
void __cgo_f_43_2(void) { domainEventMemoryDeviceSizeChangeCallbackHelper *__cgo_undefined__2; }
#line 43 "not-int-const"
void __cgo_f_43_3(void) { enum { __cgo_undefined__3 = (domainEventMemoryDeviceSizeChangeCallbackHelper)*1 }; }
#line 43 "not-num-const"
void __cgo_f_43_4(void) { static const double __cgo_undefined__4 = (domainEventMemoryDeviceSizeChangeCallbackHelper); }
#line 43 "not-str-lit"
void __cgo_f_43_5(void) { static const char __cgo_undefined__5[] = (domainEventMemoryDeviceSizeChangeCallbackHelper); }
#line 44 "not-declared"
void __cgo_f_44_1(void) { __typeof__(domainEventMemoryFailureCallbackHelper) *__cgo_undefined__1; }
#line 44 "not-type"
void __cgo_f_44_2(void) { domainEventMemoryFailureCallbackHelper *__cgo_undefined__2; }
#line 44 "not-int-const"
void __cgo_f_44_3(void) { enum { __cgo_undefined__3 = (domainEventMemoryFailureCallbackHelper)*1 }; }
#line 44 "not-num-const"
void __cgo_f_44_4(void) { static const double __cgo_undefined__4 = (domainEventMemoryFailureCallbackHelper); }
#line 44 "not-str-lit"
void __cgo_f_44_5(void) { static const char __cgo_undefined__5[] = (domainEventMemoryFailureCallbackHelper); }
#line 45 "not-declared"
void __cgo_f_45_1(void) { __typeof__(domainEventMetadataChangeCallbackHelper) *__cgo_undefined__1; }
#line 45 "not-type"
void __cgo_f_45_2(void) { domainEventMetadataChangeCallbackHelper *__cgo_undefined__2; }
#line 45 "not-int-const"
void __cgo_f_45_3(void) { enum { __cgo_undefined__3 = (domainEventMetadataChangeCallbackHelper)*1 }; }
#line 45 "not-num-const"
void __cgo_f_45_4(void) { static const double __cgo_undefined__4 = (domainEventMetadataChangeCallbackHelper); }
#line 45 "not-str-lit"
void __cgo_f_45_5(void) { static const char __cgo_undefined__5[] = (domainEventMetadataChangeCallbackHelper); }
#line 46 "not-declared"
void __cgo_f_46_1(void) { __typeof__(domainEventMigrationIterationCallbackHelper) *__cgo_undefined__1; }
#line 46 "not-type"
void __cgo_f_46_2(void) { domainEventMigrationIterationCallbackHelper *__cgo_undefined__2; }
#line 46 "not-int-const"
void __cgo_f_46_3(void) { enum { __cgo_undefined__3 = (domainEventMigrationIterationCallbackHelper)*1 }; }
#line 46 "not-num-const"
void __cgo_f_46_4(void) { static const double __cgo_undefined__4 = (domainEventMigrationIterationCallbackHelper); }
#line 46 "not-str-lit"
void __cgo_f_46_5(void) { static const char __cgo_undefined__5[] = (domainEventMigrationIterationCallbackHelper); }
#line 47 "not-declared"
void __cgo_f_47_1(void) { __typeof__(domainEventPMSuspendCallbackHelper) *__cgo_undefined__1; }
#line 47 "not-type"
void __cgo_f_47_2(void) { domainEventPMSuspendCallbackHelper *__cgo_undefined__2; }
#line 47 "not-int-const"
void __cgo_f_47_3(void) { enum { __cgo_undefined__3 = (domainEventPMSuspendCallbackHelper)*1 }; }
#line 47 "not-num-const"
void __cgo_f_47_4(void) { static const double __cgo_undefined__4 = (domainEventPMSuspendCallbackHelper); }
#line 47 "not-str-lit"
void __cgo_f_47_5(void) { static const char __cgo_undefined__5[] = (domainEventPMSuspendCallbackHelper); }
#line 48 "not-declared"
void __cgo_f_48_1(void) { __typeof__(domainEventPMSuspendDiskCallbackHelper) *__cgo_undefined__1; }
#line 48 "not-type"
void __cgo_f_48_2(void) { domainEventPMSuspendDiskCallbackHelper *__cgo_undefined__2; }
#line 48 "not-int-const"
void __cgo_f_48_3(void) { enum { __cgo_undefined__3 = (domainEventPMSuspendDiskCallbackHelper)*1 }; }
#line 48 "not-num-const"
void __cgo_f_48_4(void) { static const double __cgo_undefined__4 = (domainEventPMSuspendDiskCallbackHelper); }
#line 48 "not-str-lit"
void __cgo_f_48_5(void) { static const char __cgo_undefined__5[] = (domainEventPMSuspendDiskCallbackHelper); }
#line 49 "not-declared"
void __cgo_f_49_1(void) { __typeof__(domainEventPMWakeupCallbackHelper) *__cgo_undefined__1; }
#line 49 "not-type"
void __cgo_f_49_2(void) { domainEventPMWakeupCallbackHelper *__cgo_undefined__2; }
#line 49 "not-int-const"
void __cgo_f_49_3(void) { enum { __cgo_undefined__3 = (domainEventPMWakeupCallbackHelper)*1 }; }
#line 49 "not-num-const"
void __cgo_f_49_4(void) { static const double __cgo_undefined__4 = (domainEventPMWakeupCallbackHelper); }
#line 49 "not-str-lit"
void __cgo_f_49_5(void) { static const char __cgo_undefined__5[] = (domainEventPMWakeupCallbackHelper); }
#line 50 "not-declared"
void __cgo_f_50_1(void) { __typeof__(domainEventRTCChangeCallbackHelper) *__cgo_undefined__1; }
#line 50 "not-type"
void __cgo_f_50_2(void) { domainEventRTCChangeCallbackHelper *__cgo_undefined__2; }
#line 50 "not-int-const"
void __cgo_f_50_3(void) { enum { __cgo_undefined__3 = (domainEventRTCChangeCallbackHelper)*1 }; }
#line 50 "not-num-const"
void __cgo_f_50_4(void) { static const double __cgo_undefined__4 = (domainEventRTCChangeCallbackHelper); }
#line 50 "not-str-lit"
void __cgo_f_50_5(void) { static const char __cgo_undefined__5[] = (domainEventRTCChangeCallbackHelper); }
#line 51 "not-declared"
void __cgo_f_51_1(void) { __typeof__(domainEventTrayChangeCallbackHelper) *__cgo_undefined__1; }
#line 51 "not-type"
void __cgo_f_51_2(void) { domainEventTrayChangeCallbackHelper *__cgo_undefined__2; }
#line 51 "not-int-const"
void __cgo_f_51_3(void) { enum { __cgo_undefined__3 = (domainEventTrayChangeCallbackHelper)*1 }; }
#line 51 "not-num-const"
void __cgo_f_51_4(void) { static const double __cgo_undefined__4 = (domainEventTrayChangeCallbackHelper); }
#line 51 "not-str-lit"
void __cgo_f_51_5(void) { static const char __cgo_undefined__5[] = (domainEventTrayChangeCallbackHelper); }
#line 52 "not-declared"
void __cgo_f_52_1(void) { __typeof__(domainEventTunableCallbackHelper) *__cgo_undefined__1; }
#line 52 "not-type"
void __cgo_f_52_2(void) { domainEventTunableCallbackHelper *__cgo_undefined__2; }
#line 52 "not-int-const"
void __cgo_f_52_3(void) { enum { __cgo_undefined__3 = (domainEventTunableCallbackHelper)*1 }; }
#line 52 "not-num-const"
void __cgo_f_52_4(void) { static const double __cgo_undefined__4 = (domainEventTunableCallbackHelper); }
#line 52 "not-str-lit"
void __cgo_f_52_5(void) { static const char __cgo_undefined__5[] = (domainEventTunableCallbackHelper); }
#line 53 "not-declared"
void __cgo_f_53_1(void) { __typeof__(domainEventWatchdogCallbackHelper) *__cgo_undefined__1; }
#line 53 "not-type"
void __cgo_f_53_2(void) { domainEventWatchdogCallbackHelper *__cgo_undefined__2; }
#line 53 "not-int-const"
void __cgo_f_53_3(void) { enum { __cgo_undefined__3 = (domainEventWatchdogCallbackHelper)*1 }; }
#line 53 "not-num-const"
void __cgo_f_53_4(void) { static const double __cgo_undefined__4 = (domainEventWatchdogCallbackHelper); }
#line 53 "not-str-lit"
void __cgo_f_53_5(void) { static const char __cgo_undefined__5[] = (domainEventWatchdogCallbackHelper); }
#line 54 "not-declared"
void __cgo_f_54_1(void) { __typeof__(int) *__cgo_undefined__1; }
#line 54 "not-type"
void __cgo_f_54_2(void) { int *__cgo_undefined__2; }
#line 54 "not-int-const"
void __cgo_f_54_3(void) { enum { __cgo_undefined__3 = (int)*1 }; }
#line 54 "not-num-const"
void __cgo_f_54_4(void) { static const double __cgo_undefined__4 = (int); }
#line 54 "not-str-lit"
void __cgo_f_54_5(void) { static const char __cgo_undefined__5[] = (int); }
#line 55 "not-declared"
void __cgo_f_55_1(void) { __typeof__(intgo) *__cgo_undefined__1; }
#line 55 "not-type"
void __cgo_f_55_2(void) { intgo *__cgo_undefined__2; }
#line 55 "not-int-const"
void __cgo_f_55_3(void) { enum { __cgo_undefined__3 = (intgo)*1 }; }
#line 55 "not-num-const"
void __cgo_f_55_4(void) { static const double __cgo_undefined__4 = (intgo); }
#line 55 "not-str-lit"
void __cgo_f_55_5(void) { static const char __cgo_undefined__5[] = (intgo); }
#line 56 "not-declared"
void __cgo_f_56_1(void) { __typeof__(long) *__cgo_undefined__1; }
#line 56 "not-type"
void __cgo_f_56_2(void) { long *__cgo_undefined__2; }
#line 56 "not-int-const"
void __cgo_f_56_3(void) { enum { __cgo_undefined__3 = (long)*1 }; }
#line 56 "not-num-const"
void __cgo_f_56_4(void) { static const double __cgo_undefined__4 = (long); }
#line 56 "not-str-lit"
void __cgo_f_56_5(void) { static const char __cgo_undefined__5[] = (long); }
#line 57 "not-declared"
void __cgo_f_57_1(void) { __typeof__(ptrdiff_t) *__cgo_undefined__1; }
#line 57 "not-type"
void __cgo_f_57_2(void) { ptrdiff_t *__cgo_undefined__2; }
#line 57 "not-int-const"
void __cgo_f_57_3(void) { enum { __cgo_undefined__3 = (ptrdiff_t)*1 }; }
#line 57 "not-num-const"
void __cgo_f_57_4(void) { static const double __cgo_undefined__4 = (ptrdiff_t); }
#line 57 "not-str-lit"
void __cgo_f_57_5(void) { static const char __cgo_undefined__5[] = (ptrdiff_t); }
#line 58 "not-declared"
void __cgo_f_58_1(void) { __typeof__(unsigned int) *__cgo_undefined__1; }
#line 58 "not-type"
void __cgo_f_58_2(void) { unsigned int *__cgo_undefined__2; }
#line 58 "not-int-const"
void __cgo_f_58_3(void) { enum { __cgo_undefined__3 = (unsigned int)*1 }; }
#line 58 "not-num-const"
void __cgo_f_58_4(void) { static const double __cgo_undefined__4 = (unsigned int); }
#line 58 "not-str-lit"
void __cgo_f_58_5(void) { static const char __cgo_undefined__5[] = (unsigned int); }
#line 59 "not-declared"
void __cgo_f_59_1(void) { __typeof__(unsigned long long) *__cgo_undefined__1; }
#line 59 "not-type"
void __cgo_f_59_2(void) { unsigned long long *__cgo_undefined__2; }
#line 59 "not-int-const"
void __cgo_f_59_3(void) { enum { __cgo_undefined__3 = (unsigned long long)*1 }; }
#line 59 "not-num-const"
void __cgo_f_59_4(void) { static const double __cgo_undefined__4 = (unsigned long long); }
#line 59 "not-str-lit"
void __cgo_f_59_5(void) { static const char __cgo_undefined__5[] = (unsigned long long); }
#line 60 "not-declared"
void __cgo_f_60_1(void) { __typeof__(virConnect) *__cgo_undefined__1; }
#line 60 "not-type"
void __cgo_f_60_2(void) { virConnect *__cgo_undefined__2; }
#line 60 "not-int-const"
void __cgo_f_60_3(void) { enum { __cgo_undefined__3 = (virConnect)*1 }; }
#line 60 "not-num-const"
void __cgo_f_60_4(void) { static const double __cgo_undefined__4 = (virConnect); }
#line 60 "not-str-lit"
void __cgo_f_60_5(void) { static const char __cgo_undefined__5[] = (virConnect); }
#line 61 "not-declared"
void __cgo_f_61_1(void) { __typeof__(virConnectDomainEventDeregisterAnyWrapper) *__cgo_undefined__1; }
#line 61 "not-type"
void __cgo_f_61_2(void) { virConnectDomainEventDeregisterAnyWrapper *__cgo_undefined__2; }
#line 61 "not-int-const"
void __cgo_f_61_3(void) { enum { __cgo_undefined__3 = (virConnectDomainEventDeregisterAnyWrapper)*1 }; }
#line 61 "not-num-const"
void __cgo_f_61_4(void) { static const double __cgo_undefined__4 = (virConnectDomainEventDeregisterAnyWrapper); }
#line 61 "not-str-lit"
void __cgo_f_61_5(void) { static const char __cgo_undefined__5[] = (virConnectDomainEventDeregisterAnyWrapper); }
#line 62 "not-declared"
void __cgo_f_62_1(void) { __typeof__(virConnectDomainEventGenericCallback) *__cgo_undefined__1; }
#line 62 "not-type"
void __cgo_f_62_2(void) { virConnectDomainEventGenericCallback *__cgo_undefined__2; }
#line 62 "not-int-const"
void __cgo_f_62_3(void) { enum { __cgo_undefined__3 = (virConnectDomainEventGenericCallback)*1 }; }
#line 62 "not-num-const"
void __cgo_f_62_4(void) { static const double __cgo_undefined__4 = (virConnectDomainEventGenericCallback); }
#line 62 "not-str-lit"
void __cgo_f_62_5(void) { static const char __cgo_undefined__5[] = (virConnectDomainEventGenericCallback); }
#line 63 "not-declared"
void __cgo_f_63_1(void) { __typeof__(virConnectDomainEventRegisterAnyHelper) *__cgo_undefined__1; }
#line 63 "not-type"
void __cgo_f_63_2(void) { virConnectDomainEventRegisterAnyHelper *__cgo_undefined__2; }
#line 63 "not-int-const"
void __cgo_f_63_3(void) { enum { __cgo_undefined__3 = (virConnectDomainEventRegisterAnyHelper)*1 }; }
#line 63 "not-num-const"
void __cgo_f_63_4(void) { static const double __cgo_undefined__4 = (virConnectDomainEventRegisterAnyHelper); }
#line 63 "not-str-lit"
void __cgo_f_63_5(void) { static const char __cgo_undefined__5[] = (virConnectDomainEventRegisterAnyHelper); }
#line 64 "not-declared"
void __cgo_f_64_1(void) { __typeof__(virConnectPtr) *__cgo_undefined__1; }
#line 64 "not-type"
void __cgo_f_64_2(void) { virConnectPtr *__cgo_undefined__2; }
#line 64 "not-int-const"
void __cgo_f_64_3(void) { enum { __cgo_undefined__3 = (virConnectPtr)*1 }; }
#line 64 "not-num-const"
void __cgo_f_64_4(void) { static const double __cgo_undefined__4 = (virConnectPtr); }
#line 64 "not-str-lit"
void __cgo_f_64_5(void) { static const char __cgo_undefined__5[] = (virConnectPtr); }
#line 65 "not-declared"
void __cgo_f_65_1(void) { __typeof__(virDomain) *__cgo_undefined__1; }
#line 65 "not-type"
void __cgo_f_65_2(void) { virDomain *__cgo_undefined__2; }
#line 65 "not-int-const"
void __cgo_f_65_3(void) { enum { __cgo_undefined__3 = (virDomain)*1 }; }
#line 65 "not-num-const"
void __cgo_f_65_4(void) { static const double __cgo_undefined__4 = (virDomain); }
#line 65 "not-str-lit"
void __cgo_f_65_5(void) { static const char __cgo_undefined__5[] = (virDomain); }
#line 66 "not-declared"
void __cgo_f_66_1(void) { __typeof__(virDomainEventGraphicsAddress) *__cgo_undefined__1; }
#line 66 "not-type"
void __cgo_f_66_2(void) { virDomainEventGraphicsAddress *__cgo_undefined__2; }
#line 66 "not-int-const"
void __cgo_f_66_3(void) { enum { __cgo_undefined__3 = (virDomainEventGraphicsAddress)*1 }; }
#line 66 "not-num-const"
void __cgo_f_66_4(void) { static const double __cgo_undefined__4 = (virDomainEventGraphicsAddress); }
#line 66 "not-str-lit"
void __cgo_f_66_5(void) { static const char __cgo_undefined__5[] = (virDomainEventGraphicsAddress); }
#line 67 "not-declared"
void __cgo_f_67_1(void) { __typeof__(virDomainEventGraphicsAddressPtr) *__cgo_undefined__1; }
#line 67 "not-type"
void __cgo_f_67_2(void) { virDomainEventGraphicsAddressPtr *__cgo_undefined__2; }
#line 67 "not-int-const"
void __cgo_f_67_3(void) { enum { __cgo_undefined__3 = (virDomainEventGraphicsAddressPtr)*1 }; }
#line 67 "not-num-const"
void __cgo_f_67_4(void) { static const double __cgo_undefined__4 = (virDomainEventGraphicsAddressPtr); }
#line 67 "not-str-lit"
void __cgo_f_67_5(void) { static const char __cgo_undefined__5[] = (virDomainEventGraphicsAddressPtr); }
#line 68 "not-declared"
void __cgo_f_68_1(void) { __typeof__(virDomainEventGraphicsSubject) *__cgo_undefined__1; }
#line 68 "not-type"
void __cgo_f_68_2(void) { virDomainEventGraphicsSubject *__cgo_undefined__2; }
#line 68 "not-int-const"
void __cgo_f_68_3(void) { enum { __cgo_undefined__3 = (virDomainEventGraphicsSubject)*1 }; }
#line 68 "not-num-const"
void __cgo_f_68_4(void) { static const double __cgo_undefined__4 = (virDomainEventGraphicsSubject); }
#line 68 "not-str-lit"
void __cgo_f_68_5(void) { static const char __cgo_undefined__5[] = (virDomainEventGraphicsSubject); }
#line 69 "not-declared"
void __cgo_f_69_1(void) { __typeof__(virDomainEventGraphicsSubjectIdentity) *__cgo_undefined__1; }
#line 69 "not-type"
void __cgo_f_69_2(void) { virDomainEventGraphicsSubjectIdentity *__cgo_undefined__2; }
#line 69 "not-int-const"
void __cgo_f_69_3(void) { enum { __cgo_undefined__3 = (virDomainEventGraphicsSubjectIdentity)*1 }; }
#line 69 "not-num-const"
void __cgo_f_69_4(void) { static const double __cgo_undefined__4 = (virDomainEventGraphicsSubjectIdentity); }
#line 69 "not-str-lit"
void __cgo_f_69_5(void) { static const char __cgo_undefined__5[] = (virDomainEventGraphicsSubjectIdentity); }
#line 70 "not-declared"
void __cgo_f_70_1(void) { __typeof__(virDomainEventGraphicsSubjectIdentityPtr) *__cgo_undefined__1; }
#line 70 "not-type"
void __cgo_f_70_2(void) { virDomainEventGraphicsSubjectIdentityPtr *__cgo_undefined__2; }
#line 70 "not-int-const"
void __cgo_f_70_3(void) { enum { __cgo_undefined__3 = (virDomainEventGraphicsSubjectIdentityPtr)*1 }; }
#line 70 "not-num-const"
void __cgo_f_70_4(void) { static const double __cgo_undefined__4 = (virDomainEventGraphicsSubjectIdentityPtr); }
#line 70 "not-str-lit"
void __cgo_f_70_5(void) { static const char __cgo_undefined__5[] = (virDomainEventGraphicsSubjectIdentityPtr); }
#line 71 "not-declared"
void __cgo_f_71_1(void) { __typeof__(virDomainEventGraphicsSubjectPtr) *__cgo_undefined__1; }
#line 71 "not-type"
void __cgo_f_71_2(void) { virDomainEventGraphicsSubjectPtr *__cgo_undefined__2; }
#line 71 "not-int-const"
void __cgo_f_71_3(void) { enum { __cgo_undefined__3 = (virDomainEventGraphicsSubjectPtr)*1 }; }
#line 71 "not-num-const"
void __cgo_f_71_4(void) { static const double __cgo_undefined__4 = (virDomainEventGraphicsSubjectPtr); }
#line 71 "not-str-lit"
void __cgo_f_71_5(void) { static const char __cgo_undefined__5[] = (virDomainEventGraphicsSubjectPtr); }
#line 72 "not-declared"
void __cgo_f_72_1(void) { __typeof__(virDomainPtr) *__cgo_undefined__1; }
#line 72 "not-type"
void __cgo_f_72_2(void) { virDomainPtr *__cgo_undefined__2; }
#line 72 "not-int-const"
void __cgo_f_72_3(void) { enum { __cgo_undefined__3 = (virDomainPtr)*1 }; }
#line 72 "not-num-const"
void __cgo_f_72_4(void) { static const double __cgo_undefined__4 = (virDomainPtr); }
#line 72 "not-str-lit"
void __cgo_f_72_5(void) { static const char __cgo_undefined__5[] = (virDomainPtr); }
#line 73 "not-declared"
void __cgo_f_73_1(void) { __typeof__(virError) *__cgo_undefined__1; }
#line 73 "not-type"
void __cgo_f_73_2(void) { virError *__cgo_undefined__2; }
#line 73 "not-int-const"
void __cgo_f_73_3(void) { enum { __cgo_undefined__3 = (virError)*1 }; }
#line 73 "not-num-const"
void __cgo_f_73_4(void) { static const double __cgo_undefined__4 = (virError); }
#line 73 "not-str-lit"
void __cgo_f_73_5(void) { static const char __cgo_undefined__5[] = (virError); }
#line 74 "not-declared"
void __cgo_f_74_1(void) { __typeof__(virErrorLevel) *__cgo_undefined__1; }
#line 74 "not-type"
void __cgo_f_74_2(void) { virErrorLevel *__cgo_undefined__2; }
#line 74 "not-int-const"
void __cgo_f_74_3(void) { enum { __cgo_undefined__3 = (virErrorLevel)*1 }; }
#line 74 "not-num-const"
void __cgo_f_74_4(void) { static const double __cgo_undefined__4 = (virErrorLevel); }
#line 74 "not-str-lit"
void __cgo_f_74_5(void) { static const char __cgo_undefined__5[] = (virErrorLevel); }
#line 75 "not-declared"
void __cgo_f_75_1(void) { __typeof__(virErrorPtr) *__cgo_undefined__1; }
#line 75 "not-type"
void __cgo_f_75_2(void) { virErrorPtr *__cgo_undefined__2; }
#line 75 "not-int-const"
void __cgo_f_75_3(void) { enum { __cgo_undefined__3 = (virErrorPtr)*1 }; }
#line 75 "not-num-const"
void __cgo_f_75_4(void) { static const double __cgo_undefined__4 = (virErrorPtr); }
#line 75 "not-str-lit"
void __cgo_f_75_5(void) { static const char __cgo_undefined__5[] = (virErrorPtr); }
#line 76 "not-declared"
void __cgo_f_76_1(void) { __typeof__(virNetwork) *__cgo_undefined__1; }
#line 76 "not-type"
void __cgo_f_76_2(void) { virNetwork *__cgo_undefined__2; }
#line 76 "not-int-const"
void __cgo_f_76_3(void) { enum { __cgo_undefined__3 = (virNetwork)*1 }; }
#line 76 "not-num-const"
void __cgo_f_76_4(void) { static const double __cgo_undefined__4 = (virNetwork); }
#line 76 "not-str-lit"
void __cgo_f_76_5(void) { static const char __cgo_undefined__5[] = (virNetwork); }
#line 77 "not-declared"
void __cgo_f_77_1(void) { __typeof__(virNetworkPtr) *__cgo_undefined__1; }
#line 77 "not-type"
void __cgo_f_77_2(void) { virNetworkPtr *__cgo_undefined__2; }
#line 77 "not-int-const"
void __cgo_f_77_3(void) { enum { __cgo_undefined__3 = (virNetworkPtr)*1 }; }
#line 77 "not-num-const"
void __cgo_f_77_4(void) { static const double __cgo_undefined__4 = (virNetworkPtr); }
#line 77 "not-str-lit"
void __cgo_f_77_5(void) { static const char __cgo_undefined__5[] = (virNetworkPtr); }
#line 78 "not-declared"
void __cgo_f_78_1(void) { __typeof__(virTypedParameter) *__cgo_undefined__1; }
#line 78 "not-type"
void __cgo_f_78_2(void) { virTypedParameter *__cgo_undefined__2; }
#line 78 "not-int-const"
void __cgo_f_78_3(void) { enum { __cgo_undefined__3 = (virTypedParameter)*1 }; }
#line 78 "not-num-const"
void __cgo_f_78_4(void) { static const double __cgo_undefined__4 = (virTypedParameter); }
#line 78 "not-str-lit"
void __cgo_f_78_5(void) { static const char __cgo_undefined__5[] = (virTypedParameter); }
#line 79 "not-declared"
void __cgo_f_79_1(void) { __typeof__(virTypedParameterPtr) *__cgo_undefined__1; }
#line 79 "not-type"
void __cgo_f_79_2(void) { virTypedParameterPtr *__cgo_undefined__2; }
#line 79 "not-int-const"
void __cgo_f_79_3(void) { enum { __cgo_undefined__3 = (virTypedParameterPtr)*1 }; }
#line 79 "not-num-const"
void __cgo_f_79_4(void) { static const double __cgo_undefined__4 = (virTypedParameterPtr); }
#line 79 "not-str-lit"
void __cgo_f_79_5(void) { static const char __cgo_undefined__5[] = (virTypedParameterPtr); }
#line 1 "completed"
int __cgo__1 = __cgo__2;

full error output:
gcc: internal compiler error: Segmentation fault signal terminated program cc1
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-9/README.Bugs> for instructions.
afbjorklund commented 22 hours ago

I think you need to build this on a real ARM machine (or cross-compile), instead of using docker and qemu.

$ arch
aarch64
$ BUILD_IN_DOCKER=n make out/docker-machine-driver-kvm2-arm64
GOARCH=arm64 \
go build \
    -buildvcs=false \
    -installsuffix "static" \
    -ldflags="-X k8s.io/minikube/pkg/drivers/kvm.version=v1.34.0 -X k8s.io/minikube/pkg/drivers/kvm.gitCommitID="5ef41d2dc83b805dcb173a98efd21cbb63f0b795"" \
    -tags "libvirt_without_lxc" \
    -o out/docker-machine-driver-kvm2-arm64 \
    k8s.io/minikube/cmd/drivers/kvm
chmod +X out/docker-machine-driver-kvm2-arm64

It should be mostly about setting the CC compiler (to aarch64-linux-gnu-gcc) and installing packages?

/usr/local/go/pkg/tool/linux_amd64/link: running aarch64-linux-gnu-gcc failed: exit status 1
/usr/lib/gcc-cross/aarch64-linux-gnu/9/../../../../aarch64-linux-gnu/bin/ld: cannot find -lvirt-qemu
/usr/lib/gcc-cross/aarch64-linux-gnu/9/../../../../aarch64-linux-gnu/bin/ld: cannot find -lvirt-qemu
/usr/lib/gcc-cross/aarch64-linux-gnu/9/../../../../aarch64-linux-gnu/bin/ld: cannot find -lvirt-qemu
/usr/lib/gcc-cross/aarch64-linux-gnu/9/../../../../aarch64-linux-gnu/bin/ld: cannot find -lvirt
collect2: error: ld returned 1 exit status