<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>32853</bug_id>
          
          <creation_ts>2016-12-06 22:56:02 +0300</creation_ts>
          <short_desc>verfiy-elf no longer reports unresolved symbols as errors if an .so is made PIE</short_desc>
          <delta_ts>2016-12-07 14:31:39 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>rpm-build</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Ivan Zakharyaschev">imz</assigned_to>
          <cc>arseny</cc>
    
    <cc>glebfm</cc>
    
    <cc>imz</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>160510</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2016-12-06 22:56:02 +0300</bug_when>
    <thetext>rpm-build-4.0.4-alt100.96

verfiy-elf no longer reports unresolved symbols as errors if an .so is made PIE.

Example: http://git.altlinux.org/people/imz/packages/lmms.git
Branch: test-verify-PIE
Two tags: test-verify-PIE , verify+PIE-WARN


$ git --no-pager diff verify-ERR..verify+PIE-WARN
diff --git a/.gear/lmms.spec b/.gear/lmms.spec
index 3b78a86..06c0f8e 100644
--- a/.gear/lmms.spec
+++ b/.gear/lmms.spec
@@ -17,8 +17,6 @@ BuildPreReq: rpm-build-lmms libfltk-devel
 # Automatically added by buildreq on Sun Mar 27 2011
 BuildRequires: cmake gcc-c++ libSDL-devel libfluidsynth-devel libpulseaudio-devel libqt4-opengl libqt4-qt3support libqt4-script libqt4-svg libqt4-xml libsamplerate-devel libsndfile-devel libstk-devel libvorbis-devel phonon-devel libfftw3-devel libportaudio2-devel libXft-devel libjpeg-devel
 
-#add_verify_elf_skiplist %_libdir/%name/*
-
 %description
 LMMS aims to be a free alternative to popular (but commercial and closed-
 source) programs like FruityLoops, Cubase and Logic giving you the ability of
@@ -33,6 +31,8 @@ Requires: %name = %version-%release
 %description devel
 Development files and headers for %name
 
+%add_optflags -fPIE -DPIE -pie
+
 %prep
 %setup
 
@@ -101,7 +101,8 @@ EOF
 
 %changelog
 * Mon Jun 06 2016 Ivan Zakharyaschev &lt;imz@altlinux.org&gt; 1.0.95-alt3.git20140910
-- (.spec) verify_elf resurrected.
+- (.spec) verify_elf resurrected,
+  and the executable made PIE.
 - (AUTO) subst_x86_64.
 
 * Fri Oct 03 2014 Eugeny A. Rostovtsev (REAL) &lt;real at altlinux.org&gt; 1.0.95-alt2.git20140910


-bash-4.3$ fgrep ERROR gear-hsh.verify+PIE-WARN.log.1
-bash-4.3$ fgrep ERROR gear-hsh.verify-ERR.log.0 
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: not found: libZynAddSubFxCore.so
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: ADnote_unison_sizes
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZTI7Presets
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZTI12PresetsArray
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: synth
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: dump
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: prng_state
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: presetsstore
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: config
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN10Microtonal8defaultsEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN6Master9getVuDataEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Bank6lockedEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN9Resonance6smoothEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN17PADnoteParameters10getprofileEPfi
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN12FilterParams10getfreqposEf
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Part19RelaseSustainedKeysEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN3Nio5startEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Part11setkeylimitEh
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Part15applyparametersEb
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN9Resonance16interpolatepeaksEi
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN9EffectMgr12seteffectparEih
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN9Resonance8setpointEih
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN6Master13setPsysefxvolEiic
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN16LocalZynAddSubFx13setSampleRateEi
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN6Master10setPvolumeEc
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN6Master8defaultsEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Bank8swapslotEjj
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN10Microtonal13texttotuningsEPKc
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Bank9clearslotEj
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN6Config20clearbankrootdirlistEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN16LocalZynAddSubFx17setLmmsWorkingDirERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZNK10Microtonal11getnotefreqEii
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN7Presets12deletepresetEi
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN16LocalZynAddSubFx7loadXMLERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Bank15getnamenumberedB5cxx11Ej
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN16LocalZynAddSubFxD2Ev
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Part7saveXMLEPKc
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Bank9emptyslotEj
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN9EffectMgr7cleanupEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZNK10Microtonal7saveXMLEPKc
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN17PADnoteParameters15applyparametersEb
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN16LocalZynAddSubFx7saveXMLERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN8OscilGen12convert2sineEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Bank7getnameB5cxx11Ej
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN10Microtonal13texttomappingEPKc
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN12FilterParams14getoctavesfreqEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN12FilterParams7getgainEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN14EnvelopeParams5getdtEc
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN17PADnoteParameters13setPbandwidthEi
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Part11setPpanningEc
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN3Nio4stopEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN12FilterParams14getformantfreqEh
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Dump8startnowEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _Z10fileexistsPKc
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN12FilterParams13getcenterfreqEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN6Master12setPkeyshiftEc
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN6Master15applyparametersEb
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN10Microtonal7loadkbmEPKc
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN3Nio10getSourcesB5cxx11Ev
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN6Master13setControllerEcii
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN6Master9partonoffEii
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN6Master12vuresetpeaksEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN16LocalZynAddSubFx13setBufferSizeEi
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN12FilterParams13getformantampEh
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN9Resonance9randomizeEi
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN16LocalZynAddSubFx16processMidiEventERK9MidiEvent
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN8Recorder5startEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN6Config4saveEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN12PresetsArray10setelementEi
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN3Nio9setSourceENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN16ADnoteParameters21set_unison_size_indexEii
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN3Nio8getSinksB5cxx11Ev
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Bank7newbankENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN8OscilGen11getspectrumEiPfi
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Part16setkititemstatusEii
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN17PADnoteParameters6getNhrEi
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN8Recorder11preparefileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN10Microtonal12tuningtolineEiPci
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN8OscilGen22getcurrentbasefunctionEPf
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN16LocalZynAddSubFx12processAudioEPA2_f
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN17SUBnoteParameters26updateFrequencyMultipliersEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN12FilterParams14formantfilterHEiiPf
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN9EffectMgr12changepresetEh
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN16ADnoteParameters21get_unison_size_indexEi
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN3Nio7getSinkB5cxx11Ev
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN8OscilGen7prepareEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Bank10savetoslotEjP4Part
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Bank15isPADsynth_usedEj
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN16ADnoteParameters28getBandwidthDetuneMultiplierEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN6Master6noteOnEccc
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN16LocalZynAddSubFxC2Ev
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN9EffectMgr12changeeffectEi
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN16LocalZynAddSubFx22setPitchWheelBendRangeEi
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN6Config19clearpresetsdirlistEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Part10setPvolumeEc
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN6Master7noteOffEcc
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Part17loadXMLinstrumentEPKc
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN16LocalZynAddSubFx10loadPresetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Part13SetControllerEji
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN10Microtonal7loadXMLEPKc
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN8OscilGen9useasbaseEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Bank14rescanforbanksEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN9EffectMgr17getEQfreqresponseEf
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN6Master7loadXMLEPKc
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN17PADnoteParameters10export2wavENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN9EffectMgr12geteffectparEi
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN9EffectMgr10setdryonlyEb
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN13ZynController10setsustainEi
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN10Microtonal7loadsclEPKc
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN16ADnoteParameters29getUnisonFrequencySpreadCentsEi
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Bank7setnameEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Bank8loadbankENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN16LocalZynAddSubFx12setPresetDirERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN9EffectMgr9geteffectEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN7Presets16rescanforpresetsEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN9Resonance14getoctavesfreqEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN9Resonance8getfreqxEf
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZNK10Microtonal13getoctavesizeEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN3Nio9getSourceB5cxx11Ev
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN14EnvelopeParams13converttofreeEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN9Resonance13getcenterfreqEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN9EffectMgr9getpresetEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN6Master14setPsysefxsendEiic
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN3Nio7setSinkENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN8Recorder4stopEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN12PresetsArray16rescanforpresetsEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN8Recorder5pauseEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN6Master7saveXMLEPKc
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Part18defaultsinstrumentEv
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN9Resonance10getfreqposEf
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN8OscilGen3getEPffi
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN4Bank12loadfromslotEjP4Part
verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _Z9getdetunehtt
-bash-4.3$</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>160511</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2016-12-06 22:57:51 +0300</bug_when>
    <thetext>$ fgrep &apos;./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN8OscilGen22getcurrentbasefunctionEPf&apos; gear-hsh.verify-ERR.log.0  gear-hsh.verify+PIE-WARN.log.1
gear-hsh.verify-ERR.log.0:verify-elf: ERROR: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN8OscilGen22getcurrentbasefunctionEPf
gear-hsh.verify+PIE-WARN.log.1:verify-elf: WARNING: ./usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN8OscilGen22getcurrentbasefunctionEPf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>160519</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2016-12-07 05:52:05 +0300</bug_when>
    <thetext>This is a side effect of &quot;set -o pipefail&quot; introduced by commit 4.0.4-alt100.96~1.

Every time you think about introducing &quot;set -o pipefail&quot;, check whether the script uses grep and what&apos;s going to happen with grep exit status.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>160533</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2016-12-07 13:51:20 +0300</bug_when>
    <thetext>(In reply to comment #2)
&gt; This is a side effect of &quot;set -o pipefail&quot; introduced by commit
&gt; 4.0.4-alt100.96~1.
&gt; 
&gt; Every time you think about introducing &quot;set -o pipefail&quot;, check whether the
&gt; script uses grep and what&apos;s going to happen with grep exit status.

Sorry, I must have confused this bug report with another one.
Anyway, please revisit the use of &quot;set -o pipefail&quot; in verify-elf.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>160534</commentid>
    <comment_count>4</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2016-12-07 13:56:15 +0300</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; This is a side effect of &quot;set -o pipefail&quot; introduced by commit
&gt; &gt; 4.0.4-alt100.96~1.
&gt; &gt; 
&gt; &gt; Every time you think about introducing &quot;set -o pipefail&quot;, check whether the
&gt; &gt; script uses grep and what&apos;s going to happen with grep exit status.
&gt; 
&gt; Sorry, I must have confused this bug report with another one.

This bugreport is based on the behaviour which I noticed in June 2016. I&apos;ll check prior releases of rpm, too.

&gt; Anyway, please revisit the use of &quot;set -o pipefail&quot; in verify-elf.

Yes, you have noticed an important thing which I have not paid attention, too, and which I must revisit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>160535</commentid>
    <comment_count>5</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2016-12-07 14:31:39 +0300</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #3)
&gt; &gt; (In reply to comment #2)
&gt; &gt; &gt; This is a side effect of &quot;set -o pipefail&quot; introduced by commit
&gt; &gt; &gt; 4.0.4-alt100.96~1.
&gt; &gt; &gt; 
&gt; &gt; &gt; Every time you think about introducing &quot;set -o pipefail&quot;, check whether the
&gt; &gt; &gt; script uses grep and what&apos;s going to happen with grep exit status.
&gt; &gt; 
&gt; &gt; Sorry, I must have confused this bug report with another one.
&gt; 
&gt; This bugreport is based on the behaviour which I noticed in June 2016. I&apos;ll
&gt; check prior releases of rpm, too.

verify_unresolved was not aware of PIEs and treated them as other shared objects that are traditionally subject to a more relaxed checking than executables.

You can try commit 4.0.4-alt100.96-3-ga4fb4d4 and tell whether it makes things better.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>