- <para>If in doubt, just report it.</para>
- </sect2>
-
- <sect2>
- <title>What to put in a bug report</title>
- <indexterm><primary>bug reports</primary><secondary>contents</secondary></indexterm>
-
- <para>The name of the bug-reporting game is: facts, facts,
- facts. Don't omit them because “Oh, they won't be
- interested…”</para>
-
- <orderedlist>
- <listitem>
- <para>What kind of machine are you running on, and exactly
- what version of the operating system are you using? (on a
- Unix system, <command>uname -a</command> or <command>cat
- /etc/motd</command> will show the desired information.) In
- the bug tracker, this information can be given in the
- “Architecture” and “Operating
- system” fields.</para>
- </listitem>
-
- <listitem>
- <para>What version of GCC are you using? <command>gcc -v</command> will tell you.</para>
- </listitem>
-
- <listitem>
- <para>Run the sequence of compiles/runs that caused the
- offending behaviour, cut-and-paste the whole session into
- the bug report. We'd prefer to see the whole thing.</para>
- </listitem>
-
- <listitem>
- <para>Add the -v flag when running GHC, so we can see exactly
- what was run, what versions of things you have, etc.</para>
- </listitem>
-
- <listitem>
- <para>What is the program behaviour that is wrong, in your
- opinion?</para>
- </listitem>
-
- <listitem>
- <para>If practical, please attach or send enough source
- files for us to duplicate the problem.</para>
- </listitem>
-
- <listitem>
- <para>If you are a Hero and track down the problem in the
- compilation-system sources, please send us patches (either
- <literal>darcs send</literal>, plain patches, or just whole
- files if you prefer).</para>
- </listitem>
- </orderedlist>
- </sect2>