[llvm-bugs] [Bug 39818] New: Unable to build GDB 8.2 with Clang 6

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Nov 28 01:34:33 PST 2018


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

            Bug ID: 39818
           Summary: Unable to build GDB 8.2 with Clang 6
           Product: clang
           Version: 6.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: iarspider at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

When trying to build Gdb 8.2 with clang 6 (built with gcc 6.2), the build
fails:

```
Did not see access type in access path!
  %41 = load i8*, i8** %object_base, align 8, !dbg !10479, !tbaa !10480
!10480 = !{!9899, !6715, i64 16}
Did not see access type in access path!
  %83 = load i8*, i8** %next_free57, align 8, !dbg !10549, !tbaa !10550
!10550 = !{!9899, !6715, i64 24}
Did not see access type in access path!
  store i8* %add.ptr58, i8** %next_free57, align 8, !dbg !10549, !tbaa !10550
!10550 = !{!9899, !6715, i64 24}
fatal error: error in backend: Broken function found, compilation aborted!
clang-6.0: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 6.0.0 (tags/RELEASE_600/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir:
/cvmfs/sft.cern.ch/lcg/releases/clang/6.0.0-6647e/x86_64-centos7-gcc62-opt/bin
clang-6.0: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang-6.0: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-6.0: note: diagnostic msg: /tmp/minsyms-cc415f.cpp
clang-6.0: note: diagnostic msg: /tmp/minsyms-cc415f.sh
clang-6.0: note: diagnostic msg: 

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

```

Full build log: also attached

-- 
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/20181128/80ad6f36/attachment-0001.html>


More information about the llvm-bugs mailing list