The issue was caused by PR #36906 which changes prevented the generated shared libraries from being stripped. Since the change is only needed for development (debugging) purposes, it's commented out by default.