Przemyslaw,

I'm not able to get a stack dump :( (it's a long story, gdb is not up to date
with the rest of the GCC tool chain I'm using)

But I've found that the problem comes from rt_hvma.prg lines 191 and 192
(commented as operators precedence).

If I comment them the build goes on, If I uncomment just one of them (it does
not matter which one) I get the SIGFPE.

I'm still trying to find a way to have a back trace and/or a map file sice I
have the cp:eip of the SIGFPE.

Maurilio.


Przemyslaw Czerpak wrote:
> On Mon, 22 Sep 2008, Maurilio Longo wrote:
> 
> Hi Maurilio,
> 
>> I'm trying to buil harbour on OS/2 with GCC, I'm getting this:
> 
>> ../../../../source/main/os2/gcc/harbour.exe ../../rt_hvma.prg -n -q0 -w3 
>> -es2 -k
>> m -I../../../../include
>> Killed by SIGFPE
>> pid=0x62a5 ppid=0x628a tid=0x0001 slot=0x00e3 pri=0x0200 mc=0x0001
>> E:\REPOSITORY\HARBOUR-SVN\SOURCE\MAIN\OS2\GCC\HARBOUR.EXE
>> LIBC063 0:0005547a
>> cs:eip=005b:1d67547a      ss:esp=0053:0217eab0      ebp=0217eb28
>>  ds=0053      es=0053      fs=150b      gs=0000     efl=00010206
>> eax=00000000 ebx=40100000 ecx=40100000 edx=00000000 edi=40100000 esi=40100000
>> Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.
>> make[1]: *** [rt_hvma.c] Error 127
>> make[1]: Leaving directory `/repository/harbour-svn/utils/hbtest/os2/gcc'
>> make: *** [descend] Error 2
>> Is there something already known here 
> 
> I see it 1-st time. I'm using about 10 different GCC builds and
> I've never noticed this problem. I also do not remember that
> David have ever reported sth like that.
> 
>> or do I have to build it with full debug
>>  info to get a stack trace?
> 
> If you can then it would greatly help to locate the problem.
> 
>> Every thing else seems to build correctly, though.
> 
> It's possible that this problem is local to GCC builds anyhow
> it should be located and fixed. But I will need C call stack
> to say sth more. I've just made some tests in Linux and valgrind
> and rt_hvma.prg is compiled correctly without any problems.
> 
> best regards,
> Przemek
> _______________________________________________
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
> 

-- 
 __________
|  |  | |__| Maurilio Longo
|_|_|_|____| farmaconsult s.r.l.


_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to