Program terminated with signal SIGFPE, Arithmetic exception
my host is x86_64 and run hosted redhat server5.4 X86_64,
i complies my code with -m32 option open, my code run smoothly in
my host, but when it installed on redhat9.0 host(x86_32)
the error occurs and the output is :
"Program terminated with signal SIGFPE, Arithmetic exception"
but thought whole my code, there no divide operators,
i write the "hello world" program, the same problem also occurs
how should i do?
Have you tried running it with gdb? That ought to show you where the problem is. You may not have any div instructions in your code, but the executable is very likely linked to something that does.
And you may need to rebuild on the target host: see https://bugzilla.redhat.com/show_bug.cgi?id=213252
|All times are GMT -5. The time now is 04:48 AM.|