delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2006/09/05/16:30:48

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Authenticated: #27081556
From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
To: djgpp-workers AT delorie DOT com
Subject: Difficulties compiling gperf-3.0.2
Date: Tue, 5 Sep 2006 22:29:50 +0200
User-Agent: KMail/1.8.2
MIME-Version: 1.0
Message-Id: <200609052229.50832.juan.guerrero@gmx.de>
X-Y-GMX-Trusted: 0
Reply-To: djgpp-workers AT delorie DOT com

While I was trying to port  gperf-3.0.2 I have got the following error:

gcc -c -g -O2 ./test2.c
../src/gperf -k4 -t -l -I -K foreign_name < ./lang-ucs2.gperf > lu2inset.c
gcc -g -O2 -o lu2out lu2inset.c test2.o
testing UCS-2 encoded languages, all items should be found in the set
./lu2out -v < ./lang-ucs2.in > lang-ucs2.out
Exiting due to signal SIGSEGV
Stack Fault at eip=000024c1
eax=00000000 ebx=00700073 ecx=0045000a edx=00000001 esi=00f10061 edi=006c006f
ebp=0053000a esp=00450006 program=C:\P\SRCS\GNU\GPERF-3.0-2\TESTS\LU2OUT
cs: sel=0197  base=835f4000  limit=0009ffff
ds: sel=019f  base=835f4000  limit=0009ffff
es: sel=019f  base=835f4000  limit=0009ffff
fs: sel=0177  base=0002a410  limit=0000ffff
gs: sel=01af  base=00000000  limit=0010ffff
ss: sel=019f  base=835f4000  limit=0009ffff
App stack: [00090b60..00010b60]  Exceptn stack: [00010ac0..0000eb80]

Call frame traceback EIPs:
  0x000024c1 main+257, file c:/p/srcs/gnu/gperf-3.0-2/tests/./test2.c, line 69
make.exe: *** [check-lang-ucs2] Error -1

The above output has been send to bfdsymify. bfdsymify also produced the
following error message:

C:\p\srcs\gnu\gperf-3.0-2\tests>bfdsymify -o 2.txt -i 1.txt lu2out -v < lang-ucs2.in > lang-ucs2.out
BFD: BFD 2.15.90 20040301 assertion fail simple.c:163
BFD: BFD 2.15.90 20040301 assertion fail simple.c:163
BFD: BFD 2.15.90 20040301 assertion fail simple.c:163

The line 69 in test2.c is the last line with closing function brace.
I have compiled with gcc/gpp 4.1.1 using djdev203 on Win98 und djdev204 on WinXP.
Both fail with the same error messages.
 
Any ideas what is going wrong here?


Regards,
Juan M. Guerrero

- Raw text -


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