[llvm-bugs] [Bug 24981] New: The clang driver should not be emitting -pie when -r is specified
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Sep 28 19:16:29 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24981
Bug ID: 24981
Summary: The clang driver should not be emitting -pie when -r
is specified
Product: clang
Version: 3.6
Hardware: Other
OS: other
Status: NEW
Severity: normal
Priority: P
Component: Driver
Assignee: unassignedclangbugs at nondot.org
Reporter: germanandre at gmx.es
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
With an android arm toolchain, clang 3.6, I'm trying to build a project that
requires the option -r. However clang adds -pie which cause a fatal error. So I
should add the option -no-pie to prevent this. Here the linker invocation:
"/home/german/Instalados/android-toolchains/my-android-toolchain/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld"
"-pie" "-X" "--eh-frame-hdr" "-m" "armelf_linux_eabi" "-dynamic-linker"
"/system/bin/linker" "-o" "./obj/subproject.o" "-L/home/german/Inst......."
--
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/20150929/d02d1cd8/attachment-0001.html>
More information about the llvm-bugs
mailing list