-
Notifications
You must be signed in to change notification settings - Fork 185
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
[AArch64] build cmssw aarch64 with -mno-outline-atomics file #7582
Conversation
A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for branch IB/CMSSW_12_3_X/master. @cmsbuild, @smuzaffar, @iarspider can you please review it and eventually sign? Thanks. |
test parameters:
|
please test for slc7_aarch64_gcc11 |
-1 Failed Tests: Build 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: BuildI found compilation error when building: Entering library rule at src/FWCore/Integration/test >> Compiling edm plugin /data/cmsbuild/jenkins_b/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-01-23-2300/src/FWCore/Integration/test/TestHistoryKeeping.cc >> Building edm plugin tmp/slc7_aarch64_gcc11/src/FWCore/Integration/test/TestHistoryKeeping/libTestHistoryKeeping.so Leaving library rule at src/FWCore/Integration/test /bin/sh: line 1: 2956474 Illegal instruction (core dumped) /usr/bin/touch /data/cmsbuild/jenkins_b/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-01-23-2300/tmp/slc7_aarch64_gcc11/cache/edm_edmPluginRefresh gmake: *** [lib/slc7_aarch64_gcc11/TestHistoryKeeping.edmplugin] Error 132 Entering library rule at src/FWCore/Integration/test >> Compiling edm plugin /data/cmsbuild/jenkins_b/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-01-23-2300/src/FWCore/Integration/test/TestInterProcessProd.cc >> Building edm plugin tmp/slc7_aarch64_gcc11/src/FWCore/Integration/test/TestInterProcessProd/libTestInterProcessProd.so Leaving library rule at src/FWCore/Integration/test @@@@ Running edmWriteConfigs for TestInterProcessProd |
Building with |
I thought the point of the outline atomics was to enable use of LSE at runtime, so I expected
Our build machines (at least the ones I'm aware of) have been upgraded to ThunderX2 that support the ARMv8.1 ISA, and since gcc 10.1 have been using the LSE instruction set at runtime. I was wondering if the use of LSE was causing the mysterious failures we've been seeing, so I was hoping that flag would disable LSE. |
This is really weird--/usr/bin/touch crashed? I have no idea how adding that flag could cause that to crash. |
Ah, OK. |
@fwyzard , you can login to those node. I am going to send you the instructions via email |
OK, I guess I misread the GCC's documentation:
So
? |
please test for slc7_aarch64_gcc11 lets re-run the tests |
I think that's correct. We aren't specifying |
correct, we are not setting
but we are currently using olarm-202 only. Let me build all externals and cmssw with |
-1 Failed Tests: UnitTests RelVals RelVals-THREADING 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 TestFWCoreServicesDriver had ERRORS ---> test testFWCoreUtilities had ERRORS RelVals
RelVals-THREADING
|
Well, that kills that theory. Not only does the error reproduce with LSE disabled, but it also shows that the error reproduces in a single-threaded test (which I had not noticed before), which rules out synchronization primitives. |
@dan131riley , yes looks like outline-atomics is not the issue. I have built gcc with outline atomics disabled ( #7593 ) and still the same error ( #7593 (comment) ) |
4b4fa81
to
95f309c
Compare
Pull request #7582 was updated. |
see cms-sw/cmssw#36788