From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <743-406-3965@kylheku.com> Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.137]) by sourceware.org (Postfix) with ESMTPS id B650F3857C67 for ; Sun, 11 Oct 2020 02:32:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B650F3857C67 Received: from kylheku.com ([70.79.163.252]) by shaw.ca with ESMTPA id RR9qkNilaLWW5RR9rk08Eq; Sat, 10 Oct 2020 20:32:24 -0600 X-Authority-Analysis: v=2.4 cv=Z5JSoFdA c=1 sm=1 tr=0 ts=5f826eb8 a=95A0EdhkF1LMGt25d7h1IQ==:117 a=95A0EdhkF1LMGt25d7h1IQ==:17 a=IkcTkHD0fZMA:10 a=SMorJkV_YP8A:10 a=afefHYAZSVUA:10 a=VlcbR86_sxKHgt_W16sA:9 a=QEXdDO2ut3YA:10 a=Z5ABNNGmrOfJ6cZ5bIyy:22 a=jd6J4Gguk5HxikPWLKER:22 Received: from www-data by kylheku.com with local (Exim 4.72) (envelope-from <743-406-3965@kylheku.com>) id 1kRR9q-0008Er-Kk for cygwin@cygwin.com; Sat, 10 Oct 2020 19:32:22 -0700 To: Cygwin Subject: Build spends a long time in "mkimport". X-PHP-Originating-Script: 501:rcmail.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Date: Sat, 10 Oct 2020 19:32:22 -0700 From: "Kaz Kylheku (Cygwin)" <743-406-3965@kylheku.com> Message-ID: X-Sender: 743-406-3965@kylheku.com User-Agent: Roundcube Webmail/0.9.2 X-CMAE-Envelope: MS4xfKvlP+2NjQs+GLCJ9yrx3Pc9FE437b3moRKicJLdQBE/HjS904O2NhAIsUJQlKV8z/NpnZVOJ5YljSvP03MaERwcViLfOxfOsvIu4FKk99BHsMnCZDHZ /txgV0jEMZFg7uhw2H715lsskIjUu82ofrAeyu7awISoa1YmxginWkSG7CXZTD2Nzqvcsi0lUx72Ow== X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, FROM_STARTS_WITH_NUMS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Oct 2020 02:32:26 -0000 Hi All, When building the Cygwin DLL, this single step takes almost ten minutes: ../../.././winsup/cygwin/mkimport --cpu=3Di686 --ar=3Dar --as=3Das --nm= =3Dnm=20 --objcopy=3Dobjcopy \ --replace=3Datexit=3D --replace=3Dtimezone=3D --replace=3Duname=3Duname_= x=20 --replace=3D__xdrrec_getrec=3D [ .. SNIP ... ] --replace=3Dtruncate=3D_truncate64 libcygwin.a cygdll.a=20 _cygwin_crt0_common.o \ atexit.o cygwin_attach_dll.o cygwin_crt0.o dll_entry.o dll_main.o=20 dso_handle.o \ libcmain.o premain0.o premain1.o premain2.o premain3.o=20 pseudo-reloc-dummy.o What's puzzling is that there is very CPU activity during this time.=20 It's launching some objcopy commands. Is there some documentation that provides an overview of what exactly=20 this does, other than studying its perl source code? Maybe it can be sped up? I'm going to have to cycle quite a few times on some changes, so this is=20 frustrating.