[llvm-bugs] [Bug 35810] New: trunk: -mcmodel=medium and thread local cause select failure

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jan 3 13:48:00 PST 2018


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

            Bug ID: 35810
           Summary: trunk: -mcmodel=medium and thread local cause select
                    failure
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: eric.schweitz at pgroup.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 19621
  --> https://bugs.llvm.org/attachment.cgi?id=19621&action=edit
bitcode to reproduce

% clang -mcmodel=medium bug.bc
fatal error: error in backend: Cannot select: t10: i64 = X86ISD::WrapperRIP
      TargetGlobalTLSAddress:i64<i32* @i> 0 [TF=10]
  t9: i64 = TargetGlobalTLSAddress<i32* @i> 0 [TF=10]
In function: foo
clang-6.0: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 6.0.0 (http://llvm.org/git/clang.git
40e9a74cba88c271af3407dad30006386881097b) (http://llvm.org/git/llvm.git
981877461a4a4387994841065d35f4897fe8dfeb)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/clang/clang-latest/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: Error generating preprocessed source(s) - no
preprocessable inputs.

-- 
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/20180103/0234c5ba/attachment.html>


More information about the llvm-bugs mailing list