Bug 32853 - verfiy-elf no longer reports unresolved symbols as errors if an .so is made PIE
Summary: verfiy-elf no longer reports unresolved symbols as errors if an .so is made PIE
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: rpm-build (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Ivan Zakharyaschev
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-06 22:56 MSK by Ivan Zakharyaschev
Modified: 2016-12-07 14:31 MSK (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2016-12-06 22:56:02 MSK
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 <imz@altlinux.org> 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) <real at altlinux.org> 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$
Comment 1 Ivan Zakharyaschev 2016-12-06 22:57:51 MSK
$ fgrep './usr/lib64/lmms/RemoteZynAddSubFx: undefined symbol: _ZN8OscilGen22getcurrentbasefunctionEPf' 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
Comment 2 Dmitry V. Levin 2016-12-07 05:52:05 MSK
This is a side effect of "set -o pipefail" introduced by commit 4.0.4-alt100.96~1.

Every time you think about introducing "set -o pipefail", check whether the script uses grep and what's going to happen with grep exit status.
Comment 3 Dmitry V. Levin 2016-12-07 13:51:20 MSK
(In reply to comment #2)
> This is a side effect of "set -o pipefail" introduced by commit
> 4.0.4-alt100.96~1.
> 
> Every time you think about introducing "set -o pipefail", check whether the
> script uses grep and what'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 "set -o pipefail" in verify-elf.
Comment 4 Ivan Zakharyaschev 2016-12-07 13:56:15 MSK
(In reply to comment #3)
> (In reply to comment #2)
> > This is a side effect of "set -o pipefail" introduced by commit
> > 4.0.4-alt100.96~1.
> > 
> > Every time you think about introducing "set -o pipefail", check whether the
> > script uses grep and what's going to happen with grep exit status.
> 
> 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'll check prior releases of rpm, too.

> Anyway, please revisit the use of "set -o pipefail" in verify-elf.

Yes, you have noticed an important thing which I have not paid attention, too, and which I must revisit.
Comment 5 Dmitry V. Levin 2016-12-07 14:31:39 MSK
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > This is a side effect of "set -o pipefail" introduced by commit
> > > 4.0.4-alt100.96~1.
> > > 
> > > Every time you think about introducing "set -o pipefail", check whether the
> > > script uses grep and what's going to happen with grep exit status.
> > 
> > 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'll
> 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.