The issue happens at building time of 'go test' for misc/cgo/test, I was expecting 'go test' is powerful enough to skip building a specific case given a negation pattern and without involving tags, but just realized it's a wrong way, 'go test' always builds all dependency stuff.
Now the requirements are:
1. not building Test7978 on arm64 when running the 'dist' test, and
2. minimize the change so that it could be reverted easily when the link issue gets fixed later.
To disable the testing to misc/cgo/test for several 'internal linking' cases on arm64 is an option, but that means other 90 tests are skipped meanwhile.