-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
EL9 warning fix: use mallinfo2 for glibc>=2.33 #37768
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37768/29656
|
A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for master. It involves the following packages:
@cmsbuild, @smuzaffar, @Dr15Jones, @makortel can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
please test for el9_amd64_gcc11 |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f6dc13/24390/summary.html Comparison SummarySummary:
|
-1 Failed Tests: UnitTests The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: Unit TestsI found errors in the following unit tests: ---> test test_conddb had ERRORS Comparison SummarySummary:
|
please test for el9_amd64_gcc11 |
@makortel , any objections on this change? This should fix the last remaining warnings for EL9 arch |
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f6dc13/24401/summary.html Comparison SummarySummary:
|
mallinfo
has been deprecated in newer glibc version e.g. forel9
IBs we get build warning [a]. glibc 2.33 and above introducedmallinfo2
which returns the samemallinfo2
struct but with updated typessize_t
instead ofint
(https://man7.org/linux/man-pages/man3/mallinfo.3.html) . This PR proposes to usemallinfo2
for glibc version 2.33 and above.In a separate PR we can also replace
i2str
withstd::to_string()
[a] https://cmssdt.cern.ch/SDT/cgi-bin/buildlogs/el9_amd64_gcc11/CMSSW_12_4_X_2022-05-01-2300/FWCore/Services