Uh oh!
There was an error while loading. Please reload this page.
Revert "Use llvm-objcopy on Linux x64 (#48444)" - #49092
Conversation
This reverts commit ba50840.
ghost
commented
Mar 3, 2021
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. |
sebastienros
commented
Mar 3, 2021
Would there be any doubt and someone can build the impacted files for me then I can verify the change. |
jkotas
commented
Mar 3, 2021
I will check the build artifacts once the build is green. |
jkotas
commented
Mar 3, 2021
cc @am11 |
am11
commented
Mar 3, 2021
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. |
jkotas
commented
Mar 3, 2021
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. |
jkotas
commented
Mar 4, 2021
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: |
ghost
commented
Mar 4, 2021
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 ( |
am11
commented
Mar 4, 2021
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 |
jkotas
commented
Mar 4, 2021
@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.