GCC Testing

  • When a new GCC is in the grimoire, especially if it breaks binary compatibility, any spells failing with it should get bugs filed http://bugs.sourcemage.org.

  • Then the spell should either be patched (and the patch sent upstream) or made to use a "working" gcc.

How to make a spell using an older GCC

Example with gcc 3.4:

  • make sure there is a spell for the older version - gcc34
  • add 'depends gcc34' to DEPENDS
  • add 'GCC_VERSION=3.4' to DETAILS
  • add 'invoke_gcc' to PRE_BUILD if it uses a custom one

Note: The above used to say add 'invoke_gcc' to BUILD, but this was wrong as described in http://bugs.sourcemage.org/show_bug.cgi?id=10641

GCC_Testing (last edited 2008-09-22 23:35:01 by localhost)