> You're right. It seems to work OK with 'cc', but > but these 3 benchmarks > also fail with gcc 3.4.3 (which is the version that > is part of Solaris10 > right now). I'm on Nevada build 14.
This seems to be related to the gcc optimizer. I added a "printf()" to the "if" loop in siglongjmp.c:benchmark() and the problem went away. Compiling these benchmarks under gcc without the -O flag also works. Something important seems to be getting optmized out... :P Same goes for longjmp, and connection.... This message posted from opensolaris.org _______________________________________________ perf-discuss mailing list perf-discuss@opensolaris.org