Backport of gc-7.4 fix for issue #277

Package-Manager: portage-2.2.8-r1