[llvm-bugs] [Bug 41894] New: 8.0.0 fails to build on linux/mips64el

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 16 00:28:31 PDT 2019


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

            Bug ID: 41894
           Summary: 8.0.0 fails to build on linux/mips64el
           Product: libraries
           Version: 8.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: MIPS
          Assignee: unassignedbugs at nondot.org
          Reporter: sylvestre at debian.org
                CC: llvm-bugs at lists.llvm.org
            Blocks: 41221

In file included from
/<<PKGBUILDDIR>>/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_linux.cc:22:
/<<PKGBUILDDIR>>/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:343:72:
error: size of array 'assertion_failed__73' is negative
     typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1]
                                                                        ^
/<<PKGBUILDDIR>>/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:337:30:
note: in expansion of macro 'IMPL_COMPILER_ASSERT'
 #define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__)
                              ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_linux.cc:73:1:
note: in expansion of macro 'COMPILER_CHECK'
 COMPILER_CHECK(struct_kernel_stat_sz == sizeof(struct stat));
 ^~~~~~~~~~~~~~


Details can be found on:
https://reviews.llvm.org/D59702
and fixed here:
https://reviews.llvm.org/rL360825

Without the patch:
https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-8&arch=mips64el&ver=1%3A8-4&stamp=1556705174&raw=0


With the patch:
https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-8&arch=mips64el&ver=1%3A8-5&stamp=1557883106&raw=0


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=41221
[Bug 41221] [meta] 8.0.1 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/20190516/82c439e9/attachment.html>


More information about the llvm-bugs mailing list