[llvm-bugs] [Bug 45061] New: hurd.c test fails on a two-stage ThinLTO build

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Feb 28 11:08:07 PST 2020


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

            Bug ID: 45061
           Summary: hurd.c test fails on a two-stage ThinLTO build
           Product: clang
           Version: 10.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: alexandre.ganea at ubisoft.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk
            Blocks: 44555

When running a two-stage ThinLTO build on Windows, where the second stage uses
these commands:

        > set OPT_SKYLAKE=/GS- /D_ITERATOR_DEBUG_LEVEL=0 -Xclang -O3 -Xclang
-fwhole-program-vtables -fstrict-aliasing -march=skylake-avx512
        > cmake "-DLLVM_LIT_ARGS=-sv -j 36" -G"Ninja" %ROOT%/llvm
-DCMAKE_BUILD_TYPE=Release -DLLVM_OPTIMIZED_TABLEGEN=true
-DLLVM_ENABLE_LIBXML2=OFF -DLLVM_USE_CRT_RELEASE=MT
-DCMAKE_C_COMPILER="%STAGE1%/bin/clang-cl.exe"
-DCMAKE_CXX_COMPILER="%STAGE1%/bin/clang-cl.exe"
-DCMAKE_LINKER="%STAGE1%/bin/lld-link.exe" -DLLVM_ENABLE_LLD=ON
-DLLVM_ENABLE_PDB=ON -DLLVM_ENABLE_PROJECTS="llvm;clang;lld"
-DCMAKE_CXX_FLAGS="%OPT_SKYLAKE%" -DCMAKE_C_FLAGS="%OPT_SKYLAKE%"
-DLLVM_ENABLE_LTO=THIN -DCLANG_TABLEGEN="%STAGE1%/bin/clang-tblgen.exe"
-DLLVM_TABLEGEN="%STAGE1%/bin/llvm-tblgen.exe" 
        > ninja check-all

The test `hurd.c` fails. I will post a fix shortly.

Occurs in release/10.x.


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=44555
[Bug 44555] [meta] 10.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/20200228/936d5772/attachment.html>


More information about the llvm-bugs mailing list