This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: coredump when compiling gettext from source
On Thu, 01 Oct 2009 14:16:45 +0200, "Vincent R." <forumer@smartmobili.com>
wrote:
> On Thu, 01 Oct 2009 13:59:32 +0200, "Vincent R."
<forumer@smartmobili.com>
> wrote:
>> Hi,
>>
>> I have installed a fresh install of cygwin 1.7 and I wanted to compile
>> gettext from source
>> but I get a segmentation fault :
>>
>> gcc -shared .libs/bindtextdom.o .libs/dcgettext.o .libs/dgettext.o
>> .libs/gettext.o .libs/finddomain.o .libs/hash-string.o
> .libs/loadmsgcat.o
>> .libs/localealias.o .libs/textdomain.o .libs/l10nflist.o
>> .libs/explodename.o .libs/dcigettext.o .libs/dcngettext.o
> .libs/dngettext.o
>> .libs/ngettext.o .libs/plural.o .libs/plural-exp.o .libs/localcharset.o
>> .libs/lock.o .libs/relocatable.o .libs/langprefs.o .libs/localename.o
>> .libs/log.o .libs/printf.o .libs/version.o .libs/osdep.o
>> .libs/intl-compat.o -Wl,--disable-auto-import
-Wl,--export-all-symbols
> -o
>> .libs/cygintl-8.dll -Wl,--enable-auto-image-base -Xlinker --out-implib
>> -Xlinker .libs/libintl.dll.a
>> collect2: ld terminated with signal 11 [Segmentation fault], core
dumped
>>
>> Could someone reproduce it and how I can help you to fix it ?
>
> I forget to say I am compiling with latest gcc-release :
>
> $ gcc --version
> gcc (GCC) 4.3.4 20090804 (release) 1
I also sent an email with a zip file containing .libs folder but it
doesn't appear on ML so
I copy paste here the stackdump :
Exception: STATUS_ACCESS_VIOLATION at eip=0044B9E9
eax=00000001 ebx=00000024 ecx=0077CD88 edx=007848F0 esi=6F5C701C
edi=00AFC150
ebp=0022C948 esp=0022C8E0 program=C:\cygwin\bin\ld.exe, pid 3416, thread
main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
0022C948 0044B9E9 (0074A568, 004CC1E8, 008310F8, 008325A8)
0022CB48 0044DF0F (0022CBBC, 008310F8, 00000000, 00000000)
0022CC68 0044EE10 (0074A568, 004CC1E8, 004BBCC0, 00A12490)
0022CCE8 0041495E (00743080, 612077EC, 0022CD78, 610F9B47)
0022CD68 00413E68 (00000000, 00000000, 0022CDA8, 61006E0A)
0022CDA8 61006E0A (00000000, 0022CDE0, 610066F0, 7FFDE000)
End of stack trace