bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/29505] xxx-w64-mingw32-objdump takes a long time to scan p


From: ralf.habacker at freenet dot de
Subject: [Bug binutils/29505] xxx-w64-mingw32-objdump takes a long time to scan pe binaries for debug information
Date: Tue, 23 Aug 2022 14:43:58 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29505

--- Comment #7 from Ralf Habacker <ralf.habacker at freenet dot de> ---
(In reply to Nick Clifton from comment #6)
> (In reply to Ralf Habacker from comment #5)
> Hi Ralf,
> 
> > i686-w64-mingw32-objdump still needs about 30s to scan assistant-qt5.exe,
> > where it needs 2.8s when running on the host.
>  
> Sorry - I had not really grokked that this was a problem specific to the OBS
> build environment. 

> Based upon your comments in the opensuse ticket, this is a problem with
> unaligned memory access

>From the screenshot appended to the associated opensuse bug
https://bugzilla.opensuse.org/attachment.cgi?id=860901 it looks so.

The functions __memset_avx2_unaligned_erms and __memset_avx2_erms are involved.

>  and possibly specific to the OBS environment 

As written in the description of this bug I was able to reproduce this issue
also with a local chroot environment, so the issue is not obs specific.

> running an unoptimized version of memset.  

If that is what the above mentioned functions do, then yes. 

> If so are you able to enable profiling and find out which memset(s) are 
> taking all the time ?

You can see this at https://bugzilla.opensuse.org/attachment.cgi?id=860901

 __memset_avx2_erms takes about 90% of the execution time and is called from
__memset_avx2_unaligned_erms.




> 
> Cheers
>   Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]