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

Tim Northover <t.p.northo...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED
                 CC|                            |t.p.northo...@gmail.com

--- Comment #2 from Tim Northover <t.p.northo...@gmail.com> ---
Yep, looks right to me. If you're linking a PIE executable (which your GCC
seems to default to and is reasonably sensible) then all your object files need
to be PIC. The way you do that on llc is via -relocation-model=pic.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to