Hi Ziyang,

On Thu, 2023-07-20 at 13:14 +0000, chenziyang (C) via Elfutils-devel
wrote:
> Hi elfutils maintainers
> 
> I am running 'rpmbuild -ba sysmaster.spec', and produce following error info:
> eu-strip: Cannot remove symbol [742] from allocated symbol table [3]
> 
> This error is caused by strip_to_debug() function in 
> /usr/bin/find-debuginfo.sh which is triggered by rpm-build
> [cid:image003.png@01D9BB4F.19E5EE90]
> 
> Steps to Reproduce:
> eu-strip -R .rustc libtarget_1.so
> Actual result:
> eu-strip: Cannot remove symbol [742] from allocated symbol table [3]
> 
> OR
> eu-strip -remove-comment libtarget.so.debug1 libtarget_1.so
> Actual result: eu-strip: Cannot remove symbol [742] from allocated symbol 
> table [3]

Would you be able to show the sections and symbols for libtarget_1.so.
Specifically what symbol table section 3 is and what 742th symbol in
that table is? And does libtarget_1.so actually contain a .rustc
section?

Thanks,

Mark

Reply via email to