Crashing in 32-bit but works on 64-bit

Vladimir Simonov sv@sw.ru
Fri Jul 22 15:12:00 GMT 2011


On 07/22/2011 05:48 PM, Mitesh Thakkar wrote:
> Axel and Ian, you both are right there are many possibilities.
> Sorry, I forgot to mention gcc version. It is as below:

> On Fri, Jul 22, 2011 at 6:52 PM, Ian Lance Taylor<iant@google.com>  wrote:
>> Mitesh Thakkar<mail.mthakkar@gmail.com>  writes:
>>
>>> On Fri, Jul 22, 2011 at 3:09 PM, Mitesh Thakkar<mail.mthakkar@gmail.com>  wrote:
>>>> Hi All,
>>>>
>>>> I have developed one custom application in C.
>>>> It is running fine in CentOS 5.6 64-bit, but it is crashing in CentOS
>>>> 5.6 32-bit.
>>>> I am not finding any reason/conclusion for it.
>>>> Can anyone help me for it.
>>>
>>> Interestingly, it is not crashing on 32-bit if I give -O0 (I mean do
>>> not optimize).
>>> What could be the reason.
Hi,

It looks like you have to build your application with
-g and -O2 (or your optimization level) and take a look
what is happening on crash with gdb.

I afraid nobody is capable to help you with the problem.

Regards
Vladimir



More information about the Gcc-help mailing list