Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -fsized-deallocation compile option (#9218) #528

Closed
wants to merge 1 commit into from

Conversation

Atry
Copy link
Contributor

@Atry Atry commented Sep 22, 2022

Summary:
Fb-thrift uses C++17's operator delete, which requires -fsized-deallocation when building c++ source code with clang and libstdc++.

https://github.com/facebook/hhvm/blob/9832791642981d582d0f29c6d89dba2c879cc43d/third-party/thrift/src/thrift/lib/cpp/ContextStack.cpp#L229-L230

X-link: facebook/hhvm#9218

Differential Revision: D39707592

Pulled By: Atry

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D39707592

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D39707592

Summary:
Fb-thrift uses C++17's `operator delete`, which requires `-fsized-deallocation` when building c++ source code with clang and libstdc++.

https://github.com/facebook/hhvm/blob/9832791642981d582d0f29c6d89dba2c879cc43d/third-party/thrift/src/thrift/lib/cpp/ContextStack.cpp#L229-L230

X-link: facebook/hhvm#9218

Reviewed By: vitaut

Differential Revision: D39707592

Pulled By: Atry

fbshipit-source-id: 46e82a2d16ce095ac60b73396a8baa1d54bc57c9
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D39707592

Atry added a commit to Atry/hhvm that referenced this pull request Sep 24, 2022
Summary:
X-link: facebook/fbthrift#528

Fb-thrift uses C++17's `operator delete`, which requires `-fsized-deallocation` when building c++ source code with clang and libstdc++.

https://github.com/facebook/hhvm/blob/9832791642981d582d0f29c6d89dba2c879cc43d/third-party/thrift/src/thrift/lib/cpp/ContextStack.cpp#L229-L230

Pull Request resolved: facebook#9218

Test Plan: Rebase facebook#9129 onto this PR, then there will be no error message about `operator delete`.

Reviewed By: vitaut

Differential Revision: D39707592

Pulled By: Atry

fbshipit-source-id: dd1c0ad0ab438a1340b63b16b683e71fd3eba5c7
facebook-github-bot pushed a commit to facebook/hhvm that referenced this pull request Sep 24, 2022
Summary:
X-link: facebook/fbthrift#528

Fb-thrift uses C++17's `operator delete`, which requires `-fsized-deallocation` when building c++ source code with clang and libstdc++.

https://github.com/facebook/hhvm/blob/9832791642981d582d0f29c6d89dba2c879cc43d/third-party/thrift/src/thrift/lib/cpp/ContextStack.cpp#L229-L230

Pull Request resolved: #9218

Test Plan: Rebase #9129 onto this PR, then there will be no error message about `operator delete`.

Reviewed By: vitaut

Differential Revision: D39707592

Pulled By: Atry

fbshipit-source-id: aeddf5d6b2c8bb8b9d71578fe38f57a1b47f8dc9
@Atry Atry deleted the export-D39707592 branch September 24, 2022 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants