http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46916
--- Comment #20 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-12-14 14:02:47 UTC --- (In reply to comment #13) > I think this is a different problem - those messages are characteristic of > dsymutil missing an input file. This might be related to the changes > made to call dsymutil within collect2. This is also seen in http://gcc.gnu.org/ml/gcc-testresults/2010-12/msg01197.html > Is it possible to isolate the command and run it with -v ? and/or -Wl,-debug ? Well, it seems to be another "Heisenfailure"!-(private joke with Iain): if I run the test alone, it succeeds but fails when tested as part of the full g++ suite. [macbook] build_w/gcc% make -k check-g++ RUNTESTFLAGS="tree-prof.exp --target_board=unix'{-m32,-m64}'" ... Skip common boring details ... `if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo ${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool g++ tree-prof.exp --target_board=unix'{-m32,-m64}' $runtestflags) WARNING: Couldn't find the global config file. Test Run By dominiq on Tue Dec 14 14:03:25 2010 Native configuration is x86_64-apple-darwin10.5.0 === g++ tests === Schedule of variations: unix/-m32 unix/-m64 Running target unix/-m32 Using /sw64/share/dejagnu/baseboards/unix.exp as board description file for target. Using /sw64/share/dejagnu/config/unix.exp as generic interface file for target. Using /opt/gcc/work/gcc/testsuite/config/default.exp as tool-and-target-specific interface file. Running /opt/gcc/work/gcc/testsuite/g++.dg/tree-prof/tree-prof.exp ... === g++ Summary for unix/-m32 === # of expected passes 24 Running target unix/-m64 Using /sw64/share/dejagnu/baseboards/unix.exp as board description file for target. Using /sw64/share/dejagnu/config/unix.exp as generic interface file for target. Using /opt/gcc/work/gcc/testsuite/config/default.exp as tool-and-target-specific interface file. Running /opt/gcc/work/gcc/testsuite/g++.dg/tree-prof/tree-prof.exp ... === g++ Summary for unix/-m64 === # of expected passes 24 === g++ Summary === # of expected passes 48 /opt/gcc/build_w/gcc/testsuite/g++/../../g++ version 4.6.0 20101213 (experimental) [trunk revision 167770p4] (GCC) [macbook] build_w/gcc% make -k check-g++ RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'" ... Skip common boring details ... `if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo ${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool g++ --target_board=unix'{-m32,-m64}' $runtestflags) WARNING: Couldn't find the global config file. Test Run By dominiq on Tue Dec 14 14:03:59 2010 Native configuration is x86_64-apple-darwin10.5.0 === g++ tests === Schedule of variations: unix/-m32 unix/-m64 Running target unix/-m32 ... Skip boring details ... Running /opt/gcc/work/gcc/testsuite/g++.dg/dg.exp ... WARNING: g++.dg/ext/label13.C compilation failed to produce executable ... Skip boring details ... Running /opt/gcc/work/gcc/testsuite/g++.dg/torture/stackalign/stackalign.exp ... FAIL: g++.dg/torture/stackalign/eh-alloca-1.C -O3 -g execution test FAIL: g++.dg/torture/stackalign/eh-vararg-1.C -O3 -g execution test FAIL: g++.dg/torture/stackalign/eh-vararg-2.C -O3 -g execution test FAIL: g++.dg/torture/stackalign/eh-alloca-1.C -O3 -g execution test FAIL: g++.dg/torture/stackalign/eh-vararg-1.C -O3 -g execution test FAIL: g++.dg/torture/stackalign/eh-vararg-2.C -O3 -g execution test Running /opt/gcc/work/gcc/testsuite/g++.dg/tree-prof/tree-prof.exp ... FAIL: g++.dg/tree-prof/partition2.C compilation, -g -fprofile-use FAIL: g++.dg/tree-prof/partition2.C compilation, -O3 -g -fprofile-use Running /opt/gcc/work/gcc/testsuite/g++.dg/vect/vect.exp ... Running /opt/gcc/work/gcc/testsuite/g++.old-deja/old-deja.exp ... === g++ Summary for unix/-m32 === # of expected passes 26164 # of unexpected failures 8 # of expected failures 157 # of unresolved testcases 2 # of unsupported tests 176 Running target unix/-m64 ... Skip boring details ... Running /opt/gcc/work/gcc/testsuite/g++.dg/dg.exp ... WARNING: g++.dg/ext/label13.C compilation failed to produce executable ... Skip boring details ... Running /opt/gcc/work/gcc/testsuite/g++.dg/tree-prof/tree-prof.exp ... FAIL: g++.dg/tree-prof/partition2.C compilation, -g -fprofile-use FAIL: g++.dg/tree-prof/partition2.C compilation, -O3 -g -fprofile-use Running /opt/gcc/work/gcc/testsuite/g++.dg/vect/vect.exp ... Running /opt/gcc/work/gcc/testsuite/g++.old-deja/old-deja.exp ... === g++ Summary for unix/-m64 === # of expected passes 26410 # of unexpected failures 2 # of expected failures 157 # of unresolved testcases 2 # of unsupported tests 370 === g++ Summary === # of expected passes 52574 # of unexpected failures 10 # of expected failures 314 # of unresolved testcases 4 # of unsupported tests 546 /opt/gcc/build_w/gcc/testsuite/g++/../../g++ version 4.6.0 20101213 (experimental) [trunk revision 167770p4] (GCC) make[1]: [check-parallel-g++] Error 1 (ignored) I'll test the patch in comment #19 (I love the - in the diff files!-).