Revert "Issue 1486: cgo: fix C++ dynamic initialization of static variables when using alwayslink = True (#4438)" (#4551) This reverts commit 20f7e2bb45dfbd6630f7ce36ad62cb9001a7e2f5 as it causes a regression (see #4548)