On Sun, Apr 17, 2011 at 6:37 PM, Martin Spott <martin.sp...@mgras.net> wrote: > Christian Schmitt wrote: >> Martin Spott wrote: > >> The O2 flag was set for all tries but it's not the problem here. The problem >> are certain -march options. "-march=core2 -mfpmath=sse" for the Atom showed >> the error. Settung it to a more conservative "-march=prescott" makes it >> work. In this case it was a clear overoptimization. > > Well, to be more precise, it's been optimization for an incompatible > platfom ;-) > The Core2 has a slightly different instruction set from the Pentium > III, thus, if I were you, I'd let the 'native' compiler choose the > right platform optimization for you - as long as you don't compile > cross-platform.
It is certainly good advice to optimize for the correct processor, but using unsupported instructions typically result in a SIGILL not a SIGSEGV. It would help to see the actual disassembly around the fault and machine register contents. It smells like alignment problem. -- Csaba/Jester ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel