<div dir="ltr">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`.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 19, 2018 at 8:59 PM, Ed Maste <span dir="ltr"><<a href="mailto:emaste@freebsd.org" target="_blank">emaste@freebsd.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 19 February 2018 at 23:41, Rui Ueyama <<a href="mailto:ruiu@google.com">ruiu@google.com</a>> wrote:<br>
> I was thinking that -nopie is an OpenBSD-local extension, but does that mean<br>
> FreeBSD also accept that flag?<br>
<br>
</span>There's no -nopie flag in FreeBSD's toolchain.<br>
</blockquote></div><br></div>