I ran into the above mentioned bug while running a program outside of portage's control. The bug has been fixed by upstream. However, since the next release of tcl may be some time away, would it be possible to apply the fix in portage? Reproducible: Always Steps to Reproduce:
Created attachment 239085 [details, diff] Unmodified fix for tcl bug #2918610.
Fixed in 8.5.9