Michael Hope michael.hope@linaro.org writes:
Hi there. I've looked further into the intermittent gcc/testsuite/g++.dg/cdce3.C test failures. Taking Ira's vectoriser-only fix-pr51301-4.6 branch and comparing it with it's predecessor r106845:
- cdce3.o itself is identical across compilers
- Fault occurs in a parallel test run as part of the normal auto build
- Fault occurs every time
- Fault occurs with a manual 'make check-gcc RUNTESTFLAGS="dg.exp=cdce*'
- Fault doesn't occur when building from the command line
- Fault doesn't occur after updating binutils
I'm suspicious of the linker. The auto builders are Natty based and come with ld 2.21.0.20110327. Updating them to Oneiric's 2.21.53.20110810 clears the problem.
Hmm, FWIW, this reminds me of the problems that I had reproducing the chromium linker bug from way back (which I think was also on Natty). The bug only triggered for me when building under dpkg-buildpackage. If I ran (seemingly) the same command by hand, it worked OK.
Richard