Thu Nov 6 15:03:00 GMT 2008
Vardhan, Sundara (GE Infra, Energy) wrote:
> I compiled my application with gcc4.2.4 and I keep getting spin lock
> errors. The same application, when compiled with gcc 4.1.1, had no
> issues. I am using -march=pentiumpro as compile option as I am using
> __sync_lock_test_and_set() calls for spin locks. Any reason that these
> errors should occur when application is compiled with 4.2.4? I would
> very much appreciate your help and advice.
As usual, we really need an example test case to give you any meaningful
answers. I know that producing test cases can be difficult, but it is
almost always worthwhile.
More information about the Gcc-help