Здравствуйте,<br><br>прошу помощи, уже очень давно у меня перестала проходить проверка с verify-elf для VBoxSVC. Проблема выглядит так:<br>...<br>verify-elf: WARNING: ./usr/lib64/virtualbox/VBoxSVC: RPATH entry found: /usr/lib64/virtualbox<br>

verify-elf: ERROR: ./usr/lib64/virtualbox/VBoxSVC: undefined symbol: _ZN3xml8Document17createRootElementEPKcS2_<br>either the file containing the function &#39;PATMSetPIF_EndProc&#39; or the file containing the function &#39;PATMClearPIF&#39; is not compiled with -fpic/-fPIC<br>

either the file containing the function &#39;PATMClearPIF_EndProc&#39; or the file containing the function &#39;PATMClearInhibitIRQFaultIF0&#39; is not compiled with -fpic/-fPIC<br>either the file containing the function &#39;PATMClearInhibitIRQFaultIF0_EndProc&#39; or the file containing the function &#39;PATMClearInhibitIRQContIF0&#39; is not compiled with -fpic/-fPIC<br>

either the file containing the function &#39;PATMClearInhibitIRQContIF0_EndProc&#39; or the file containing the function &#39;PATMCliReplacement&#39; is not compiled with -fpic/-fPIC<br>either the file containing the function &#39;PATMCliReplacement_EndProc&#39; or the file containing the function &#39;PATMStiReplacement&#39; is not compiled with -fpic/-fPIC<br>

either the file containing the function &#39;PATMStiReplacement_EndProc&#39; or the file containing the function &#39;PATMTrapEntry&#39; is not compiled with -fpic/-fPIC<br>either the file containing the function &#39;PATMTrapEntry_EndProc&#39; or the file containing the function &#39;PATMTrapEntryErrorCode&#39; is not compiled with -fpic/-fPIC<br>

either the file containing the function &#39;PATMTrapEntryErrorCode_EndProc&#39; or the file containing the function &#39;PATMIntEntry&#39; is not compiled with -fpic/-fPIC<br>either the file containing the function &#39;PATMIntEntry_EndProc&#39; or the file containing the function &#39;PATMIntEntryErrorCode&#39; is not compiled with -fpic/-fPIC<br>

either the file containing the function &#39;PATMIntEntryErrorCode_EndProc&#39; or the file containing the function &#39;PATMPopf32Replacement&#39; is not compiled with -fpic/-fPIC<br>either the file containing the function &#39;PATMPopf32Replacement_EndProc&#39; or the file containing the function &#39;PATMPopf32Replacement_NoExit&#39; is not compiled with -fpic/-fPIC<br>

either the file containing the function &#39;PATMPopf32Replacement_NoExit_EndProc&#39; or the file containing the function &#39;PATMPopf16Replacement&#39; is not compiled with -fpic/-fPIC<br>either the file containing the function &#39;PATMPopf16Replacement_EndProc&#39; or the file containing the function &#39;PATMPopf16Replacement_NoExit&#39; is not compiled with -fpic/-fPIC<br>

either the file containing the function &#39;PATMPopf16Replacement_NoExit_EndProc&#39; or the file containing the function &#39;PATMPushf32Replacement&#39; is not compiled with -fpic/-fPIC<br>either the file containing the function &#39;PATMPushf32Replacement_EndProc&#39; or the file containing the function &#39;PATMPushf16Replacement&#39; is not compiled with -fpic/-fPIC<br>

either the file containing the function &#39;PATMPushf16Replacement_EndProc&#39; or the file containing the function &#39;PATMPushCSReplacement&#39; is not compiled with -fpic/-fPIC<br>either the file containing the function &#39;PATMPushCSReplacement_EndProc&#39; or the file containing the function &#39;PATMIretReplacement&#39; is not compiled with -fpic/-fPIC<br>

either the file containing the function &#39;PATMIretReplacement_EndProc&#39; or the file containing the function &#39;PATMIretFunction&#39; is not compiled with -fpic/-fPIC<br>either the file containing the function &#39;PATMIretFunction_EndProc&#39; or the file containing the function &#39;PATMCpuidReplacement&#39; is not compiled with -fpic/-fPIC<br>

either the file containing the function &#39;PATMCpuidReplacement_EndProc&#39; or the file containing the function &#39;PATMJEcxReplacement&#39; is not compiled with -fpic/-fPIC<br>either the file containing the function &#39;PATMJEcxReplacement_EndProc&#39; or the file containing the function &#39;PATMLoopReplacement&#39; is not compiled with -fpic/-fPIC<br>

either the file containing the function &#39;PATMLoopReplacement_EndProc&#39; or the file containing the function &#39;PATMLoopZReplacement&#39; is not compiled with -fpic/-fPIC<br>either the file containing the function &#39;PATMLoopZReplacement_EndProc&#39; or the file containing the function &#39;PATMLoopNZReplacement&#39; is not compiled with -fpic/-fPIC<br>

either the file containing the function &#39;PATMLoopNZReplacement_EndProc&#39; or the file containing the function &#39;PATMLookupAndCall&#39; is not compiled with -fpic/-fPIC<br>either the file containing the function &#39;PATMLookupAndCall_EndProc&#39; or the file containing the function &#39;PATMLookupAndJump&#39; is not compiled with -fpic/-fPIC<br>

either the file containing the function &#39;PATMLookupAndJump_EndProc&#39; or the file containing the function &#39;PATMCall&#39; is not compiled with -fpic/-fPIC<br>either the file containing the function &#39;PATMCall_EndProc&#39; or the file containing the function &#39;PATMCallIndirect&#39; is not compiled with -fpic/-fPIC<br>

either the file containing the function &#39;PATMCallIndirect_EndProc&#39; or the file containing the function &#39;PATMJumpIndirect&#39; is not compiled with -fpic/-fPIC<br>either the file containing the function &#39;PATMJumpIndirect_EndProc&#39; or the file containing the function &#39;PATMRet&#39; is not compiled with -fpic/-fPIC<br>

either the file containing the function &#39;PATMRet_EndProc&#39; or the file containing the function &#39;PATMRetFunction&#39; is not compiled with -fpic/-fPIC<br>either the file containing the function &#39;PATMRetFunction_EndProc&#39; or the file containing the function &#39;PATMCheckIF&#39; is not compiled with -fpic/-fPIC<br>

either the file containing the function &#39;PATMCheckIF_EndProc&#39; or the file containing the function &#39;PATMJumpToGuest_IF1&#39; is not compiled with -fpic/-fPIC<br>either the file containing the function &#39;PATMJumpToGuest_IF1_EndProc&#39; or the file containing the function &#39;PATMMovFromSS&#39; is not compiled with -fpic/-fPIC<br>

either the file containing the function &#39;PATMMovFromSS_EndProc&#39; or the file containing the function &#39;PATMInterruptFlag&#39; is not compiled with -fpic/-fPIC<br>verify-elf: WARNING: ./usr/lib64/virtualbox/VBoxVMM.so: TEXTREL entry found: 0x0000000000000000<br>

ошибка: Неверный код возврата из /home/sin/tmp/rpm-tmp.84694 (%install)<br clear="all"><br>Проблема комплексная... Первое, что не удаётся - это проверка для символа _ZN3xml8Document17createRootElementEPKcS2_<br><br>Если развернуть все проверки, то получается следующий вывод:<br>

<br>$ LD_TRACE_LOADED_OBJECTS=1 LD_WARN=1 LD_BIND_NOW=1 LD_DEBUG= LD_LIBRARY_VERSION= &quot;/lib64/ld-linux-x86-64.so.2&quot; --library-path &quot;/home/sin/tmp/virtualbox-buildroot/usr/lib64/virtualbox&quot; &quot;/home/sin/tmp/virtualbox-buildroot/usr/lib64/virtualbox/VBoxSVC&quot;<br>

        linux-vdso.so.1 =&gt;  (0x00007fffb29c3000)<br>        VBoxRT.so =&gt; /usr/lib64/virtualbox/VBoxRT.so (0x00007f25562a6000)<br>        VBoxDDU.so =&gt; /usr/lib64/virtualbox/VBoxDDU.so (0x00007f255605f000)<br>        libpthread.so.0 =&gt; /lib64/libpthread.so.0 (0x00007f2555e18000)<br>

        libdl.so.2 =&gt; /lib64/libdl.so.2 (0x00007f2555c14000)<br>        VBoxXPCOM.so =&gt; /usr/lib64/virtualbox/VBoxXPCOM.so (0x00007f25558f8000)<br>        libpng12.so.0 =&gt; /usr/lib64/libpng12.so.0 (0x00007f25556cf000)<br>

        libstdc++.so.6 =&gt; /usr/lib64/libstdc++.so.6 (0x00007f25553c9000)<br>        libgcc_s.so.1 =&gt; /lib64/libgcc_s.so.1 (0x00007f25551b2000)<br>        libc.so.6 =&gt; /lib64/libc.so.6 (0x00007f2554e49000)<br>        libcrypt.so.1 =&gt; /lib64/libcrypt.so.1 (0x00007f2554c0d000)<br>

        libz.so.1 =&gt; /lib64/libz.so.1 (0x00007f25549f3000)<br>        librt.so.1 =&gt; /lib64/librt.so.1 (0x00007f25547eb000)<br>        libcrypto.so.10 =&gt; /lib64/libcrypto.so.10 (0x00007f2554436000)<br>        libxml2.so.2 =&gt; /usr/lib64/libxml2.so.2 (0x00007f25540dc000)<br>

        libcurl.so.4 =&gt; /usr/lib64/libcurl.so.4 (0x00007f2553e7d000)<br>        /lib64/ld-linux-x86-64.so.2 (0x00007f25565c1000)<br>        libm.so.6 =&gt; /lib64/libm.so.6 (0x00007f2553bfb000)<br>        libidn.so.11 =&gt; /usr/lib64/libidn.so.11 (0x00007f25539c7000)<br>

        libssh2.so.1 =&gt; /usr/lib64/libssh2.so.1 (0x00007f25537a0000)<br>        libssl.so.10 =&gt; /lib64/libssl.so.10 (0x00007f255353d000)<br>        libkrb5.so.3 =&gt; /lib64/libkrb5.so.3 (0x00007f255329d000)<br>        libk5crypto.so.3 =&gt; /lib64/libk5crypto.so.3 (0x00007f2553076000)<br>

        libcom_err.so.2 =&gt; /lib64/libcom_err.so.2 (0x00007f2552e71000)<br>        libkrb5support.so.0 =&gt; /lib64/libkrb5support.so.0 (0x00007f2552c69000)<br>        libkeyutils.so.1 =&gt; /lib64/libkeyutils.so.1 (0x00007f2552a66000)<br>

        libresolv.so.2 =&gt; /lib64/libresolv.so.2 (0x00007f255284e000)<br>undefined symbol: _ZN3xml8Document17createRootElementEPKcS2_    (/home/sin/tmp/virtualbox-buildroot/usr/lib64/virtualbox/VBoxSVC)<br><br>$ nm -D /home/sin/tmp/virtualbox-buildroot/usr/lib64/virtualbox/VBoxRT.so |grep createRootElement<br>

0000000000040de0 T _ZN3xml8Document17createRootElementEPKcS2_<br><br>То есть линковка вроде сделана, символ в библиотеке есть, а проверка выявляет ошибку. Стоит отметить, что символ используется в двух разных единицах трансляции.<br>

<br><br><br>-- <br>Sin (Sinelnikov Evgeny)<br>Etersoft<br>