https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216587

            Bug ID: 216587
           Summary: cc should accept -pie argument
           Product: Base System
           Version: 11.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: y...@rawbw.com

I am getting these warnings while compiling qTox:
> c++: warning: argument unused during compilation: '-pie'

People add the options -pie and -fPIE with the expectation that PIC executable
will enable ASLR.

It looks like ASLR project on FreeBSD stalled: https://reviews.freebsd.org/D473
 https://forums.freebsd.org/threads/54771

But regardless of this, why isn't compiler able to build PIC code anyway? I
think -pie should work.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to