<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FAIL: Clang :: Driver/crash-report-modules.m"
   href="https://bugs.llvm.org/show_bug.cgi?id=46920">46920</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FAIL: Clang :: Driver/crash-report-modules.m
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>11.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mgorny@gentoo.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>46725
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The following new test fails in 11.0.0 when building standalone.  Apparently
the bug is much older, just we haven't been tested for it.  BUG_REPORT_URL is
not set in standalone builds.


FAIL: Clang :: Driver/crash-report-modules.m (6177 of 21387)
******************** TEST 'Clang :: Driver/crash-report-modules.m' FAILED
********************
Script:
--
: 'RUN: at line 4';   rm -rf
/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/x/y/clang-abi_x86_32.x86/test/Driver/Output/crmdir
: 'RUN: at line 5';   mkdir -p
/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/x/y/clang-abi_x86_32.x86/test/Driver/Output/crmdir/i
/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/x/y/clang-abi_x86_32.x86/test/Driver/Output/crmdir/m
: 'RUN: at line 7';   env FORCE_CLANG_DIAGNOSTICS_CRASH=
TMPDIR=/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/x/y/clang-abi_x86_32.x86/test/Driver/Output/crmdir
TEMP=/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/x/y/clang-abi_x86_32.x86/test/Driver/Output/crmdir
TMP=/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/x/y/clang-abi_x86_32.x86/test/Driver/Output/crmdir
 not
/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/x/y/clang-abi_x86_32.x86/bin/clang
-fsyntax-only
/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/clang/test/Driver/crash-report-modules.m
-I
/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/clang/test/Driver/Inputs/module
-isysroot
/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/x/y/clang-abi_x86_32.x86/test/Driver/Output/crash-report-modules.m.tmp/i/
                 -fmodules
-fmodules-cache-path=/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/x/y/clang-abi_x86_32.x86/test/Driver/Output/crmdir/m/
-DFOO=BAR 2>&1 | /usr/lib/llvm/11/bin/FileCheck
/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/clang/test/Driver/crash-report-modules.m
: 'RUN: at line 11';   /usr/lib/llvm/11/bin/FileCheck --check-prefix=CHECKSRC
/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/clang/test/Driver/crash-report-modules.m
-input-file
/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/x/y/clang-abi_x86_32.x86/test/Driver/Output/crmdir/crash-report-*.m
: 'RUN: at line 12';   /usr/lib/llvm/11/bin/FileCheck --check-prefix=CHECKSH
/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/clang/test/Driver/crash-report-modules.m
-input-file
/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/x/y/clang-abi_x86_32.x86/test/Driver/Output/crmdir/crash-report-*.sh
--
Exit Code: 1

Command Output (stderr):
--
+ : 'RUN: at line 4'
+ rm -rf
/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/x/y/clang-abi_x86_32.x86/test/Driver/Output/crmdir
+ : 'RUN: at line 5'
+ mkdir -p
/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/x/y/clang-abi_x86_32.x86/test/Driver/Output/crmdir/i
/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/x/y/clang-abi_x86_32.x86/test/Driver/Output/crmdir/m
+ : 'RUN: at line 7'
+ env FORCE_CLANG_DIAGNOSTICS_CRASH=
TMPDIR=/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/x/y/clang-abi_x86_32.x86/test/Driver/Output/crmdir
TEMP=/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/x/y/clang-abi_x86_32.x86/test/Driver/Output/crmdir
TMP=/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/x/y/clang-abi_x86_32.x86/test/Driver/Output/crmdir
not
/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/x/y/clang-abi_x86_32.x86/bin/clang
-fsyntax-only
/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/clang/test/Driver/crash-report-modules.m
-I
/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/clang/test/Driver/Inputs/module
-isysroot
/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/x/y/clang-abi_x86_32.x86/test/Driver/Output/crash-report-modules.m.tmp/i/
-fmodules
-fmodules-cache-path=/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/x/y/clang-abi_x86_32.x86/test/Driver/Output/crmdir/m/
-DFOO=BAR
+ /usr/lib/llvm/11/bin/FileCheck
/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/clang/test/Driver/crash-report-modules.m
/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/clang/test/Driver/crash-report-modules.m:22:11:
error: CHECK: expected string not found in input
// CHECK: PLEASE submit a bug report to {{.*}} and include the crash backtrace,
preprocessed source, and associated run script.
          ^
<stdin>:1:1: note: scanning from here
clang-11: error: failing because environment variable
'FORCE_CLANG_DIAGNOSTICS_CRASH' is set
^
<stdin>:2:1: note: possible intended match here
PLEASE submit a bug report to and include the crash backtrace, preprocessed
source, and associated run script.
^

Input file: <stdin>
Check file:
/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/clang/test/Driver/crash-report-modules.m

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            1: clang-11: error: failing because environment variable
'FORCE_CLANG_DIAGNOSTICS_CRASH' is set
check:22'0    
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: no match found
            2: PLEASE submit a bug report to and include the crash backtrace,
preprocessed source, and associated run script.
check:22'0    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:22'1     ?                                                               
                                              possible intended match
            3: clang version 11.0.0
check:22'0     ~~~~~~~~~~~~~~~~~~~~
            4: Target: i686-pc-linux-gnu
check:22'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
            5: Thread model: posix
check:22'0     ~~~~~~~~~~~~~~~~~~~
            6: InstalledDir:
/var/tmp/portage/sys-devel/clang-11.0.0_rc1/work/x/y/clang-abi_x86_32.x86/bin
check:22'0    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            7: clang-11: note: diagnostic msg: 
check:22'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            .
            .
            .
<span class="quote">>>>>>></span >

--

********************</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [meta] 11.0.0 Release Blockers"
   href="https://bugs.llvm.org/show_bug.cgi?id=46725">Bug 46725</a>] [meta] 11.0.0 Release Blockers
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>