If the compilation error is not easily explainable, try with minimal CFLAGS and CXXFLAGS before
submitting the bug report.
If the compilation fails with a compiler internal error, or with a compiler segmentation fault,
then before submitting the bug realize that probably the error is not due to the ebuild, but is
caused by your local system: possible reasons could be bad RAM, overheated/overclocked CPU,
a broken compiler or broken glibc libraries. A good test to see if the bug is valid is to see
if the compilation always stops exactly at the same spot.
Always paste the output of 'emerge info' in the report. Normally doing this is useful, but in case
of compilation errors it's absolutely needed. You should provide all other informations that can
be relevant, too.
Include the name and version of the package in the Subject, e.g. "package-0.1.2 compilation fails".