[llvm-bugs] [Bug 40952] New: clang crashes if -save-temps is used with -fropi/-frwpi (ARM)

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Mar 4 05:41:59 PST 2019


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

            Bug ID: 40952
           Summary: clang crashes if -save-temps is used with
                    -fropi/-frwpi (ARM)
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: konstantin.schwarz at hightec-rt.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

If clang is invoked with both -save-temps and -fropi/-frwpi, the integrated
assembler hits an assertion:
llvm-project/clang/tools/driver/cc1as_main.cpp:381: bool
ExecuteAssembler((anonymous namespace)::AssemblerInvocation &,
clang::DiagnosticsEngine &): Assertion `Opts.RelocationModel ==
"dynamic-no-pic" && "Invalid PIC model!"' failed.

-- 
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/20190304/2b5764b5/attachment.html>


More information about the llvm-bugs mailing list