public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* binutils-2.29-1 Dwarf Error
@ 2018-07-25 19:14 Marco Atzeri
  2018-07-26 19:23 ` Marco Atzeri
  0 siblings, 1 reply; 2+ messages in thread
From: Marco Atzeri @ 2018-07-25 19:14 UTC (permalink / raw)
  To: cygwin

Jon,
just noted the "Dwarf Error" is back for i686

https://sourceware.org/ml/cygwin/2017-07/msg00053.html

$ cat getcwd.c
#include <limits.h>
#include <unistd.h>

int
main ()
{
    char buf[PATH_MAX];
    getcwd (buf, PATH_MAX);
}

$ gcc getcwd.c

$ nm -l a.exe | grep Dwarf
nm: Dwarf Error: Could not find abbrev number 45.

going back on binutils 2.28-3 makes no difference.
May be is due to gcc-7.3 ?


Regards
Marco

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: binutils-2.29-1 Dwarf Error
  2018-07-25 19:14 binutils-2.29-1 Dwarf Error Marco Atzeri
@ 2018-07-26 19:23 ` Marco Atzeri
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Atzeri @ 2018-07-26 19:23 UTC (permalink / raw)
  To: cygwin

Am 25.07.2018 um 15:26 schrieb Marco Atzeri:
> Jon,
> just noted the "Dwarf Error" is back for i686
..
> $ nm -l a.exe | grep Dwarf
> nm: Dwarf Error: Could not find abbrev number 45.

The main issue I have is not the emission of the Error,
that seems limited to just 1 per shared lib,
but that the i686 version of "objdump" and "nm"
are extremely slower than the x86_64 counterparts.

The octave package is VERY large, and
the i686 unstripped main libs are huge in size:

$ find build -name "cyg*.dll" -exec ls -sh {} \;
120M build/libgui/.libs/cygoctgui-3.dll
491M build/libinterp/.libs/cygoctinterp-5.dll
175M build/liboctave/.libs/cygoctave-5.dll

the x86_64 are further slightly larger, but
  the time are still reasonable:

$ time cygport octave.cygport install package

real    22m29.962s
user    10m43.475s
sys     8m54.506s

while on i686 with binutils 2.91

real    246m28.556s
user    205m6.625s
sys     10m9.928s


I built and tried the 2.31 with some reduction in time
but still 8x longer than x86_64

real    167m8.635s
user    155m20.340s
sys     9m53.940s



Regards
Marco

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

end of thread, other threads:[~2018-07-26 14:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-25 19:14 binutils-2.29-1 Dwarf Error Marco Atzeri
2018-07-26 19:23 ` Marco Atzeri

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).