forked from InBetweenNames/gentooLTO
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add -fipa-pta, -fdevirtualize-at-ltrans to default flags Make ld.gold default GentooLTO linker Remove older ltoize versions Rename some variables Add new definitions Signed-off-by: Shane Peelar <[email protected]>
- Loading branch information
1 parent
df5fbe1
commit 48776d9
Showing
9 changed files
with
97 additions
and
318 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
metadata/news/2019-05-22-updated-defaults/2019-05-22-updated-defaults.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
Title: GentooLTO updated default flags | ||
Author: Shane Peelar <[email protected]> | ||
Content-Type: text/plain | ||
Posted: 2019-05-22 | ||
Revision: 1 | ||
News-Item-Format: 1.0 | ||
|
||
A few weeks have passed since the introduction of GCC 9.1.0 and GentooLTO will | ||
now be updating the default configuration to include two new flags: | ||
|
||
* -fipa-pta | ||
* -fdevirtualize-at-ltrans | ||
|
||
These are two safe flags that don't change the semantics of your programs. | ||
Users of make.conf.lto will receive the changes transparently. Users | ||
of make.conf.lto.defines will have to manually edit their config to include | ||
these flags. No system rebuild or lto-rebuild is required. | ||
|
||
Note that these flags will increase compilation time by some amount. | ||
If you encounter build failures, please make a report or email me. | ||
|
||
GentooLTO is also now using ld.gold as the default linker. | ||
ld.bfd is still necessary for certain packages, but gold seems | ||
to give less trouble than bfd in general. A warning has been | ||
added to sys-config/ltoize to remind users to switch over. | ||
No system rebuild or lto-rebuild is required for this change. | ||
|
||
GentooLTO is also undergoing a refactor in terms of repository layout | ||
and documentation. The documentation/knowledge base is being migrated | ||
over to the GentooLTO wiki located here: | ||
|
||
https://github.com/InBetweenNames/gentooLTO/wiki | ||
|
||
and the repository layout will change such that new and different | ||
configurations will be supported. A news item will be posted | ||
when these changes occur so that you can update your system accordingly. | ||
More to come soon! | ||
|
||
All the best, | ||
-Shane |
11 changes: 11 additions & 0 deletions
11
metadata/news/2019-05-22-updated-defaults/2019-05-22-updated-defaults.txt.asc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-----BEGIN PGP SIGNATURE----- | ||
|
||
iQEzBAABCAAdFiEECNe4A5FF8/6bCpnT/UW7dtNCsA4FAlzlZe4ACgkQ/UW7dtNC | ||
sA4CKwf/UkflQydaqmNbkI4gh9Pdh+OyRxf/g4v1wpmXl/zbeegYYrL3PCqWVu/S | ||
JjzT9xkTG11gq/y8OiKmmmrBuQ1QwwKicomDM5Hkzn3tt8mm0F2O1JJodKRDj12O | ||
4BponnBUt51lxsRdk9VZ67m3UgRDNvow3AkhQfOgJeIX4Cdxfry0kgHESRzYRbbI | ||
9EekyJXCAVXwTEE9g29WDevGLAIyOvghQ1eUU4+hZAVpducQmkkMqx46irG33c3u | ||
LvUP6gPVZDznH7wy8abkTJLnZx06JB4MRPKyxfXDMhWxY57ZPHiRo4TZUSa/ULiN | ||
5SfwvmcLOm/wYT3v0owFK5iklkI34w== | ||
=XD2Z | ||
-----END PGP SIGNATURE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.