Hi All, If we try to build gettext-runtime utility with current binutils package then we will have runtime error like this:
D:\...n\_gettext-runtime\usr-win32\bin>gettext.exe 2 [main] gettext 5924 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION 2365 [main] gettext 5924 open_stackdumpfile: Dumping stack trace to gettext.exe.stackdump D:\...n\_gettext-runtime\usr-win32\bin> This is binutils cofflink.c error. So this issue can be fixed by following patch: diff -b --unified -Nr binutils-2.19.51-1-orig/bfd/cofflink.c binutils-2.19.51-1/bfd/cofflink.c --- binutils-2.19.51-1-orig/bfd/cofflink.c 2009-06-13 22:36:21.000000000 +0400 +++ binutils-2.19.51-1/bfd/cofflink.c 2009-11-10 01:13:10.200030900 +0300 @@ -2956,7 +2956,7 @@ See also linker.c: generic_link_check_archive_element. */ asection *sec; struct coff_link_hash_entry *h2 = - input_bfd->tdata.coff_obj_data->sym_hashes[ + h->auxbfd->tdata.coff_obj_data->sym_hashes[ h->aux->x_sym.x_tagndx.l]; if (!h2 || h2->root.type == bfd_link_hash_undefined) Related links: http://www.mail-archive.com/cyg...@cygwin.com/msg101432.html http://sourceware.org/ml/binutils-cvs/2009-10/msg00010.html http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/cofflink.c.diff?cvsroot=src&r1=1.71&r2=1.72 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.4803&r2=1.4804 Please apply this patch and update the cygwin-1.7 packages. Best Regards, Andrey