This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: coredump when compiling gettext from source

On Thu, 01 Oct 2009 10:01:45 -0400, Charles Wilson
<> wrote:
> Vincent R. wrote:
>> On Thu, 1 Oct 2009 15:46:29 +0200, Corinna Vinschen wrote:
>>> On Oct  1 14:19, Vincent R. wrote:
>>>> On Thu, 01 Oct 2009 14:16:45 +0200, "Vincent R."
>>>> wrote:
>>>>> On Thu, 01 Oct 2009 13:59:32 +0200, "Vincent R."
>>>>> wrote:
>>> Wrong mailing list.  cygwin-developers is for discussing Cygwin
>>> development itself, not for developing software *on* Cygwin.  Use the
>>> base list cygwin AT cygwin DOT com instead.
>> Are you sure the problem doesn't rely on gcc version release with
>> cygwin ?
>> I get a segmentation fault inside ld ...
>> Will I find answers about that kind of problem on this ML ?
> Not unless you restate the problem here on this list, rather than
> assuming everybody already knows what you were talking about on some
> other list.

I have installed a fresh install of cygwin 1.7 and I wanted to compile
gettext-0.17 from source so I entered:


Problem happens when compiling gettext-runtime/intl module and here is
what happens when I 
run the command manually

$ gcc --version
gcc (GCC) 4.3.4 20090804 (release) 1

$ cd gettext-0.17/gettext-runtime/intl

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

$ less ld.exe.stackdump

Exception: STATUS_ACCESS_VIOLATION at eip=0044B9E9
eax=00000001 ebx=00000024 ecx=0077CD68 edx=007848D0 esi=6F5C701C
ebp=0022C948 esp=0022C8E0 program=C:\cygwin\bin\ld.exe, pid 276, thread
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022C948  0044B9E9  (0074A548, 004CC1E8, 008310D8, 00832588)
0022CB48  0044DF0F  (0022CBBC, 008310D8, 00000000, 00000000)
0022CC68  0044EE10  (0074A548, 004CC1E8, 004BBCC0, 00A12470)
0022CCE8  0041495E  (00743060, 612077EC, 0022CD78, 610F9B47)
0022CD68  00413E68  (00000000, 00000000, 0022CDA8, 61006E0A)
0022CDA8  61006E0A  (00000000, 0022CDE0, 610066F0, 7FFDF000)
End of stack trace

Any idea ?

My configuration Windows XP SP3

$ uname -a
CYGWIN_NT-5.1 rookie 1.7.0(0.212/5/3) 2009-09-11 01:25 i686 Cygwin

$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Quad CPU    Q8200  @ 2.33GHz
stepping        : 10
cpu MHz         : 2327
cache size      : 2048 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pni monitor
ds_cpl tm2 est cx16
TLB size        : 0 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

No antivirus, no firewall and I hope no BLODA.

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]