Re: Problem when using optimization on aix 5.2 and gcc 4.1.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thomas Mittelstaedt writes:

 > We have a large app with a lot of static libraries in it (and I mean a  
 > lot, about 20) and it compiles and links successfully. If I compile it  
 > without optimiztion turned on
 > (-O2 or some more subtle with -O and others), the program also runs.
 > With optimizations, though, the program would crash.
 > 
 > Entailed is the gdb stacktrace. We use the native linker of aix and are  
 > updated to the latest bos packages for 5.2.
 > 
 > Thanks for hints!

Redirected to gcc-help.

I suggest, to begin with, that you try running your program under
Valgrind.  Also, be very sure to compile your program with -Wall and
fix whatever warnings you come across.

Then, if the problem persists even with no complaints from Valgrind or
the compiler, get back to us.

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux