[PATCH] D42825: Fix typo: --nopie -> --no-pie.

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 20 15:02:45 PST 2018


FWIW I'm in agreement here. I'm assuming based on the commentary that as a
new set of sources is brought into ports for the toolchain that we can't
also change the nopie->no-pie in ports? Or maybe a local patch to allow
both for a period of time while the migration is done?

-eric

On Tue, Feb 20, 2018 at 11:53 AM Rui Ueyama via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> At least on my Linux machine, if you pass `-nopie` to ld.bfd, looks like
> it is interpreted as `-n -o pie`, so it creates "pie" as an output file. If
> you pass `-o foo` after `-nopie`, `-o pie` is silently ignored and the
> output file is set to `foo`. That's extremely confusing and error-prone.
> That makes me believe that we really shouldn't accept `-nopie`.
>
> On Mon, Feb 19, 2018 at 8:59 PM, Ed Maste <emaste at freebsd.org> wrote:
>
>> On 19 February 2018 at 23:41, Rui Ueyama <ruiu at google.com> wrote:
>> > I was thinking that -nopie is an OpenBSD-local extension, but does that
>> mean
>> > FreeBSD also accept that flag?
>>
>> There's no -nopie flag in FreeBSD's toolchain.
>>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180220/f60cec1e/attachment.html>


More information about the llvm-commits mailing list