This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Segmentation fault after compilation with gcc-3.4 on 64-bit Linux
- From: Alireza Haghdoost <haghdoost at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 1 Aug 2009 18:58:28 +0430
- Subject: Segmentation fault after compilation with gcc-3.4 on 64-bit Linux
Dear All
I have a big ANSI-C application which should compile by gcc 3.4 or
earlier gcc versions, It works fine on any 32-bit Linux but when I
compile it on 64-bit one, application execution failed by Segmentation
fault error. I mean that gcc-3.4 on 64-bit machine compiles my
application well but when I try to run compiled application, it failed
by Segmentation Fault error.
I have tried several compilation Flags like -mtune=nocona and -m64 but
no one works for me and I still have Segmentation fault in the
execution of my application only on 64-bit Linux.
I will appreciate if some one here can help me.
---
Best regards,
Alireza Haghdoost