public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Build spends a long time in "mkimport".
@ 2020-10-11  2:32 Kaz Kylheku (Cygwin)
  2020-10-11  7:24 ` Mark Geisert
  0 siblings, 1 reply; 2+ messages in thread
From: Kaz Kylheku (Cygwin) @ 2020-10-11  2:32 UTC (permalink / raw)
  To: Cygwin

Hi All,

When building the Cygwin DLL, this single step takes almost ten minutes:

   ../../.././winsup/cygwin/mkimport --cpu=i686 --ar=ar --as=as --nm=nm 
--objcopy=objcopy \
   --replace=atexit= --replace=timezone= --replace=uname=uname_x 
--replace=__xdrrec_getrec=

   [ .. SNIP ... ]

   --replace=truncate=_truncate64 libcygwin.a cygdll.a 
_cygwin_crt0_common.o \
   atexit.o cygwin_attach_dll.o cygwin_crt0.o dll_entry.o dll_main.o 
dso_handle.o \
   libcmain.o premain0.o premain1.o premain2.o premain3.o 
pseudo-reloc-dummy.o

What's puzzling is that there is very CPU activity during this time. 
It's launching
some objcopy commands.

Is there some documentation that provides an overview of what exactly 
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 
frustrating.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-11  7:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-11  2:32 Build spends a long time in "mkimport" Kaz Kylheku (Cygwin)
2020-10-11  7:24 ` Mark Geisert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).