Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jan 2017 23:15:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 216587] cc should accept -pie argument
Message-ID:  <bug-216587-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216587

            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: yuri@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 executa=
ble
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216587-8>