Skip to content

Remove __wrap_memcpy compatibility hack#28397

Closed
lidizheng wants to merge 2 commits intogrpc:masterfrom
lidizheng:no-more-wrap-memcpy
Closed

Remove __wrap_memcpy compatibility hack#28397
lidizheng wants to merge 2 commits intogrpc:masterfrom
lidizheng:no-more-wrap-memcpy

Conversation

@lidizheng
Copy link
Copy Markdown
Contributor

@lidizheng lidizheng commented Dec 21, 2021

Parent PR: #28393

Fixes b/211487922 #24028.

The gcc-regression-on-memcpy: https://www.win.tue.nl/~aeb/linux/misc/gcc-semibug.html

As title, this PR removes the compatibility hack for glibc < 2.14. This PR is the updated-with-master-branch version of #23385, which solves the same problem and was blocked by some artifact-building 10 months ago.

This PR might cause breakage for glibc < 2.14 (more than 10 years old). CC @nicolasnoble

prod:grpc/core/experimental/grpc_build_artifacts_multiplatform

@lidizheng lidizheng added lang/core release notes: yes Indicates if PR needs to be in release notes labels Dec 21, 2021
@nicolasnoble
Copy link
Copy Markdown
Contributor

Please don't do this. This will break binary packages built on glibc running on musl libc. Ruby is a prime suspect for this sort of breakage.

@lidizheng
Copy link
Copy Markdown
Contributor Author

Fixed by #28409.

@lidizheng lidizheng closed this Dec 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bloat/none lang/core perf-change/none release notes: yes Indicates if PR needs to be in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants