delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/01/10:42:54

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Thu, 01 Oct 2009 16:42:38 +0200
From: "Vincent R." <forumer AT smartmobili DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Re: coredump when compiling gettext from source
In-Reply-To: <4AC4B649.4080904@cwilson.fastmail.fm>
References: <1f98d64ea20cc887be61e8a4fd98dd17 AT mail DOT smartmobili DOT com> <e60f4f38aef4a50d8052f4272ab4d66e AT mail DOT smartmobili DOT com> <fab74937011901fa8d140ff596106fb3 AT mail DOT smartmobili DOT com> <20091001134629 DOT GJ7193 AT calimero DOT vinschen DOT de> <c83909c9e70ddf4b8cfb91a66dcca21c AT mail DOT smartmobili DOT com> <4AC4B649 DOT 4080904 AT cwilson DOT fastmail DOT fm>
Message-ID: <b0f7d24355e8bb9852c87b0ad3301aa7@mail.smartmobili.com>
X-Sender: forumer AT smartmobili DOT com
User-Agent: RoundCube Webmail/0.2
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Thu, 01 Oct 2009 10:01:45 -0400, Charles Wilson
<cygwin AT cwilson DOT fastmail DOT fm> 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
latest
>> 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:

./configure
make


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

$ less ld.exe.stackdump

Exception: STATUS_ACCESS_VIOLATION at eip=0044B9E9
eax=00000001 ebx=00000024 ecx=0077CD68 edx=007848D0 esi=6F5C701C
edi=00AFC130
ebp=0022C948 esp=0022C8E0 program=C:\cygwin\bin\ld.exe, pid 276, thread
main
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:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019