On 6 March 2012 16:55, Ulrich Weigand Ulrich.Weigand@de.ibm.com wrote:
Hello,
since this long-standing problem just hit me again, I had a quick look at test failures in our farm that appear to occur whenever the directory name contains a string that is being checked for via a "scan-assembler" test, e.g.:
+FAIL: gcc.target/arm/sat-1.c scan-assembler-times ssat 4 +FAIL: gcc.target/arm/sat-1.c scan-assembler-times usat 4
I had been assuming this happens because the directory name somehow finds its name into the assembler file, e.g. via a .file directive or DWARF data, and therefore an additional instance of the search string is being detected erroneously.
However, when I attemted to re-create the scenario by building myself within a directory that has the same name, but on my local machine, the tests when through fine. And indeed, inspecting the assembler source shows that that there is no debug info at all; while there is a .file directive, it contains just the file base name without any directory name; and in fact the directory name does not show up at all within the assembler file.
Something must still be different in the runs that take place on the build farm; but I currently do not understand what that might be.
Is it possible that the version string has the name of the branch ? That's the only thing I can think of that could be different and could cause this problem.
In this : http://ex.seabright.co.nz/build/gcc-linaro-4.7+bzr114970~uweigand~usatssat-4...
I see -
/scratch/cbuild/slave/slaves/oort1/gcc-linaro-4.7+bzr114970~uweigand~usatssat-4.7/gcc/default/build/gcc/xgcc version 4.7.0 20120214 (experimental) [gcc-linaro/usatssat-4.7 revision 114970] (GCC)
Is it the version string rather than the directory name ?
Ramana
Michael, is there a way to interact with the build process on the build farm machines themselves to try and find out what's going on here?
Mit freundlichen Gruessen / Best Regards
Ulrich Weigand
-- Dr. Ulrich Weigand | Phone: +49-7031/16-3727 STSM, GNU compiler and toolchain for Linux on System z and Cell/B.E. IBM Deutschland Research & Development GmbH Vorsitzende des Aufsichtsrats: Martina Koederitz | Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft: Böblingen | Registergericht: Amtsgericht Stuttgart, HRB 243294