This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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:Hi,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.
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.
Regards Vladimir
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |