Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

hardened -> desktop switch

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
LukynZ
Apprentice
Apprentice
User avatar
Posts: 230
Joined: Fri Dec 19, 2008 11:56 am
Location: The Czech Republic

hardened -> desktop switch

  • Quote

Post by LukynZ » Sun Apr 13, 2014 9:02 am

Is entire world reemerge really necessary? Or just packages with pax_kernel use flag and gcc itsefl will be fine?
Top
Moonboots
Apprentice
Apprentice
Posts: 164
Joined: Sat Dec 02, 2006 5:50 am

Re: hardened -> desktop switch

  • Quote

Post by Moonboots » Tue Apr 15, 2014 4:43 pm

LukynZ wrote:Is entire world reemerge really necessary? Or just packages with pax_kernel use flag and gcc itsefl will be fine?
Certainly when you change from a hardened profile you're going to lose the "hardened" flag and gain some others that were previously masked.
emerge --newuse etc will reveal those packages that are in need of re-emerging.
Weather you need to re-emerge the entire world i'm not sure, perhaps if there are no problems ?........
Top
mv
Watchman
Watchman
User avatar
Posts: 6795
Joined: Wed Apr 20, 2005 12:12 pm

  • Quote

Post by mv » Tue Apr 15, 2014 9:17 pm

After emerging hardened gcc you should recompile everything in order to make use of the hardened CFLAGS which implicitly go with hardened gcc.
Otherwise, your binaries will e.g. not use PIE, even if corresponding support is activated in your kernel.
Top
Moonboots
Apprentice
Apprentice
Posts: 164
Joined: Sat Dec 02, 2006 5:50 am

  • Quote

Post by Moonboots » Wed Apr 16, 2014 6:32 am

mv wrote:After emerging hardened gcc you should recompile everything in order to make use of the hardened CFLAGS which implicitly go with hardened gcc.
Otherwise, your binaries will e.g. not use PIE, even if corresponding support is activated in your kernel.
Unless I've misread the post he wants to go in the opposite direction ie from a hardened to non-hardened profile (desktop) ?
Top
mv
Watchman
Watchman
User avatar
Posts: 6795
Joined: Wed Apr 20, 2005 12:12 pm

  • Quote

Post by mv » Wed Apr 16, 2014 9:11 am

Moonboots wrote:Unless I've misread the post he wants to go in the opposite direction
That should be no problem. Of course, the binaries will remain slower (e.g. because of the implicit -fstack-protector-all) until recompiled.
Top
Post Reply

5 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic