You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>> Building shared library tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/libL1TriggerRPCTrigger.so
/data/cmsbld/jenkins/workspace/build-any-ib/w/el8_amd64_gcc10/external/gcc/10.3.0-84898dea653199466402e67d73657f10/bin/c++ -O2 -pthread -pipe -Werror=main -Werror=pointer-arith -Werror=overlength-strings -Wno-vla -Werror=overflow -std=c++1z -ftree-vectorize -Wstrict-overflow -Werror=array-bounds -Werror=format-contains-nul -Werror=type-limits -fvisibility-inlines-hidden -fno-math-errno --param vect-max-version-for-alias-checks=50 -Xassembler --compress-debug-sections -msse3 -felide-constructors -fmessage-length=0 -Wall -Wno-non-template-friend -Wno-long-long -Wreturn-type -Wextra -Wpessimizing-move -Wclass-memaccess -Wno-cast-function-type -Wno-unused-but-set-parameter -Wno-ignored-qualifiers -Wno-deprecated-copy -Wno-unused-parameter -Wunused -Wparentheses -Wno-deprecated -Werror=return-type -Werror=missing-braces -Werror=unused-value -Werror=unused-label -Werror=address -Werror=format -Werror=sign-compare -Werror=write-strings -Werror=delete-non-virtual-dtor -Werror=strict-aliasing -Werror=narrowing -Werror=unused-but-set-variable -Werror=reorder -Werror=unused-variable -Werror=conversion-null -Werror=return-local-addr -Wnon-virtual-dtor -Werror=switch -fdiagnostics-show-option -Wno-unused-local-typedefs -Wno-attributes -Wno-psabi -Wno-error=unused-variable -DBOOST_DISABLE_ASSERTS -flto -fipa-icf -flto-odr-type-merging -fno-fat-lto-objects -Wodr -shared -Wl,-E -Wl,-z,defs tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/MuonsGrabber.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/RPCBasicTrigConfig.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/RPCConeBuilderFromES.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/RPCConst.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/RPCFinalSorter.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/RPCHalfSorter.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/RPCLogCone.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/RPCLogHit.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/RPCMuon.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/RPCPac.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/RPCPacBase.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/RPCPacData.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/RPCPacManager.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/RPCPacMuon.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/RPCPacTrigger.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/RPCPatternsParser.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/RPCStripsRing.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/RPCTBGhostBuster.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/RPCTBMuon.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/RPCTCGhostBusterSorter.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/RPCTriggerBoard.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/RPCTriggerConfiguration.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/RPCTriggerCrate.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/TEPatternsGroup.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/TPatternsGroup.cc.o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/TTPatternsGroup.cc.o -o tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/libL1TriggerRPCTrigger.so -Wl,-E -Wl,--hash-style=gnu -L/data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/BUILDROOT/9802c30fc48bdc09db9c7193cb951860/opt/cmssw/el8_amd64_gcc10/cms/cmssw/CMSSW_12_5_LTO_X_2022-07-07-2300/biglib/el8_amd64_gcc10 -L/data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/BUILDROOT/9802c30fc48bdc09db9c7193cb951860/opt/cmssw/el8_amd64_gcc10/cms/cmssw/CMSSW_12_5_LTO_X_2022-07-07-2300/lib/el8_amd64_gcc10 -L/data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/BUILDROOT/9802c30fc48bdc09db9c7193cb951860/opt/cmssw/el8_amd64_gcc10/cms/cmssw/CMSSW_12_5_LTO_X_2022-07-07-2300/external/el8_amd64_gcc10/lib -L/data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/BUILDROOT/9802c30fc48bdc09db9c7193cb951860/opt/cmssw/el8_amd64_gcc10/cms/cmssw/CMSSW_12_5_LTO_X_2022-07-07-2300/static/el8_amd64_gcc10 -lGeometryRPCGeometry -lDataFormatsRPCDigi -lCondFormatsDataRecord -lCondFormatsRPCObjects -lGeometryCommonTopologies -lCondFormatsAlignment -lCondFormatsL1TObjects -lDataFormatsGeometryCommonDetAlgo -lGeometryRecords -lCondFormatsAlignmentRecord -lDataFormatsGeometrySurface -lDataFormatsL1GlobalCaloTrigger -lDataFormatsCLHEP -lDataFormatsEcalDetId -lDataFormatsGeometryVector -lDataFormatsL1CaloTrigger -lDataFormatsL1GlobalTrigger -lDataFormatsMuonDetId -lFWCoreFramework -lDataFormatsDetId -lDataFormatsL1GlobalMuonTrigger -lDataFormatsMath -lFWCoreCommon -lFWCoreServiceRegistry -lDataFormatsCommon -lFWCoreParameterSet -lFWCoreMessageLogger -lDataFormatsProvenance -lFWCorePluginManager -lFWCoreReflection -lCondFormatsSerialization -lFWCoreConcurrency -lFWCoreUtilities -lFWCoreVersion -lUtilitiesXerces -lGenVector -lMathMore -lTree -lNet -lThread -lMathCore -lRIO -lboost_serialization -lCore -lboost_thread -lboost_date_time -lCLHEP -lpcre -lbz2 -lgsl -luuid -ltbb -lxerces-c -llzma -lz -lfmt -lcms-md5 -lopenblas -lcrypt -ldl -lrt -lstdc++fs -ltinyxml2
/data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/BUILDROOT/9802c30fc48bdc09db9c7193cb951860/opt/cmssw/el8_amd64_gcc10/cms/cmssw/CMSSW_12_5_LTO_X_2022-07-07-2300/src/L1Trigger/RPCTrigger/src/MuonsGrabber.cc:26:7: warning: type 'struct XStr' violates the C++ One Definition Rule [-Wodr]
26 | class XStr {
| ^
/data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/BUILDROOT/9802c30fc48bdc09db9c7193cb951860/opt/cmssw/el8_amd64_gcc10/cms/cmssw/CMSSW_12_5_LTO_X_2022-07-07-2300/src/L1Trigger/RPCTrigger/src/RPCPatternsParser.cc:66:7: note: a different type is defined in another translation unit
66 | class XStr {
| ^
/data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/BUILDROOT/9802c30fc48bdc09db9c7193cb951860/opt/cmssw/el8_amd64_gcc10/cms/cmssw/CMSSW_12_5_LTO_X_2022-07-07-2300/src/L1Trigger/RPCTrigger/src/MuonsGrabber.cc:35:10: note: the first difference of corresponding definitions is field 'fUnicodeForm'
35 | XMLCh* fUnicodeForm;
| ^
/data/cmsbld/jenkins/workspace/build-any-ib/w/tmp/BUILDROOT/9802c30fc48bdc09db9c7193cb951860/opt/cmssw/el8_amd64_gcc10/cms/cmssw/CMSSW_12_5_LTO_X_2022-07-07-2300/src/L1Trigger/RPCTrigger/src/RPCPatternsParser.cc:90:10: note: a field with different name is defined in another translation unit
90 | XMLCh* m_fUnicodeForm;
| ^
Copying tmp/el8_amd64_gcc10/src/L1Trigger/RPCTrigger/src/L1TriggerRPCTrigger/libL1TriggerRPCTrigger.so to productstore area:
Leaving library rule at L1Trigger/RPCTrigger
These warnings are present also in other packages, such as reported in #38650 (It seems there are some elements defined multiple times within the same namespace leading to violation of the C++ One Definition Rule) and #38649 (Signed overflow could occur under certain conditions). Could you please have a look at it?
Many thanks,
Andrea.
The text was updated successfully, but these errors were encountered:
-Wstrict-overflow flag is deprecated and we have dropped it (cms-sw/cmsdist#8026). Therefore, warnings at L1Trigger/CSCTrackFinder and L1Trigger/TrackFindingTracklet are already gone. Nevertheless, the warning at L1Trigger/RPCTrigger reporting -Wodr (violation of the One Definition Rule) should be fixed. Could you please have a look at it?
Hello,
We have seen some compiler warnings of the type
-Wodr
and-Wstrict-overflow
in LTO_X IBs (CMSSW_12_5_LTO_X_2022-07-07-1100 and CMSSW_12_5_LTO_X_2022-07-06-1100, for example) in some packages of thel1
category. See sample stack traces:L1Trigger/CSCTrackFinder
reports-Wstrict-overflow
:L1Trigger/TrackFindingTracklet
reports-Wstrict-overflow
:L1Trigger/RPCTrigger
reports-Wodr
:These warnings are present also in other packages, such as reported in #38650 (It seems there are some elements defined multiple times within the same namespace leading to violation of the C++ One Definition Rule) and #38649 (Signed overflow could occur under certain conditions). Could you please have a look at it?
Many thanks,
Andrea.
The text was updated successfully, but these errors were encountered: