[llvm-bugs] [Bug 46920] New: FAIL: Clang :: Driver/crash-report-modules.m

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 30 14:22:08 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=46920

            Bug ID: 46920
           Summary: FAIL: Clang :: Driver/crash-report-modules.m
           Product: clang
           Version: 11.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: mgorny at gentoo.org
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk
            Blocks: 46725

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     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            .
            .
            .
>>>>>>

--

********************


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=46725
[Bug 46725] [meta] 11.0.0 Release Blockers
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200730/fa05edc5/attachment.html>


More information about the llvm-bugs mailing list