-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Revert "Use llvm-objcopy on Linux x64 (#48444)" #49092
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
Conversation
This reverts commit ba50840.
|
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
|
Would there be any doubt and someone can build the impacted files for me then I can verify the change. |
|
I will check the build artifacts once the build is green. |
|
cc @am11 |
|
It is one of those things, you can't verify locally. e.g. before and after my commit, as well as the master branch, the size of libcoreclr.so on linux-x64 is 6.8M. My guess is that we need to check the dotnet/installer build if we are really using llvm v9x or higher there for linux-x64. |
You should be able to use the docker image used by the CI to exactly replicate what the build does: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-20201227183837-5fe0e50 I do not think that the problem is in dotnet/installer. I see that the dotnet/runtime build is not stripping the .so as before. Let me know if you have are not able to replicate the problem using the docker image above. |
|
I have built current main and this PR on mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-20201227183837-5fe0e50 docker image locally to verify that the problem can be reproduced: Current main: With this revert: |
|
Hello @jkotas! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
|
I haven't tried on that centos docker. I used Ubuntu 20.04 VM for my findings. $ du -b artifacts/bin/coreclr/Linux.x64.Release/libcoreclr.so
7046336 artifacts/bin/coreclr/Linux.x64.Release/libcoreclr.so |
|
@am11 Could you please take a look and re-submit the change with the fix for the size regression? Thank you! |
This reverts commit ba50840.