Skip to content
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

[WIP] Fix LTO/PowerPC build issue #8207

Closed
wants to merge 1 commit into from

Conversation

smuzaffar
Copy link
Contributor

No description provided.

@smuzaffar
Copy link
Contributor Author

test parameters:

  • full_cmssw = true

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for branch IB/CMSSW_13_0_X/master.

@cmsbuild, @smuzaffar, @aandvalenzuela, @iarspider can you please review it and eventually sign? Thanks.
@perrotta, @dpiparo, @rappoccio you are the release manager for this.
cms-bot commands are listed here

@smuzaffar
Copy link
Contributor Author

please test for CMSSW_13_0_LTO_X/el8_ppc64le_gcc11

@cmsbuild
Copy link
Contributor

-1

Failed Tests: Build
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-53e1fb/29330/summary.html
COMMIT: 0ea9e5f
CMSSW: CMSSW_13_0_LTO_X_2022-11-28-2300/el8_ppc64le_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmsdist/8207/29330/install.sh to create a dev area with all the needed externals and cmssw changes.

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:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-53e1fb/29330/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-53e1fb/29330/git-merge-result

Build

I found compilation error when building:

>> Compiling  /scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/CMSSW_13_0_LTO_X_2022-11-28-2300/src/RecoLocalCalo/EcalRecAlgos/src/EcalUncalibRecHitTimingCCAlgo.cc
>> Compiling  /scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/CMSSW_13_0_LTO_X_2022-11-28-2300/src/RecoLocalCalo/EcalRecAlgos/src/PulseChiSqSNNLS.cc
>> Compiling  /scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/CMSSW_13_0_LTO_X_2022-11-28-2300/src/RecoLocalCalo/EcalRecAlgos/src/T_EventSetup_SeverityLevelAlgo.cc
>> Compiling  /scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/CMSSW_13_0_LTO_X_2022-11-28-2300/src/RecoLocalCalo/EcalRecAlgos/src/dummyfile.cc
>> Building shared library tmp/el8_ppc64le_gcc11/src/RecoLocalCalo/EcalRecAlgos/src/RecoLocalCaloEcalRecAlgos/libRecoLocalCaloEcalRecAlgos.so
lto1: error: '__builtin_mma_disassemble_acc_internal' requires the '-mmma' option
lto1: fatal error: target specific builtin not available
compilation terminated.
lto-wrapper: fatal error: /scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/el8_ppc64le_gcc11/external/gcc/11.2.1-f9b9dfdd886f71cd63f5538223d8f161/bin/c++ returned 1 exit status
compilation terminated.
/scratch/cmsbuild/jenkins_a/workspace/ib-run-pr-tests/testBuildDir/el8_ppc64le_gcc11/external/gcc/11.2.1-f9b9dfdd886f71cd63f5538223d8f161/bin/../lib/gcc/powerpc64le-redhat-linux-gnu/11.2.1/../../../../powerpc64le-redhat-linux-gnu/bin/ld: error: lto-wrapper failed


@smuzaffar
Copy link
Contributor Author

smuzaffar commented Nov 29, 2022

looks like these flags were not enough to fix ppc64le /lto issue. Now we get buidl error [a] which other has seen too https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102059#c21

[a]

lto1: error: '__builtin_mma_disassemble_acc_internal' requires the '-mmma' option
lto1: fatal error: target specific builtin not available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants