-
Notifications
You must be signed in to change notification settings - Fork 560
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
Fix some build issues with clang in Mingw-w64 #18879
Conversation
MinGW-w64 target triplet is different in GCC and Clang/llvm
Binary stripping is done at linking time
Thank you for this pull request. I suspect that this p.r. may be attempting to do too much and that p.r.s addressing separate problems may be better. Specifically, until we can see the build-time warnings you are getting when compiling with clang on Mingw-w64, we can't evaluate your proposed changes to We keep track of build-time warnings with a GitHub "label" by that name. Can you please open a separate Issue for the build-time warnings, pasting in the relevant parts of the Thank you very much. |
I think you've already opened the issue here #18780 |
As noted in #18780 (comment) today, I tried out your pull request and found that it eliminated the vast majority of build-time warnings discussed in #18780. The warnings it does not eliminate appear to come from files under I'm not in a position to evaluate the mingw-related parts of this pull request. Nor can I say whether this is the best way to eliminate approximately 28,000 build-time warnings; only that is a way to eliminate such warnings. I don't have access to more recent versions of So a qualified +1 to this p.r. |
@Biswa96, can you confirm that the changes in this commit are consistent with your proposed changes to Reference: #18780 Thank you very much. |
@xenu, are you in a position to review the mingw-related parts of this p.r.? Thank you very much. |
Thank you for providing this pull request, which helped focus discussion of the problem of build-time warnings with clang12. In #18984, @tonycoz has provided a more focused version of your patch, which we have applied to blead. That leaves the 3 mingw-focused commits which were part of your p.r. If you would like to pursue those further, please open a new p.r. with just mingw-focused commits. Closing this pull request. Thank you very much. |
utilize @Biswa96's patches from Perl/perl5#18879 fix ExtUtils-CBuilder for clang, by updating dll creation to this century. For now, punt on linker script and just disable it. This may be an issue if some perl module has a ton of input files/libraries. copy clang runtime dlls in addition to gcc's during test, required for taint test, as comment above test-prep-gcc rule indicates.
utilize @Biswa96's patches from Perl/perl5#18879 fix ExtUtils-CBuilder for clang, by updating dll creation to this century. For now, punt on linker script and just disable it. This may be an issue if some perl module has a ton of input files/libraries. copy clang runtime dlls in addition to gcc's during test, required for taint test, as comment above test-prep-gcc rule indicates.
No description provided.