From: "Walter Dnes" <waltdnes@waltdnes.org>
To: Gentoo Users List <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] If I avaoided pic/PIC/pie; would it help/hurt?
Date: Tue, 5 Dec 2017 17:48:52 -0500 [thread overview]
Message-ID: <20171205224852.GA19788@waltdnes.org> (raw)
I'm looking at going with...
CFLAGS="-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe -fno-pic -fno-PIC -fno-pie -fno-unwind-tables -fno-asynchronous-unwind-tables"
CXXFLAGS="${CFLAGS}"
...and with -pic in USE. This is the mirror image of the defaults. Any
obvious problems, aside from losing a bit of security? In case you're
wondering about the "pic" USE flag...
[d531][waltdnes][~] grep ":pic " /usr/portage/profiles/use.local.desc
app-arch/gzip:pic - disable optimized assembly code that is not PIC friendly
app-benchmarks/ramspeed:pic - Force shared libraries to be built as PIC (this is slower)
app-emulation/open-vm-tools:pic - Force shared libraries to be built as PIC
dev-util/electron:pic - Disable optimized assembly code that is not PIC friendly
games-emulation/yabause:pic - disable optimized assembly code that is not PIC friendly
games-fps/duke3d:pic - disable optimized assembly code that is not PIC friendly
gnome-base/orbit:pic - Force libname-server-2 to be built as PIC; needed on hardened systems
media-libs/libpostproc:pic - Force shared libraries to be built as PIC (this is slower).
media-libs/mesa:pic - disable optimized assembly code that is not PIC friendly
media-libs/x264:pic - disable optimized assembly code that is not PIC friendly
media-libs/x265:pic - Disable optimized assembly code that is not PIC friendly
media-libs/xvid:pic - disable optimized assembly code that is not PIC friendly
media-video/ffmpeg:pic - Force shared libraries to be built as PIC (this is slower)
media-video/libav:pic - Force shared libraries to be built as PIC (this is slower).
media-video/transcode:pic - disable optimized assembly code that is not PIC friendly
www-client/chromium:pic - Disable optimized assembly code that is not PIC friendly
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
next reply other threads:[~2017-12-05 22:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-05 22:48 Walter Dnes [this message]
2017-12-05 23:34 ` [gentoo-user] If I avaoided pic/PIC/pie; would it help/hurt? Nils Holland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171205224852.GA19788@waltdnes.org \
--to=waltdnes@waltdnes.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox