1 |
commit: 8786eb0d8eaf9eb1cde16ec775b9a779dca642e4 |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 23 16:29:21 2016 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 23 16:29:21 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/android.git/commit/?id=8786eb0d |
7 |
|
8 |
sys-devel/gcc: not needed, implemented by profile tricks. |
9 |
|
10 |
sys-devel/gcc/Manifest | 60 --- |
11 |
sys-devel/gcc/files/awk/fixlafiles.awk | 314 ------------- |
12 |
sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la | 335 -------------- |
13 |
sys-devel/gcc/files/awk/scanforssp.awk | 225 ---------- |
14 |
sys-devel/gcc/files/c89 | 20 - |
15 |
sys-devel/gcc/files/c99 | 21 - |
16 |
sys-devel/gcc/files/fix_libtool_files.sh | 69 --- |
17 |
sys-devel/gcc/files/gcc-4.7-rap.patch | 37 -- |
18 |
sys-devel/gcc/files/gcc-4.9-extra-specs.patch | 117 ----- |
19 |
sys-devel/gcc/files/gcc-4.9.2-rap.patch | 535 ----------------------- |
20 |
sys-devel/gcc/files/gcc-configure-LANG.patch | 64 --- |
21 |
sys-devel/gcc/files/gcc-configure-texinfo.patch | 16 - |
22 |
sys-devel/gcc/files/gcc-spec-env-r1.patch | 87 ---- |
23 |
sys-devel/gcc/files/gcc-spec-env.patch | 42 -- |
24 |
sys-devel/gcc/files/interix-3.5-stdint.h | 301 ------------- |
25 |
sys-devel/gcc/files/mkinfodir | 233 ---------- |
26 |
sys-devel/gcc/files/no-libs-for-startfile.patch | 15 - |
27 |
sys-devel/gcc/files/pro-police-docs.patch | 74 ---- |
28 |
sys-devel/gcc/files/scan_libgcc_linked_ssp.sh | 42 -- |
29 |
sys-devel/gcc/gcc-4.7.3.ebuild | 71 --- |
30 |
sys-devel/gcc/gcc-4.9.2.ebuild | 54 --- |
31 |
sys-devel/gcc/gcc-5.3.0.ebuild | 46 -- |
32 |
sys-devel/gcc/metadata.xml | 34 -- |
33 |
23 files changed, 2812 deletions(-) |
34 |
|
35 |
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest |
36 |
deleted file mode 100644 |
37 |
index e1153b7..0000000 |
38 |
--- a/sys-devel/gcc/Manifest |
39 |
+++ /dev/null |
40 |
@@ -1,60 +0,0 @@ |
41 |
-AUX 4.7.1/solaris-searchpath.patch 1232 SHA256 43cdf7f7c8f491d4800fa9b0fb03fcc9f5e5a2d690c23302727f5c8006bac34c SHA512 15967513a71706a27eb8c96bd7f53f347c7e97be834601be494b85aec3ed92d5c48d4611dc6478d3d58a63284c357ee91b4d8c18fe8fbd8727723d3a2960abdd WHIRLPOOL 488e0046afb68534817cc2f89de6ded52875991144e9eb12a02f0e3310e8b644e0be5ff9f501fefee4ce2f43ea135ce195c59711c8664e361b3733a062e69efb |
42 |
-AUX awk/fixlafiles.awk 7999 SHA256 637433406921f5f6fba2e19c4f89064c57e830657a1dc9a9de79709722355d80 SHA512 df7c3be2c005c23b8ff56fd44775fd8b8b0b8cb0a900bb5b78e44f1ad10f12676f01195d3bec1c25e9dc21f9369ac212be899e1c7bd3e912383fcb86d960ca1b WHIRLPOOL e825985ee96c46f5f64f1ee541c2c3865df385f07615279e91dedf5b95cebce9a454322730971bff619548fe8ba30433b6e550c4b109026c90112fef091991b2 |
43 |
-AUX awk/fixlafiles.awk-no_gcc_la 8812 SHA256 db7e27bc744ed56c37062a56f8d2173662b5900ad55beea1dae6f4a1c4f31503 SHA512 b6335cc84e39a2bb276dacca6eff7e7b20a67e406781fe79b955629455af59bd376e042fb6e2e751415b422967c44327d68f731abdf9d5c06c6f718a3dd1150d WHIRLPOOL 9d4b4a661923e379fc9ee1b37b3710b9751677b839b668a8c229116fd15644d4e066a27094668e82856a24deba058a9d229014343ebe271bdfbb50c6c799849d |
44 |
-AUX awk/scanforssp.awk 5830 SHA256 236a2a7eea1ba540ca3be82b0fe2cdefd9ac76b061440918ffe52664edbbb98a SHA512 27e5c1575714cfcd2e707f316ff11f57852faea661dc84c4b3614add2a88877a6ddefcc62b850c54964ccb296864a8f1023de08986f2948fae5c2dbe52805792 WHIRLPOOL 60a9b298f3d8b71ab8efb8de380116d9ce8f88384d38b7ebc2b2a2442a3a7b0f16175a3e0b47b6576688a584615eeb225de50766becea057151d41a3bc5f8af2 |
45 |
-AUX c89 412 SHA256 29ad5dd697135c2892067e780447894dc1cd071708157e46d21773ab99c5022c SHA512 71d33a147339d8d70a62aa22a95d3e70e445d8435d6ac05893f7da19ae851b89bea851f6ce213fbd22470f13572ae13b83cf02f0621333f07d7b0c68a79b7924 WHIRLPOOL d9707a2be8da7a709b54fcb1154cfa05e479f8c3bdd6173822ee1f1bc265b2a0d04741c0685bfb0db68e1e4297fb032d2f8ff94da88014575d947054474d8295 |
46 |
-AUX c99 446 SHA256 057b348cf5be9b4fb9db99a4549f6433c89d21e5f91dc5e46b0b4dc6b70432f5 SHA512 bf3b0eb1125d5e89b433954fcbf805cd86dec5a6eeb23df685ebf3ff83a610573f2ffcec65d893244c845936a73918387cba026710c65c854b2c94a78b007989 WHIRLPOOL b888038b96615c7a0363555b407a3de2c1f17e34428fa16dfbf56fcf68875d6bcdecbc61b545d7f71842ff1909a3ffeff17165fa7f56b48f95adae22f5f8bff1 |
47 |
-AUX fix_libtool_files.sh 1796 SHA256 8e8447697a2602651be788611fd04d09fee252243397dacc462b7e1fcfbf7c5b SHA512 b2207b17a011cdbe1dbec015619b8cae3bd80d748025c0cace99dd5ecba346568a2ac58c4b05c2eca7395c312d34721557686911e2cbaf57bf5d4cf6aef11da2 WHIRLPOOL bf2f90de987dc0b4ded6256826321e2a26152f8934910b896e8400d88b15f38c04b7a586dd892602c13fb2bea6518d6952754a2aec3244e76300a456e0a78a39 |
48 |
-AUX gcc-3.4.6-aix-largefiles.patch 9483 SHA256 e4aa602d8f34f8b1e4d109e8b561f09c9488475b66fb46d036566036fdda39cd SHA512 14b024ecd37894d059e72e1328c3e2709d69da2438be9532ecd235330b5749e64cbcd0937d871a4abbc436f0a829450b8c246062b09fadbab3cd066d6ba7752e WHIRLPOOL 5f00f37c75fa1c8a8c478d334ef98d27827770aca996614864686a9f4c72a705db1c663081488a69a0e9b3b3d27ca8d40f63ed4aeef502379cb6c931a5464977 |
49 |
-AUX gcc-4.1.2-darwin-fpic.patch 619 SHA256 468cd067347194cd00175a08d88960ba5b8b96b7462e5df4dde65340a4ed0a0e SHA512 8a0533365dd806f5922db836314d3b4c4fb6e7b175b1cc58afce9225c4a02b99327d18c50ed6baddedfb833d73634d966a886617061377347fa69032eaf96f06 WHIRLPOOL 6025a4ba1e5e46959158f3fa5cfedeafc3a2dad5ef995c113cc33a4000e84cdef8f032475eadd5f9737b9f6dc036c1425e6f5dbc64e32e0c6dfe8869857f0dbd |
50 |
-AUX gcc-4.1.2-freebsd.patch 204 SHA256 de33014a03741e46d027f7210f96221b3db45fd4161abf6c54c62342918b22f0 SHA512 1f550dbac6532a46c9eea70f7560d83d4239d96d788a704f6624e275f83c2ad9cbba67c148e01e5d833b6b7fb42e29c7082815b9f4f2c3b5f73122245d956583 WHIRLPOOL 95494bf1c3b0faa4464cec1343e505025b11b172e6db58e3cae30780704db3377965dfedc8bceb1aa20d4b2cfe69aa24b5d1f41c35d76020f23f61463541385d |
51 |
-AUX gcc-4.2-ia64-hpux-always-pthread.patch 868 SHA256 5a0f38a7df257ccba771b16336682f363e70bbb8c07d72a0b4d3f7f173f413f8 SHA512 d92ec8072309fdece588b4874b4a555d9afcf78302492de0ffb167b46038f9fe1e0d64c65a63cacec9d0672c76984165e517a3e3d3aba1b34894ed58c063a5f3 WHIRLPOOL 2c8f03ba53fbbc9dc5df19a25b883826a4a939d8ccc443d6c83cc8187c871f40471e434b30da297e2426e80d3e68590370a3f4692ed2468137c4e8f4821e3724 |
52 |
-AUX gcc-4.2-pa-hpux-libgcc_s-soname.patch 483 SHA256 6bf38ec9e85b6b4da839e1781ddd06ba689d1b5ad8257e5c8052289343b664c3 SHA512 66b7f1888918d132fd751be5d00f30bb4646b279ac803cb76a00a5388e33fc7b0792689d049c8a3526652ef77dd32a759c2f43f5e1ede42e4cbfc892c717d6f2 WHIRLPOOL 18cf4d80c86b4eb3bc835f00fd27cf55664646a47733666821b6426378507d3c6fc1192f4559c2a62eff501b835b531fb66c3b7e09bdf7752af170b4764b13be |
53 |
-AUX gcc-4.2-rap.patch 1250 SHA256 1b458c52b2d81a031882547f5784721ea00012ad5377f3557ef176eaa80fd936 SHA512 3ae8db2bd956cb42dc121653506d286f7e098524e5a3b2ca28cacd7622af7c555e1a3fb5fe0a33e02801271a8c9b4bb0a83d86593633f176eb12425b2be198f2 WHIRLPOOL eeb41d50970d1843c9c96c2c31b9f7b6fb33fdecb6f280a35f320b71e582d7f5811db6dcde534de4768f3e4162403276a5d081c9d1c7af930d7ffb9acd490c2f |
54 |
-AUX gcc-4.2.3-aix-largefiles.patch 9519 SHA256 b9b035ec252a118c1725a69900a73ae4c3f22f08350038504face1b9438446af SHA512 bac988d25176a302b3ab2272f0f89b1d37fdebc49f15a7d01fd985d9a7e5adbaf270cb5dceb02298a3e8e420e54ffa906f8c8cdf65fe255eb9f67b721c3bfae0 WHIRLPOOL 794aa70c42af00fc4ad013b4b7450bf2ccc9200c55067e59a9636b6ec642d65e2dd0d123723d8d94a67492e161e7ca0ef2393638d70d4a5e54434546c0226121 |
55 |
-AUX gcc-4.2.3-mint.patch 786101 SHA256 2420dda14ee894b95f322dee1452fc4fde25cdbe77c4b416b0d77d276f1c67bc SHA512 b12bc5c70c9cd6f9fa15f94132e972405f6693d001f4cbb5c902edba4e8a3de6bc1beb3746984fa5b1c268f5f904f6ffee82ac67ea6201cd7a48afe30257c1ce WHIRLPOOL 4656603088dd4e84fbf76ad764721985f7d2075b68d3576ea22aaf75546ecde5071e93d2f54aabae1ea9096e47770c42977616ebd1bb6a219d74229e3a5ce31c |
56 |
-AUX gcc-4.2.3-mint2.patch 19829 SHA256 7c7a5147d74cff334b4946cfe5f7a3ecb99f2c9204ccc39c989424b4c161eda5 SHA512 93f1e7249174127c6492918951be87eee6a180f930c6ed14d5846fcf7dda6aff3ebcdf22d85cdb01e5d0f7b0084995bc6f87aee11ac6efe727fa62f0d9a0b5f5 WHIRLPOOL 08cd3ecaa0740afc8dc480c1f1253690f6441588c61c2af0b1af82ca995417cdf7b83d85f487e3dd8be346d39b42bd6a1cc8585e70c19f9ab8ec2cb031437257 |
57 |
-AUX gcc-4.2.4-aix-largefiles.patch 9524 SHA256 911d9525bac879c79af5c4ae83be366138d36de4c7ef3c86c441cb9d3cdb2173 SHA512 bff5af082a12ea4e5a9ec8a43ed1159aa3d10df0eaff686bac949bc446c2805fd6b7072263c72afb7bd6f68851e0bbe3df688dc82ff34f5fddaa11aef8abd3f3 WHIRLPOOL ff28805b8d16b0b634f021c154dd599bea8d436eaa58f5857a4877a6bb1a56a7a03119de34abc30166bc2c27df7fa76c489ac233810b3c9a1f4084aba904def2 |
58 |
-AUX gcc-4.2.4-interix-all-source.patch 532 SHA256 b357fbfb172d99b8958356e1e5fd5125bb53e9c343aeebf87a4407794e1ff13c SHA512 ba190fb1c520207d4887ae461804098d42f6795983f38e84be1ef84b197e256be68e566f24f69278c8a0f64101cc9f69016c456077c8d941b00b1339e98b0647 WHIRLPOOL 4120a250798a95c90c0e212774ce22419f8d744d514779134f0a7fc03a4b0bf8d90c6a5de2c4483cf8cc767a3c96cfe93c28bf18fd8ab4d2e8699a8e5cbba505 |
59 |
-AUX gcc-4.2.4-interix-long-double.patch 650 SHA256 f47f8da2b4e7b77cf88d263e9cd753796bb182ea415ed5f6e1c99f675bab7482 SHA512 e67e7e3bf12fd8da28aad4e728556c08c5fbeaf134f7ce49bb183a3d8e6892107c295d6ef61b945a09eda1c94db3b721c1fb5b629cc8d373cc639780a2390f2e WHIRLPOOL 6c2d1aeb1333efe5adf3674097a9963d47779dc300c2e7f7b32877f66ee1d82cfe0d8d24599cec031f4947f68f9847c4bc00a3ded503d54a0f2cfc896e21fcc3 |
60 |
-AUX gcc-4.2.4-interix-x64-support.patch 661 SHA256 b22854396741d2eea33b9b3ffea66dcc54e17211e5e93b3cb54b488edf250cbf SHA512 6e0e7616267fa015b0dedaa94524a7dfe0254412b97f41ebfe1cc70e4a410672a8adc0d05939d3ea863ff8b99bf7aad18c728fcd00461eaaaeddf155ef3e70de WHIRLPOOL 5e1de94145964062eaa04d40bf92e7aecc1ec61db88558999c955c689409e1bae658d983223e12a0fd256ef960c125788a8114bf5d6e79c68965ef3a99266462 |
61 |
-AUX gcc-4.2.4-linux-x86-on-amd64.patch 1867 SHA256 36dc1698a26d08156498ac20298b51eef0378dcd3e08e9a2976e7d58f1eab730 SHA512 c9b2e48394b801ee86c09196c558d6b343defcc7af50dd1234c451c7be00051db2dbf4668e2f210ef7fe7d58e23f14ddd144fd7f57c05d8f68f5e6e7279bcf58 WHIRLPOOL 4e5ce608f91690b5257cc4f0da8ac8c1767ebcbc5817973297cebf2f5919c65ea45a07e68c726c9ef4f77ecf43f5c055edc9f5e8788c5a2323635ae7b159830a |
62 |
-AUX gcc-4.4.1-interix-avoid-bs.patch 1916 SHA256 3c3c7019b3164ed463ddbee41131ff7503caef25d958540ce10ffc895ef0b3ed SHA512 b3d0eaa8a5683663d2a3d7d99a57c60d8f5f4a67d7b9ea4a75ef427284e671760a8ddc10d0ad264100c922703221cc0b663adc06a20905d2339d0baf773d5a41 WHIRLPOOL 844bd4a057fc8cf12bce157b34943da81597babf184b8eb991b6f1dd19f3fc9d78e8240f918b6807f7ce99eb72efbf5af38554f770c470293bdc3c79fab30ca6 |
63 |
-AUX gcc-4.4.1-interix.patch 12986 SHA256 33953e755b4de1e5b5d272b3e35a8d63a68a16457e6fe8b10df9eb65e4ca98d3 SHA512 3194dd9477b3a1cff15b0e5034d8f8e0eb33e6ae861a4b2ead725ca25fc129e347cccc8e8300bdf8c60350e359852696727b12bd04351eaf4cbc3165a66ec5ce WHIRLPOOL 3669bf6cb5cc465ab6acdb7f2c755081b34c95f59a0fdb60ea29d5203d5c55ddb33b0ae9f5788be51214edce214b12cc2f71c5725810642b20abd9524b4200a2 |
64 |
-AUX gcc-4.4.1-linux-x86-on-amd64.patch 1559 SHA256 cf300a35076e42ab530d3c6b4a81fb0ebaf0174bfba5e26cf565d63cef5fd670 SHA512 53c929926837487678d80acfbfe24b37a7aec8af0def837d2c699a1df4c9839d54cc91de4f33c696aa114d52059e245aa9614b86fdfd5fe1c5c1a1715dc1cfdb WHIRLPOOL 4bb0644b6d147b9bb69f94212b414b108f35f1c6d4b8d3dbd41319aca0ccd70ceb9e2ca947f180ab2d1f7ff1408065024199e89e4796bbef226960ee58901d56 |
65 |
-AUX gcc-4.7-rap.patch 1913 SHA256 75842d968d21d9916d41c4e75be12387d818221465fb2335546418c744b2eee1 SHA512 aee8bc93aebd9a217b53cd4c6d6fd79780eb77ef490164d35a056d08d0cc5b550ed7b6e298f963cbe61511caf2b03d47ff5df50a6de95b86c104dfac3ed0f273 WHIRLPOOL 7702b0cefb958f6fb7cef5bb0e1f056412d5f972e3a4653735f33b56245db7d984d7c21a5e47282d6283efadefb76bc850877d151d15bcd3f081aba1360a0d7d |
66 |
-AUX gcc-4.9-extra-specs.patch 3894 SHA256 942654807a350bdfc1f587766238bea0caabe4d804e48a8705ea5faa56701641 SHA512 32a477d66b85793cdd6c51a1dee29393914b5ecd5db4022387457ff01e871a1efd1ad77be3b05275cdf96e0ae822a7d353ed40ad1476326c60e9bdd9054930cc WHIRLPOOL 47bf1ed50db265235f5f5cae5e45831c1059a2c26fa93d6ce86299c5986da2c38b10b2ca39e59ba8c796716f4e88eadf85f84c5b4a6b5acf25dc56e5a86c182a |
67 |
-AUX gcc-4.9.2-rap.patch 21922 SHA256 09c77c4b535a653157a9bb6f282f6e92e5e4aa4aae0e3e9d3d40e079962e442c SHA512 d0c59eacda40f9969b5b94e8e7e8c514df7645aac83d9be434da78b42edbb6816aea7b36502c11af2c6fa8fce5ba412e181a14f6153601b6236f634b52e8aac7 WHIRLPOOL 86ee9f8d3df2db93e0229f7bf385dd8ed648ce09affe2993b0d532b9251cbec47e6f2135383138947c0ac0699c3f9479b06d4f6cedd7078359bbe79b82d6b075 |
68 |
-AUX gcc-configure-LANG.patch 2052 SHA256 63de6d2dcfe14f21d147abeb1390405b9220c03f8e968f482d4b4c1cf279c88b SHA512 a694c7ac2f45cc657097ff5b0cf1356ac88a9c06035c9ba15167e9d444844d0d8a478eb1b9b62195dd063774f79697b9148b9cdb6c261640b472c291061b2129 WHIRLPOOL 3cc1ec912fb192ff1058de5b93e49a994ba30d1501a932290dd5b3df1cd783875621cda56edeb41894cd5fa10c04917e693a40a60be8d742ddd7992bf5d8afeb |
69 |
-AUX gcc-configure-texinfo.patch 337 SHA256 74b73a7ecec2d88889876b4db480cd173632f49d5396bb8e5b3c93673f9b5b98 SHA512 a15fba8bf2ff02bdeca54d6f186bfa08c1079c6a8ba0a3beef154483ce5c1b8c497e7ffeec32371968f0037e0ff8384609eb0c367d0155a4e5a7eef8aad084d5 WHIRLPOOL 39d008aad06f7621e4e5db15f5e85a59e583b43f8d247029bd4944466bb60a9795bda157d185c45c329294078e282703a243aad5c468d90c77665dd6336870d4 |
70 |
-AUX gcc-spec-env-r1.patch 3148 SHA256 da0a6442eb42bce58cbdc7858b110a2e65fc5bd5b4b780b9b491033de6e302fa SHA512 ecae71577543772cfe1711f1b4a8815c0b5d706ebd01edacd1f07586637d4805e25771f970a6e6d1bb696d4b1b5ef3e0036088a96a9f6beff7ddaee704175d16 WHIRLPOOL 3535605998eabccdee71ba396ed5cefbb8b0a8cb073101f6444c7d01233f3b3904c1b29f4daf0a3417c68de8dbd62a0b7dc367cacfcbfa0c4ee1b69b7df8c6fb |
71 |
-AUX gcc-spec-env.patch 1544 SHA256 64b01f29fb853fee5ecda998b66eeaa7ec86ff1fc3b21432bfd69eb543c93e6a SHA512 ce9c1f923e2c6d17347ec2d3d8482351a9644194b2753627389294d43bb4f11b9c2ef41eda1b46ad83d09901a0bedebd5b6b8a57a198646030ab61e8d2d8cb48 WHIRLPOOL b88c9c18e20868b3ff535c3390408ebe8f1304bcec6e70b6472781f684671265860dff4335f2301d3b4d3b73395283b29673f0f5da62414e1094cfcb8130e8d8 |
72 |
-AUX gcj-4.2.4-iconvlink.patch 721 SHA256 eb28194b567fb4d0f2a767647f787c2eef3cbce5507d85a6200cc4afd0bcc859 SHA512 4b57fb3aa3b461c27a01723712b2ea993732a2c55ec0c98157a90b82d5228f85f60e4d369a4fedca33632987405283a8ccd08b372824d2533de93cdc260dcf9f WHIRLPOOL 3e562653c51d3505952b9d527af0f9d4c98402260890c4edc9b8a8b83d0f0a68a015de99126736973475e30ca95ebce097e66f15735dd6f5ed9b5c918d0c8557 |
73 |
-AUX gcj-4.3.1-iconvlink.patch 753 SHA256 8918aab615ade4b9cec301f61b27de9ddadd158ac1250a206a1e5973ce35c9a6 SHA512 c985f2887d2ca1b4a9c655e0686d642487cf6d457b653b6ae4c00e3a75b35a75c6324e3eac67a8a508e8ce5272c0005cde3bf574dbf4815444683033ec52ab81 WHIRLPOOL 04e019c0bc96e369a0546d2ab5d902e806a3abf60a4aa8acb77f9ec8de3613ebeb6ccbd23a7debf738e61e3d25c8f74325b7184bea61ddd1b15e464ec4e0a1d4 |
74 |
-AUX interix-3.5-stdint.h 6310 SHA256 8b1cd7e249faee17ca0d9a1ee2fccb004e46046f38279303fa7515b69db76523 SHA512 9ef0fe18eb9e603109808536135b6ef7e350998dc9e4fda77ecea69792c9701117dbcb8b4a85c56fa2b3898e34b41c8865993ccdcfda8a737bb34f98e7f9270f WHIRLPOOL 11b439c0085ce2e10b7ab75fbb92ea411b5148a3e24697a347c54ce39853cb4a3e8753588e0beee537511860c25412f4c54d3f79c81dff50b24ebc5977899149 |
75 |
-AUX mkinfodir 7324 SHA256 0565353e767e253207adb8b5c9be9ba215a628447e075a4dc7bb3183ed099d2a SHA512 a05f9130d98e4cb4d3254b757de06d772d0a965ac4b5a9a15082b1cb694a2fd32c9c8f550745a9423ba3cfdd1c5e87b6d568a809301772a24cc6e1a414d5f98b WHIRLPOOL 4001ae3f7fb666a84e12432a1a41eacf62ebf922181c279e4d06dad32e44d0b499d13e098e794fdd19a9cff5c438a28e5e9e125fb78e72bb913fa5ddd8e44bae |
76 |
-AUX no-libs-for-startfile.patch 460 SHA256 b7f722ae86f0ffb45bd0d9c6db1e65e8a52c85d1bc3c203aad26efa4db74fa90 SHA512 8875e8833d733c7f0db9ff2bd97954a92041890efb592e0b03ed13bb35a16bc2e85fe685a00becde9ac402c40b76aba194f6b21a4869f488202ebba85da37acb WHIRLPOOL 457c7d0d81894721fdf6df5f899b57858511d7e5994bf2c0b1ba8dba82ded41a73c17c581b98c3eec7eb88fafe4c1951897dd7074897f40b19f6d1b1e9e56ef7 |
77 |
-AUX pro-police-docs.patch 3287 SHA256 ec012aed77285545b9d993cba1bc5fdb402c8dc9a17040f48b8b354746ede627 SHA512 1ba939ff035b33dbbeca2bca6b4240ac0408bb1648eebc4a5d890f0c7926dd0184e5b29f73412d20bf862977c172dcbdfd908c156a367ddaeada5774c94befd0 WHIRLPOOL 48a31408fc03bc178a9799b5a5668d5ae2b0f02d51ef75f5f86e30ca6912c2c3e01364a67c3986918e3a7e3c082d931cb8fb22b6c0db8c8a41fb8da967ad129e |
78 |
-AUX scan_libgcc_linked_ssp.sh 885 SHA256 0de8bae299e3333d3bba7af7f85427952f18b906b1a4832232ad15e73a3ddfa2 SHA512 a09e5ce34a404ea6b382a6f596b439936dccf9cb87381d04868ec35993a889df296b9f9141779adf897f1987bf32c76f10f487aecd83a9a48a9b32b906494160 WHIRLPOOL 5446233ed31d9f07ef4a636f76c3dd0423e8b176b17884305b8df0eb33aa0e57bc1b5be5d2e2b5a2fc7d37de3b445bf98e0311a03cb4d48628b00e77cfd987ab |
79 |
-AUX solaris-i386-ld-emulation-4.2.patch 1495 SHA256 7bed8ae44ce900f6350a0d16c5ca5aa0b41793a78f6f0197ca29e7c34c1cb856 SHA512 cff400cdec0c5d7593bb4a72efc71a390b2a01c8763e7f1ea9006346a28dad91c2611585cd6f7d8a0f6c57b387d844eb0ff41204e9abb7cc1ab6a4a9ecfc752c WHIRLPOOL b4d88caaf4621cb52698412f78b1623df6d8afe38037a4f3726778c8a1152a3656172f50e775d71b72ef064091bb97ee4d2220785b58c7e19e2ff2fd11e1f3d0 |
80 |
-AUX solaris-i386-ld-emulation.patch 1437 SHA256 41e6cc6817b887298c25dec992009023c30fdcf4221a1a4569ed4a1041d20f12 SHA512 5b2edeae26069e10c4c3f9d05a154f0ad0c9740e35b2d3e8f46256c6341d096afa42fbd4276f290d9544caafc6060448547de15ac57a398919dcadaca5c035bd WHIRLPOOL 96c4a0178043176a287db8cfbfb84ec3c9ad6682fcbdd79b06947e659eed159839cc55307f819d6363d4afc279e2acfc5d6d5f0424ed9e9c6f263c38c313215a |
81 |
-AUX solaris-searchpath.patch 3051 SHA256 1b4ad2967727b821fdc6bbc324f27540a5db8cbe17124fbe833ca6f97104a479 SHA512 ac2cb1c8fe9cd40926332f77647724b6c02776f310bf6f29d6e8c975d0ad792480790921f2baecd60bcd3717a426ce7f4f5732bc3d8ce45fa559700fc90c0926 WHIRLPOOL 1fc994aa2df98e3f0bdafda71d0dce247518dc02ceb3374f5e680eb13b53779ccef2b73cae09564008aa3d2410cb39766c233538743842b4a1df17c6247d428d |
82 |
-AUX stubs/gcc-3.3-htb-stub.patch 2195 SHA256 36fd59370c87ac60c2fa1e98fc4a43dfc17ad8188d730b8c16fb680e83f7e9c2 SHA512 054adc5a51cd9b285336395d273605bab2a2de5ae7d6b91abbbb375df385df4c8916f5da4759e00970e629d0b7da84e3873bcf71b9101cd3a246b17c1617fff6 WHIRLPOOL ecff251e9ed6317f302db7c514821bb44055ec76a7e74008e2bc599b2b4951a90dfd079f97169e2125229788670dfa198ba0a8600be678c0bc49b6c213539038 |
83 |
-AUX stubs/gcc-3.3-ssp-stub.patch 1735 SHA256 935863cad4820d7cf35b124efdeafeeab7e67a01da1cef161ef590f18d643beb SHA512 a248fb60691827fe93bc1c7b78221c1ad89482c88cec3d113dbd7539e137955022ab474b24e13f8044e3d9d31dabbb238fbe09ba259369f1eaf1d90b26002821 WHIRLPOOL cfccd55b68bd24bd927b5b102da7380b4bb59b054c2126a40cadf5a9b45734996292be57b7e58b3434027efa230f5dda56ea11d7678615e1a0a31449df6c8f6b |
84 |
-AUX stubs/gcc-3.4-htb-stub.patch 722 SHA256 0768dcafc35be6d35c9aa0106b0c8b87932e6b2ec7a82547b8cc7fc9c8b0e1f4 SHA512 9cdefcc2a8c8b048a8040befc15554fdc2fbd7d29364f96b49dddd4336527b26ae5c480318e12c48738d5f62e643c174dcb2ee6c98b29c207a25bcbbacf491fb WHIRLPOOL fec25cf06344ed41afa00fdefc27b08b935232ed05bf2b6517cb4fc82ca3b626f06b5b64b041297b61d88af0f9594c6caf2889b2b912205e87f3816920d6235d |
85 |
-AUX stubs/gcc-3.4-ssp-stub.patch 1068 SHA256 259b08fc6ba1a5fcc6848c1a0742e9b90dd43985c61fab4ea2e9e79ec795d982 SHA512 d797117e2663c5e0d3dfbc983e5f943a0724fbf7b28359451c12572d7af8cfe7667afe36aa6db1fd831da681be8492100231f0913bae662898d40a42adb8d56f WHIRLPOOL d96c065c8a85adca2915f965975a7a33221c0109354f22b1e3c4cbf00b264bb5b178888476ff56f022453749565e41b02ebe91f092762164dd5c225e208e7b8c |
86 |
-AUX stubs/gcc-4.0-htb-stub.patch 722 SHA256 e9b63d3644c0c10e871d5bd94ceae55bec0726b76e9a7c43c83daf6c840dfb5c SHA512 a7eaff57c2ec6a6947ef5d938320638dd9206c2e274431251c3be3928caeca941a679e74b6238880db589fe5b00cb6d1da644e6f06d02b331b5646cebaacd330 WHIRLPOOL 9b30fbd1dac7143491d79d3821370c11c4a79dab1f6294ab5a60578605e4d2e86d51730da6d48ee08df0618bb0deddf6d2da36b91a5b632cef14dbd2178c042c |
87 |
-AUX stubs/gcc-4.0-ssp-stub.patch 1068 SHA256 259b08fc6ba1a5fcc6848c1a0742e9b90dd43985c61fab4ea2e9e79ec795d982 SHA512 d797117e2663c5e0d3dfbc983e5f943a0724fbf7b28359451c12572d7af8cfe7667afe36aa6db1fd831da681be8492100231f0913bae662898d40a42adb8d56f WHIRLPOOL d96c065c8a85adca2915f965975a7a33221c0109354f22b1e3c4cbf00b264bb5b178888476ff56f022453749565e41b02ebe91f092762164dd5c225e208e7b8c |
88 |
-DIST ecj-4.5.jar 1470676 SHA256 98fd128f1d374d9e42fd9d4836bdd249c6d511ebc6c0df17fbc1b9df96c3d781 SHA512 d4e1bf7538ace56e3d69fa91da5bbd16c272923b4de0a9d8dee23ea2b75f9f38c603de72fc4061df49285c450b63f3df211cee5270e9fffc5447445d1a9c9e4e WHIRLPOOL db54206cfd5eba935e707b8d36ebac40f3c4ed3c1f06ede794288cbdd9c7da9d90c0898e8c98b383af276ea4c1b40c861ebd9e1fc1dce712946184321339d3ad |
89 |
-DIST gcc-4.4.3-specs-0.2.0.tar.bz2 2004 SHA256 f6c7cb99beead66dd4d06f7004c5731a9360330cbe878ce79792c618e008eed2 SHA512 779ecb0a064d2138b54569c8ae501975b8a6b72e5a3acbf8597619a8db77ee42ef9b0e62608d5192a15e4393e7dfc009bb50b994782236faa744b2c46b5fe517 WHIRLPOOL 8a1e45aad9d306cb19de93c63b5854a97e629d90852feb6861dcfca042b6257705304fc13ad65655a4cb227d36b83fc6063648c94f270821574ee0e85307094e |
90 |
-DIST gcc-4.7.3-patches-1.0.tar.bz2 39969 SHA256 c9a5d7c6da7d056f7fca15b33eb7f399bb7ed5a2d0a892b97e0c7609146a2a24 SHA512 d5c3151eca135bb08511955d81c7727adbf8fc33043b64a4431b0fe95d2cac1bf3c5410fa9616373d6b3d932604195ff29f6321e61a3de69a7704f1d1cb1759f WHIRLPOOL 315578ef5a7226ed66c4831b25c79647120453dc169dc8ecd291e099500ae52284ffa451164522d6d55d11c440a7aa353a283c07e28c103c522df0c2e2f43fff |
91 |
-DIST gcc-4.7.3-piepatches-v0.5.5.tar.bz2 15378 SHA256 b6f6b6709e7b13f6c05090f3bf68f3a64db19d52593a870cc7717c5c128b05a2 SHA512 d0189d2e4049d471dedaddcba319fe2c2b29855f7b33e84b26051504ead2936c852ef7870a1d19d755bb343c9b121b0ce5295665ab4ff1e448436bd448c08e1f WHIRLPOOL ccceedb41d48da69f5a423b6b73436c9fbb7b1e382456abfcef954f25666e1b7caf926bc5eb977e934502359a356d623c439d80825e87d9fe46b5ae78a74bde3 |
92 |
-DIST gcc-4.7.3-uclibc-patches-1.0.tar.bz2 3013 SHA256 731c518f31db8debd08bea92db8e3bf1e9962552909407452dc2ac3c491cf11c SHA512 6119159300e76be87732f2a44b1a9388228235d7832370dbae531c2c96694ea42ed4c75acf7abca98ec0035fbc50a8bf84225574505358c2739e64b0f3fd6a95 WHIRLPOOL 4a874a5684937907720aa5a4a1dbc237aa7d985292befd1c591cf0789c71e0da22ced5b7f7e049731bc2d6496e959cbe3c9010047ceb1b05675e61865004c71a |
93 |
-DIST gcc-4.7.3.tar.bz2 82904224 SHA256 2f7c37eb4fc14422ff2358a9ef59c974a75ab41204ef0e49fc34ab1d8981a9c3 SHA512 5671a2dd3b6ac0d23f305cb11a796aebd823c1462b873136b412e660966143f4e07439bd8926c1443b78442beb6ae370ef91d819ec615920294875b722b7b0bd WHIRLPOOL cb3408e3e251833f38ae7cf2388a1ddce864614fe1c68de9729a1a9a1f8f028ab92c0f2b863e7fa3ac16dbf443306ac864e74c9cce90690230c081ee2ac309d3 |
94 |
-DIST gcc-4.9.2-patches-1.0.tar.bz2 18213 SHA256 e4e9a665381beb4018779a14d5124528a9d5df0e0772f3b7639390d6bda51515 SHA512 27deba0db6a500b160829fdcf5fc9a70be4b4fbd45c89d18dd2d0808d42803657693d0ed0f2b664e020a0d2ac39cdfe550e397eb4c2a6f64220cae1e7a16ff20 WHIRLPOOL 7e04ed92038f19a9b00fe0022c2c7ce3df8621fccca95cb2da37333a5edcc0857efe96aed68f5c4b51db19ecd23ec1194412f1bc24730cea30db7b342c12dfdf |
95 |
-DIST gcc-4.9.2-piepatches-v0.6.1.tar.bz2 14185 SHA256 590d11ea5723812fff3239c5eaed4b040b26a92586de0e42a84438f742eaac0b SHA512 89560e96bc205e848936acc4d3423ff5e1ea5ee478848edfe2b992585cea0df21eb102b1f1bee55c10568d4ca54bb3f4e8ae72aa695e34a908abfda3585fb992 WHIRLPOOL e6db4a2e5fdf762bd4f0fa70d630499bf6789a0c3b7ca193b455bb22f95f5f2983358ba9f28bd85b571a3a44a691ca797762302a1f2ea63ce170752f7e44128b |
96 |
-DIST gcc-4.9.2-uclibc-patches-1.0.tar.bz2 2540 SHA256 3ca63cba5edb01367352fcd558890a838630deb4c30f82f4c7e8074ad75e57fc SHA512 69f6f80e23efee0b937fca0f2056e17b4fe643817d2394bbfd16cbb453d74c76a0bb8727815f689a795897d9cd5e06ecc74d3d9ad45175fe837ad008eee09706 WHIRLPOOL 3946513e83960fe891267e103e434cae0616cd45b5e7eaff5f4f671741c1445941cf80b7497231cf50f137941c01859dbbac0a95745fb7ae663a3ee512bd7162 |
97 |
-DIST gcc-4.9.2.tar.bz2 89939747 SHA256 2020c98295856aa13fda0f2f3a4794490757fc24bcca918d52cc8b4917b972dd SHA512 e96cba06d572dbe7f382a2b00fd9297dcf9f9219d46a9ad0bd904dc36d5e7db3335e422640b79a27fed6fde91b0731732b94a0e2fbcd47344d6779f8ba1f4f9c WHIRLPOOL c4afdd0ec98e6f903044f1d3061fd96cf1e9bcbe2f90c388f5bc9ff8b2493b94367e84fdff7c2075ba37e2f950ecf2dba7c11786c653c2c7e86a5e8ff7d98e85 |
98 |
-EBUILD gcc-4.7.3.ebuild 2006 SHA256 b1578b13fdbbd1ad3a492e5e0647c963b539b241d97f692c82e5702a28c93832 SHA512 8ecd14ec0e22e2f7f491848c69509d5bf22042dc762e093006d90d87c72981fd0f2fad4a2d728136a0712b0c2d00cadf9264aa8ac7992b721182e682d04d8fe6 WHIRLPOOL 02edd5aa9da56a12ee8097f9b881da257d2ec35cb8c358ecdbd8ed467cdbe228358a97f50de7366d42cba5133d6f3592ee86592933344c05ade29be7aefc9fe5 |
99 |
-EBUILD gcc-4.9.2.ebuild 1598 SHA256 7460ca1434afd83ad6864690c59f18547dce9fcacde30dfdd1ebee505b632ca8 SHA512 9f1dc10c94f774a2c58c96aa877834ea6ce213393dbe04f5065cfafbb4c4194f0856890be7900183cf42f2c952928d19dd0da7a7bf02a9a5353c336fc193cfc1 WHIRLPOOL 464d86c27265b5ab19b9af8608a44d7322d546302f91279d0e7b9432ac7bace7170c1034cf5a36e629cdd28aeb998060e74891309518252afe1da5001dc8254b |
100 |
-MISC metadata.xml 2017 SHA256 b8397e7ce9649b9086d020ee865f1ccd616b338cdae5be3d57494fd15748d132 SHA512 231a34104c4c0fc8f2a2733572236d7638bc9e7241a6d60b90601f24204c2a7ae5d61d351c75179dce05b4e1b7e367b9ef4f8c6d19c58d3695f5e6cb15ab519a WHIRLPOOL 01599d282637b293265f57c05a91447434d8bb33be54d6e89b8739e0f549b2045e4bc9fb6df8c7a6d0e7d6899b818b6f18454906a73edd529fc9ee57f212cce7 |
101 |
|
102 |
diff --git a/sys-devel/gcc/files/awk/fixlafiles.awk b/sys-devel/gcc/files/awk/fixlafiles.awk |
103 |
deleted file mode 100644 |
104 |
index a49af35..0000000 |
105 |
--- a/sys-devel/gcc/files/awk/fixlafiles.awk |
106 |
+++ /dev/null |
107 |
@@ -1,314 +0,0 @@ |
108 |
-# Copyright 1999-2005 Gentoo Foundation |
109 |
-# Distributed under the terms of the GNU General Public License v2 |
110 |
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/fixlafiles.awk,v 1.15 2008/02/19 05:47:29 vapier Exp $ |
111 |
- |
112 |
-# |
113 |
-# Helper functions |
114 |
-# |
115 |
-function printn(string) { |
116 |
- printf("%s", string) |
117 |
-} |
118 |
-function einfo(string) { |
119 |
- printf(" \033[32;01m*\033[0m %s\n", string) |
120 |
-} |
121 |
-function einfon(string) { |
122 |
- printf(" \033[32;01m*\033[0m %s", string) |
123 |
-} |
124 |
-function ewarn(string) { |
125 |
- printf(" \033[33;01m*\033[0m %s\n", string) |
126 |
-} |
127 |
-function ewarnn(string) { |
128 |
- printf(" \033[33;01m*\033[0m %s", string) |
129 |
-} |
130 |
-function eerror(string) { |
131 |
- printf(" \033[31;01m*\033[0m %s\n", string) |
132 |
-} |
133 |
- |
134 |
-# |
135 |
-# assert(condition, errmsg) |
136 |
-# assert that a condition is true. Otherwise exit. |
137 |
-# |
138 |
-function assert(condition, string) { |
139 |
- if (! condition) { |
140 |
- printf("%s:%d: assertion failed: %s\n", |
141 |
- FILENAME, FNR, string) > "/dev/stderr" |
142 |
- _assert_exit = 1 |
143 |
- exit 1 |
144 |
- } |
145 |
-} |
146 |
- |
147 |
-# |
148 |
-# system(command, return) |
149 |
-# wrapper that normalizes return codes ... |
150 |
-# |
151 |
-function dosystem(command, ret) { |
152 |
- ret = 0 |
153 |
- ret = system(command) |
154 |
- if (ret == 0) |
155 |
- return 1 |
156 |
- else |
157 |
- return 0 |
158 |
-} |
159 |
- |
160 |
-BEGIN { |
161 |
- # |
162 |
- # Get our variables from environment |
163 |
- # |
164 |
- OLDVER = ENVIRON["OLDVER"] |
165 |
- OLDCHOST = ENVIRON["OLDCHOST"] |
166 |
- |
167 |
- if (OLDVER == "") { |
168 |
- eerror("Could not get OLDVER!"); |
169 |
- exit 1 |
170 |
- } |
171 |
- |
172 |
- # Setup some sane defaults |
173 |
- LIBCOUNT = 2 |
174 |
- HAVE_GCC34 = 0 |
175 |
- DIRLIST[1] = "@GENTOO_PORTAGE_EPREFIX@/lib" |
176 |
- DIRLIST[2] = "@GENTOO_PORTAGE_EPREFIX@/usr/lib" |
177 |
- |
178 |
- # |
179 |
- # Walk /etc/ld.so.conf to discover all our library paths |
180 |
- # |
181 |
- pipe = "cat @GENTOO_PORTAGE_EPREFIX@/etc/ld.so.conf | sort 2>/dev/null" |
182 |
- while(((pipe) | getline ldsoconf_data) > 0) { |
183 |
- if (ldsoconf_data !~ /^[[:space:]]*#/) { |
184 |
- if (ldsoconf_data == "") continue |
185 |
- |
186 |
- # Remove any trailing comments |
187 |
- sub(/#.*$/, "", ldsoconf_data) |
188 |
- # Remove any trailing spaces |
189 |
- sub(/[[:space:]]+$/, "", ldsoconf_data) |
190 |
- |
191 |
- # If there's more than one path per line, split |
192 |
- # it up as if they were sep lines |
193 |
- split(ldsoconf_data, nodes, /[:,[:space:]]/) |
194 |
- |
195 |
- # Now add the rest from ld.so.conf |
196 |
- for (x in nodes) { |
197 |
- # wtf does this line do ? |
198 |
- sub(/=.*/, "", nodes[x]) |
199 |
- # Prune trailing / |
200 |
- sub(/\/$/, "", nodes[x]) |
201 |
- |
202 |
- if (nodes[x] == "") continue |
203 |
- |
204 |
- # |
205 |
- # Drop the directory if its a child directory of |
206 |
- # one that was already added ... |
207 |
- # For example, if we have: |
208 |
- # /usr/lib /usr/libexec /usr/lib/mozilla /usr/lib/nss |
209 |
- # We really just want to save /usr/lib /usr/libexec |
210 |
- # |
211 |
- CHILD = 0 |
212 |
- for (y in DIRLIST) { |
213 |
- if (nodes[x] ~ "^" DIRLIST[y] "(/|$)") { |
214 |
- CHILD = 1 |
215 |
- break |
216 |
- } |
217 |
- } |
218 |
- if (CHILD) continue |
219 |
- |
220 |
- DIRLIST[++LIBCOUNT] = nodes[x] |
221 |
- } |
222 |
- } |
223 |
- } |
224 |
- close(pipe) |
225 |
- |
226 |
- # |
227 |
- # Get line from gcc's output containing CHOST |
228 |
- # |
229 |
- pipe = "gcc -print-file-name=libgcc.a 2>/dev/null" |
230 |
- if ((!((pipe) | getline TMP_CHOST)) || (TMP_CHOST == "")) { |
231 |
- close(pipe) |
232 |
- |
233 |
- # If we fail to get the CHOST, see if we can get the CHOST |
234 |
- # portage thinks we are using ... |
235 |
- pipe = "@GENTOO_PORTAGE_EPREFIX@/usr/bin/portageq envvar 'CHOST'" |
236 |
- assert(((pipe) | getline CHOST), "(" pipe ") | getline CHOST") |
237 |
- } else { |
238 |
- # Check pre gcc-3.4.x versions |
239 |
- CHOST = gensub("^.+lib/gcc-lib/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST) |
240 |
- |
241 |
- if (CHOST == TMP_CHOST || CHOST == "") { |
242 |
- # Check gcc-3.4.x or later |
243 |
- CHOST = gensub("^.+lib/gcc/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST); |
244 |
- |
245 |
- if (CHOST == TMP_CHOST || CHOST == "") |
246 |
- CHOST = "" |
247 |
- else |
248 |
- HAVE_GCC34 = 1 |
249 |
- } |
250 |
- } |
251 |
- close(pipe) |
252 |
- |
253 |
- if (CHOST == "") { |
254 |
- eerror("Could not get gcc's CHOST!") |
255 |
- exit 1 |
256 |
- } |
257 |
- |
258 |
- if (OLDCHOST != "") |
259 |
- if (OLDCHOST == CHOST) |
260 |
- OLDCHOST = "" |
261 |
- |
262 |
- GCCLIBPREFIX_OLD = "@GENTOO_PORTAGE_EPREFIX@/usr/lib/gcc-lib/" |
263 |
- GCCLIBPREFIX_NEW = "@GENTOO_PORTAGE_EPREFIX@/usr/lib/gcc/" |
264 |
- |
265 |
- if (HAVE_GCC34) |
266 |
- GCCLIBPREFIX = GCCLIBPREFIX_NEW |
267 |
- else |
268 |
- GCCLIBPREFIX = GCCLIBPREFIX_OLD |
269 |
- |
270 |
- GCCLIB = GCCLIBPREFIX CHOST |
271 |
- |
272 |
- if (OLDCHOST != "") { |
273 |
- OLDGCCLIB1 = GCCLIBPREFIX_OLD OLDCHOST |
274 |
- OLDGCCLIB2 = GCCLIBPREFIX_NEW OLDCHOST |
275 |
- } |
276 |
- |
277 |
- # Get current gcc's version |
278 |
- pipe = "gcc -dumpversion" |
279 |
- assert(((pipe) | getline NEWVER), "(" pipe ") | getline NEWVER)") |
280 |
- close(pipe) |
281 |
- |
282 |
- if (NEWVER == "") { |
283 |
- eerror("Could not get gcc's version!") |
284 |
- exit 1 |
285 |
- } |
286 |
- |
287 |
- # Nothing to do ? |
288 |
- if ((OLDVER == NEWVER) && (OLDCHOST == "")) |
289 |
- exit 0 |
290 |
- |
291 |
- # |
292 |
- # Ok, now let's scan for the .la files and actually fix them up |
293 |
- # |
294 |
- for (x = 1; x <= LIBCOUNT; x++) { |
295 |
- # Do nothing if the target dir is gcc's internal library path |
296 |
- if (DIRLIST[x] ~ GCCLIBPREFIX_OLD || |
297 |
- DIRLIST[x] ~ GCCLIBPREFIX_NEW) |
298 |
- continue |
299 |
- |
300 |
- einfo(" [" x "/" LIBCOUNT "] Scanning " DIRLIST[x] " ...") |
301 |
- |
302 |
- pipe = "find " DIRLIST[x] "/ -name '*.la' 2>/dev/null" |
303 |
- while (((pipe) | getline la_files) > 0) { |
304 |
- |
305 |
- # Do nothing if the .la file is located in gcc's internal lib path |
306 |
- if (la_files ~ GCCLIBPREFIX_OLD || |
307 |
- la_files ~ GCCLIBPREFIX_NEW) |
308 |
- continue |
309 |
- |
310 |
- CHANGED = 0 |
311 |
- CHOST_CHANGED = 0 |
312 |
- |
313 |
- # See if we need to fix the .la file |
314 |
- while ((getline la_data < (la_files)) > 0) { |
315 |
- if (OLDCHOST != "") { |
316 |
- if ((gsub(OLDGCCLIB1 "[/[:space:]]+", |
317 |
- GCCLIB, la_data) > 0) || |
318 |
- (gsub(OLDGCCLIB2 "[/[:space:]]+", |
319 |
- GCCLIB, la_data) > 0)) { |
320 |
- CHANGED = 1 |
321 |
- CHOST_CHANGED = 1 |
322 |
- } |
323 |
- } |
324 |
- if (OLDVER != NEWVER) { |
325 |
- if ((gsub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "[/[:space:]]*", |
326 |
- GCCLIB "/" NEWVER, la_data) > 0) || |
327 |
- (gsub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "[/[:space:]]*", |
328 |
- GCCLIB "/" NEWVER, la_data) > 0)) |
329 |
- CHANGED = 1 |
330 |
- } |
331 |
- } |
332 |
- close(la_files) |
333 |
- |
334 |
- # Do the actual changes in a second loop, as we can then |
335 |
- # verify that CHOST_CHANGED among things is correct ... |
336 |
- if (CHANGED) { |
337 |
- ewarnn(" FIXING: " la_files " ...") |
338 |
- |
339 |
- if (CHANGED) |
340 |
- printn("[") |
341 |
- |
342 |
- # Clear the temp file (removing rather than '>foo' is better |
343 |
- # out of a security point of view?) |
344 |
- dosystem("rm -f " la_files ".new") |
345 |
- |
346 |
- while ((getline la_data < (la_files)) > 0) { |
347 |
- if (OLDCHOST != "") { |
348 |
- tmpstr = gensub(OLDGCCLIB1 "([/[:space:]]+)", |
349 |
- GCCLIB "\\1", "g", la_data) |
350 |
- tmpstr = gensub(OLDGCCLIB2 "([/[:space:]]+)", |
351 |
- GCCLIB "\\1", "g", tmpstr) |
352 |
- |
353 |
- if (la_data != tmpstr) { |
354 |
- printn("c") |
355 |
- la_data = tmpstr |
356 |
- } |
357 |
- |
358 |
- if (CHOST_CHANGED > 0) { |
359 |
- # We try to be careful about CHOST changes outside |
360 |
- # the gcc library path (meaning we cannot match it |
361 |
- # via /GCCLIBPREFIX CHOST/) ... |
362 |
- |
363 |
- # Catch: |
364 |
- # |
365 |
- # dependency_libs=' -L/usr/CHOST/{bin,lib}' |
366 |
- # |
367 |
- gsub("-L@GENTOO_PORTAGE_EPREFIX@/usr/" OLDCHOST "/", |
368 |
- "-L@GENTOO_PORTAGE_EPREFIX@/usr/" CHOST "/", la_data) |
369 |
- # Catch: |
370 |
- # |
371 |
- # dependency_libs=' -L/usr/lib/gcc-lib/CHOST/VER/../../../../CHOST/lib' |
372 |
- # |
373 |
- la_data = gensub("(" GCCLIB "/[^[:space:]]+)/" OLDCHOST "/", |
374 |
- "\\1/" CHOST "/", "g", la_data) |
375 |
- } |
376 |
- } |
377 |
- |
378 |
- if (OLDVER != NEWVER) { |
379 |
- # Catch: |
380 |
- # |
381 |
- # dependency_libs=' -L/usr/lib/gcc/CHOST/VER' |
382 |
- # |
383 |
- tmpstr = gensub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "([/[:space:]]+)", |
384 |
- GCCLIB "/" NEWVER "\\1", "g", la_data) |
385 |
- tmpstr = gensub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "([/[:space:]]+)", |
386 |
- GCCLIB "/" NEWVER "\\1", "g", tmpstr) |
387 |
- |
388 |
- if (la_data != tmpstr) { |
389 |
- # Catch: |
390 |
- # |
391 |
- # dependency_libs=' -L/usr/lib/gcc-lib/../../CHOST/lib' |
392 |
- # |
393 |
- # in cases where we have gcc34 |
394 |
- tmpstr = gensub(GCCLIBPREFIX_OLD "(../../" CHOST "/lib)", |
395 |
- GCCLIBPREFIX "\\1", "g", tmpstr) |
396 |
- tmpstr = gensub(GCCLIBPREFIX_NEW "(../../" CHOST "/lib)", |
397 |
- GCCLIBPREFIX "\\1", "g", tmpstr) |
398 |
- printn("v") |
399 |
- la_data = tmpstr |
400 |
- } |
401 |
- } |
402 |
- |
403 |
- print la_data >> (la_files ".new") |
404 |
- } |
405 |
- |
406 |
- if (CHANGED) |
407 |
- print "]" |
408 |
- |
409 |
- close(la_files) |
410 |
- close(la_files ".new") |
411 |
- |
412 |
- assert(dosystem("mv -f " la_files ".new " la_files), |
413 |
- "dosystem(\"mv -f " la_files ".new " la_files "\")") |
414 |
- } |
415 |
- } |
416 |
- |
417 |
- close(pipe) |
418 |
- } |
419 |
-} |
420 |
- |
421 |
-# vim:ts=4 |
422 |
|
423 |
diff --git a/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la b/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la |
424 |
deleted file mode 100644 |
425 |
index 0c95253..0000000 |
426 |
--- a/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la |
427 |
+++ /dev/null |
428 |
@@ -1,335 +0,0 @@ |
429 |
-# Copyright 1999-2005 Gentoo Foundation |
430 |
-# Distributed under the terms of the GNU General Public License v2 |
431 |
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la,v 1.4 2010/03/19 23:53:07 vapier Exp $ |
432 |
- |
433 |
-# |
434 |
-# Helper functions |
435 |
-# |
436 |
-function printn(string) { |
437 |
- printf("%s", string) |
438 |
-} |
439 |
-function einfo(string) { |
440 |
- printf(" \033[32;01m*\033[0m %s\n", string) |
441 |
-} |
442 |
-function einfon(string) { |
443 |
- printf(" \033[32;01m*\033[0m %s", string) |
444 |
-} |
445 |
-function ewarn(string) { |
446 |
- printf(" \033[33;01m*\033[0m %s\n", string) |
447 |
-} |
448 |
-function ewarnn(string) { |
449 |
- printf(" \033[33;01m*\033[0m %s", string) |
450 |
-} |
451 |
-function eerror(string) { |
452 |
- printf(" \033[31;01m*\033[0m %s\n", string) |
453 |
-} |
454 |
- |
455 |
-# |
456 |
-# assert(condition, errmsg) |
457 |
-# assert that a condition is true. Otherwise exit. |
458 |
-# |
459 |
-function assert(condition, string) { |
460 |
- if (! condition) { |
461 |
- printf("%s:%d: assertion failed: %s\n", |
462 |
- FILENAME, FNR, string) > "/dev/stderr" |
463 |
- _assert_exit = 1 |
464 |
- exit 1 |
465 |
- } |
466 |
-} |
467 |
- |
468 |
-# |
469 |
-# system(command, return) |
470 |
-# wrapper that normalizes return codes ... |
471 |
-# |
472 |
-function dosystem(command, ret) { |
473 |
- ret = 0 |
474 |
- ret = system(command) |
475 |
- if (ret == 0) |
476 |
- return 1 |
477 |
- else |
478 |
- return 0 |
479 |
-} |
480 |
- |
481 |
-# |
482 |
-# parse_ld_conf(config_file) |
483 |
-# |
484 |
-function parse_ld_conf(conf, pipe, ldsoconf_data, CHILD, y) { |
485 |
- pipe = "cd @GENTOO_PORTAGE_EPREFIX@/etc; cat " conf " | sort 2>/dev/null" |
486 |
- while(((pipe) | getline ldsoconf_data) > 0) { |
487 |
- if (ldsoconf_data ~ /^[[:space:]]*#/) |
488 |
- continue |
489 |
- if (ldsoconf_data == "") |
490 |
- continue |
491 |
- |
492 |
- # Handle the "include" keyword |
493 |
- if (ldsoconf_data ~ /^include /) { |
494 |
- sub(/^include /, "", ldsoconf_data) |
495 |
- parse_ld_conf(ldsoconf_data) |
496 |
- continue |
497 |
- } |
498 |
- |
499 |
- # Remove any trailing comments |
500 |
- sub(/#.*$/, "", ldsoconf_data) |
501 |
- # Remove any trailing spaces |
502 |
- sub(/[[:space:]]+$/, "", ldsoconf_data) |
503 |
- # Eat duplicate slashes |
504 |
- sub(/\/\//, "/", ldsoconf_data) |
505 |
- # Prune trailing / |
506 |
- sub(/\/$/, "", ldsoconf_data) |
507 |
- |
508 |
- # |
509 |
- # Drop the directory if its a child directory of |
510 |
- # one that was already added ... |
511 |
- # For example, if we have: |
512 |
- # /usr/lib /usr/libexec /usr/lib/mozilla /usr/lib/nss |
513 |
- # We really just want to save /usr/lib /usr/libexec |
514 |
- # |
515 |
- CHILD = 0 |
516 |
- for (y in DIRLIST) { |
517 |
- if (ldsoconf_data ~ "^" DIRLIST[y] "(/|$)") { |
518 |
- CHILD = 1 |
519 |
- break |
520 |
- } |
521 |
- } |
522 |
- if (CHILD) continue |
523 |
- |
524 |
- DIRLIST[++LIBCOUNT] = ldsoconf_data |
525 |
- } |
526 |
- close(pipe) |
527 |
-} |
528 |
- |
529 |
-BEGIN { |
530 |
- # |
531 |
- # Get our variables from environment |
532 |
- # |
533 |
- OLDVER = ENVIRON["OLDVER"] |
534 |
- OLDCHOST = ENVIRON["OLDCHOST"] |
535 |
- |
536 |
- if (OLDVER == "") { |
537 |
- eerror("Could not get OLDVER!"); |
538 |
- exit 1 |
539 |
- } |
540 |
- |
541 |
- # Setup some sane defaults |
542 |
- LIBCOUNT = 2 |
543 |
- HAVE_GCC34 = 0 |
544 |
- DIRLIST[1] = "@GENTOO_PORTAGE_EPREFIX@/lib" |
545 |
- DIRLIST[2] = "@GENTOO_PORTAGE_EPREFIX@/usr/lib" |
546 |
- |
547 |
- # |
548 |
- # Walk /etc/ld.so.conf to discover all our library paths |
549 |
- # |
550 |
- parse_ld_conf("@GENTOO_PORTAGE_EPREFIX@/etc/ld.so.conf") |
551 |
- |
552 |
- # |
553 |
- # Get line from gcc's output containing CHOST |
554 |
- # |
555 |
- pipe = "gcc -print-file-name=libgcc.a 2>/dev/null" |
556 |
- if ((!((pipe) | getline TMP_CHOST)) || (TMP_CHOST == "")) { |
557 |
- close(pipe) |
558 |
- |
559 |
- # If we fail to get the CHOST, see if we can get the CHOST |
560 |
- # portage thinks we are using ... |
561 |
- pipe = "@GENTOO_PORTAGE_EPREFIX@/usr/bin/portageq envvar 'CHOST'" |
562 |
- assert(((pipe) | getline CHOST), "(" pipe ") | getline CHOST") |
563 |
- } else { |
564 |
- # Check pre gcc-3.4.x versions |
565 |
- CHOST = gensub("^.+lib/gcc-lib/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST) |
566 |
- |
567 |
- if (CHOST == TMP_CHOST || CHOST == "") { |
568 |
- # Check gcc-3.4.x or later |
569 |
- CHOST = gensub("^.+lib/gcc/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST); |
570 |
- |
571 |
- if (CHOST == TMP_CHOST || CHOST == "") |
572 |
- CHOST = "" |
573 |
- else |
574 |
- HAVE_GCC34 = 1 |
575 |
- } |
576 |
- } |
577 |
- close(pipe) |
578 |
- |
579 |
- if (CHOST == "") { |
580 |
- eerror("Could not get gcc's CHOST!") |
581 |
- exit 1 |
582 |
- } |
583 |
- |
584 |
- if (OLDCHOST != "") |
585 |
- if (OLDCHOST == CHOST) |
586 |
- OLDCHOST = "" |
587 |
- |
588 |
- GCCLIBPREFIX_OLD = "@GENTOO_PORTAGE_EPREFIX@/usr/lib/gcc-lib/" |
589 |
- GCCLIBPREFIX_NEW = "@GENTOO_PORTAGE_EPREFIX@/usr/lib/gcc/" |
590 |
- |
591 |
- if (HAVE_GCC34) |
592 |
- GCCLIBPREFIX = GCCLIBPREFIX_NEW |
593 |
- else |
594 |
- GCCLIBPREFIX = GCCLIBPREFIX_OLD |
595 |
- |
596 |
- GCCLIB = GCCLIBPREFIX CHOST |
597 |
- |
598 |
- if (OLDCHOST != "") { |
599 |
- OLDGCCLIB1 = GCCLIBPREFIX_OLD OLDCHOST |
600 |
- OLDGCCLIB2 = GCCLIBPREFIX_NEW OLDCHOST |
601 |
- } |
602 |
- |
603 |
- # Get current gcc's version |
604 |
- pipe = "gcc -dumpversion" |
605 |
- assert(((pipe) | getline NEWVER), "(" pipe ") | getline NEWVER)") |
606 |
- close(pipe) |
607 |
- |
608 |
- if (NEWVER == "") { |
609 |
- eerror("Could not get gcc's version!") |
610 |
- exit 1 |
611 |
- } |
612 |
- |
613 |
- # Nothing to do ? |
614 |
- # NB: Do not check for (OLDVER == NEWVER) anymore, as we might need to |
615 |
- # replace libstdc++.la .... |
616 |
- if ((OLDVER == "") && (OLDCHOST == "")) |
617 |
- exit 0 |
618 |
- |
619 |
- # |
620 |
- # Ok, now let's scan for the .la files and actually fix them up |
621 |
- # |
622 |
- for (x = 1; x <= LIBCOUNT; x++) { |
623 |
- # Do nothing if the target dir is gcc's internal library path |
624 |
- if (DIRLIST[x] ~ GCCLIBPREFIX_OLD || |
625 |
- DIRLIST[x] ~ GCCLIBPREFIX_NEW) |
626 |
- continue |
627 |
- |
628 |
- einfo(" [" x "/" LIBCOUNT "] Scanning " DIRLIST[x] " ...") |
629 |
- |
630 |
- pipe = "find " DIRLIST[x] "/ -name '*.la' 2>/dev/null" |
631 |
- while (((pipe) | getline la_files) > 0) { |
632 |
- |
633 |
- # Do nothing if the .la file is located in gcc's internal lib path |
634 |
- if (la_files ~ GCCLIBPREFIX_OLD || |
635 |
- la_files ~ GCCLIBPREFIX_NEW) |
636 |
- continue |
637 |
- |
638 |
- CHANGED = 0 |
639 |
- CHOST_CHANGED = 0 |
640 |
- |
641 |
- # See if we need to fix the .la file |
642 |
- while ((getline la_data < (la_files)) > 0) { |
643 |
- if (OLDCHOST != "") { |
644 |
- if ((gsub(OLDGCCLIB1 "[/[:space:]]+", |
645 |
- GCCLIB, la_data) > 0) || |
646 |
- (gsub(OLDGCCLIB2 "[/[:space:]]+", |
647 |
- GCCLIB, la_data) > 0)) { |
648 |
- CHANGED = 1 |
649 |
- CHOST_CHANGED = 1 |
650 |
- } |
651 |
- } |
652 |
- if (OLDVER != NEWVER) { |
653 |
- if ((gsub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "[/[:space:]]*", |
654 |
- GCCLIB "/" NEWVER, la_data) > 0) || |
655 |
- (gsub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "[/[:space:]]*", |
656 |
- GCCLIB "/" NEWVER, la_data) > 0)) |
657 |
- CHANGED = 1 |
658 |
- } |
659 |
- # We now check if we have libstdc++.la, as we remove the |
660 |
- # libtool linker scripts for gcc ... |
661 |
- # We do this last, as we only match the new paths |
662 |
- if (gsub(GCCLIB "/" NEWVER "/libstdc\\+\\+\\.la", |
663 |
- "-lstdc++", la_data) > 0) |
664 |
- CHANGED = 1 |
665 |
- } |
666 |
- close(la_files) |
667 |
- |
668 |
- # Do the actual changes in a second loop, as we can then |
669 |
- # verify that CHOST_CHANGED among things is correct ... |
670 |
- if (CHANGED) { |
671 |
- ewarnn(" FIXING: " la_files " ...[") |
672 |
- |
673 |
- # Clear the temp file (removing rather than '>foo' is better |
674 |
- # out of a security point of view?) |
675 |
- dosystem("rm -f " la_files ".new") |
676 |
- |
677 |
- while ((getline la_data < (la_files)) > 0) { |
678 |
- if (OLDCHOST != "") { |
679 |
- tmpstr = gensub(OLDGCCLIB1 "([/[:space:]]+)", |
680 |
- GCCLIB "\\1", "g", la_data) |
681 |
- tmpstr = gensub(OLDGCCLIB2 "([/[:space:]]+)", |
682 |
- GCCLIB "\\1", "g", tmpstr) |
683 |
- |
684 |
- if (la_data != tmpstr) { |
685 |
- printn("c") |
686 |
- la_data = tmpstr |
687 |
- } |
688 |
- |
689 |
- if (CHOST_CHANGED > 0) { |
690 |
- # We try to be careful about CHOST changes outside |
691 |
- # the gcc library path (meaning we cannot match it |
692 |
- # via /GCCLIBPREFIX CHOST/) ... |
693 |
- |
694 |
- # Catch: |
695 |
- # |
696 |
- # dependency_libs=' -L/usr/CHOST/{bin,lib}' |
697 |
- # |
698 |
- gsub("-L@GENTOO_PORTAGE_EPREFIX@/usr/" OLDCHOST "/", |
699 |
- "-L@GENTOO_PORTAGE_EPREFIX@/usr/" CHOST "/", la_data) |
700 |
- # Catch: |
701 |
- # |
702 |
- # dependency_libs=' -L/usr/lib/gcc-lib/CHOST/VER/../../../../CHOST/lib' |
703 |
- # |
704 |
- la_data = gensub("(" GCCLIB "/[^[:space:]]+)/" OLDCHOST "/", |
705 |
- "\\1/" CHOST "/", "g", la_data) |
706 |
- } |
707 |
- } |
708 |
- |
709 |
- if (OLDVER != NEWVER) { |
710 |
- # Catch: |
711 |
- # |
712 |
- # dependency_libs=' -L/usr/lib/gcc/CHOST/VER' |
713 |
- # |
714 |
- tmpstr = gensub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "([/[:space:]]+)", |
715 |
- GCCLIB "/" NEWVER "\\1", "g", la_data) |
716 |
- tmpstr = gensub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "([/[:space:]]+)", |
717 |
- GCCLIB "/" NEWVER "\\1", "g", tmpstr) |
718 |
- |
719 |
- if (la_data != tmpstr) { |
720 |
- # Catch: |
721 |
- # |
722 |
- # dependency_libs=' -L/usr/lib/gcc-lib/../../CHOST/lib' |
723 |
- # |
724 |
- # in cases where we have gcc34 |
725 |
- tmpstr = gensub(GCCLIBPREFIX_OLD "(../../" CHOST "/lib)", |
726 |
- GCCLIBPREFIX "\\1", "g", tmpstr) |
727 |
- tmpstr = gensub(GCCLIBPREFIX_NEW "(../../" CHOST "/lib)", |
728 |
- GCCLIBPREFIX "\\1", "g", tmpstr) |
729 |
- printn("v") |
730 |
- la_data = tmpstr |
731 |
- } |
732 |
- } |
733 |
- |
734 |
- # We now check if we have libstdc++.la, as we remove the |
735 |
- # libtool linker scripts for gcc and any referencese in any |
736 |
- # libtool linker scripts. |
737 |
- # We do this last, as we only match the new paths |
738 |
- tmpstr = gensub(GCCLIB "/" NEWVER "/libstdc\\+\\+\\.la", |
739 |
- "-lstdc++", "g", la_data); |
740 |
- if (la_data != tmpstr) { |
741 |
- printn("l") |
742 |
- la_data = tmpstr |
743 |
- } |
744 |
- |
745 |
- print la_data >> (la_files ".new") |
746 |
- } |
747 |
- |
748 |
- if (CHANGED) |
749 |
- print "]" |
750 |
- |
751 |
- close(la_files) |
752 |
- close(la_files ".new") |
753 |
- |
754 |
- assert(dosystem("mv -f " la_files ".new " la_files), |
755 |
- "dosystem(\"mv -f " la_files ".new " la_files "\")") |
756 |
- } |
757 |
- } |
758 |
- |
759 |
- close(pipe) |
760 |
- } |
761 |
-} |
762 |
- |
763 |
-# vim:ts=4 |
764 |
|
765 |
diff --git a/sys-devel/gcc/files/awk/scanforssp.awk b/sys-devel/gcc/files/awk/scanforssp.awk |
766 |
deleted file mode 100644 |
767 |
index e8a1fe8..0000000 |
768 |
--- a/sys-devel/gcc/files/awk/scanforssp.awk |
769 |
+++ /dev/null |
770 |
@@ -1,225 +0,0 @@ |
771 |
-# Copyright 1999-2004 Gentoo Foundation |
772 |
-# Distributed under the terms of the GNU General Public License v2 |
773 |
-# Author: Martin Schlemmer <azarah@g.o> |
774 |
-# Contributor: Ned Ludd <solar@g.o> |
775 |
-# Contributor: Natanael Copa <nat@×××.net> |
776 |
-# Contributor: Carter Smithhart <derheld42@×××××××.net> |
777 |
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/scanforssp.awk,v 1.7 2004/07/15 00:59:02 agriffis Exp $ |
778 |
- |
779 |
- |
780 |
-# Does not seem to be used in this script. |
781 |
-function printn(string) |
782 |
-{ |
783 |
- printf("%s", string) |
784 |
-} |
785 |
- |
786 |
-function einfo(string) |
787 |
-{ |
788 |
- printf(" %s %s%s", "\033[32;01m*\033[0m", string, "\n") |
789 |
-} |
790 |
- |
791 |
-# Does not seem to be used in this script. |
792 |
-function einfon(string) |
793 |
-{ |
794 |
- printf(" %s %s" , "\033[32;01m*\033[0m", string) |
795 |
-} |
796 |
- |
797 |
-function ewarn(string) |
798 |
-{ |
799 |
- printf(" %s %s%s" , "\033[33;01m*\033[0m", string, "\n") |
800 |
-} |
801 |
- |
802 |
-# Does not seem to be used in this script. |
803 |
-function ewarnn(string) |
804 |
-{ |
805 |
- printf("%s %s" , "\032[33;01m*\033[0m", string) |
806 |
-} |
807 |
- |
808 |
-function eerror(string) |
809 |
-{ |
810 |
- printf(" %s %s%s" , "\033[31;01m*\033[0m", string, "\n") |
811 |
-} |
812 |
- |
813 |
- # These are private, else wierd things |
814 |
- # might happen ... |
815 |
-function iself(scan_files, scan_file_pipe, scan_data) { |
816 |
- # Can we open() a file and read() 4 bytes? |
817 |
- scan_file_pipe = ("head -c 4 " scan_files " 2>/dev/null | tail -c 3") |
818 |
- scan_file_pipe | getline scan_data |
819 |
- close(scan_file_pipe) |
820 |
- return ((scan_data == "ELF") ? 0 : 1) |
821 |
-} |
822 |
- |
823 |
-BEGIN { |
824 |
- # Do we have etcat ? |
825 |
- pipe = ("which etcat 2>/dev/null") |
826 |
- if ((((pipe) | getline etcat_data) > 0) && (etcat_data != "")) |
827 |
- auto_etcat = 1 |
828 |
- else |
829 |
- auto_etcat = 0 |
830 |
- |
831 |
- # Fix bug that causes script to fail when pipe is not closed. Closes bug #36792 |
832 |
- close(pipe) |
833 |
- |
834 |
- DIRCOUNT = 0 |
835 |
- # Add the two default library paths |
836 |
- DIRLIST[1] = "/lib" |
837 |
- DIRLIST[2] = "/usr/lib" |
838 |
- |
839 |
- # Walk /etc/ld.so.conf line for line and get any library paths |
840 |
- pipe = ("cat /etc/ld.so.conf 2>/dev/null | sort") |
841 |
- while(((pipe) | getline ldsoconf_data) > 0) { |
842 |
- |
843 |
- if (ldsoconf_data !~ /^[[:space:]]*#/) { |
844 |
- |
845 |
- if (ldsoconf_data == "") continue |
846 |
- |
847 |
- # Remove any trailing comments |
848 |
- sub(/#.*$/, "", ldsoconf_data) |
849 |
- # Remove any trailing spaces |
850 |
- sub(/[[:space:]]+$/, "", ldsoconf_data) |
851 |
- |
852 |
- split(ldsoconf_data, nodes, /[:,[:space:]]/) |
853 |
- |
854 |
- # Now add the rest from ld.so.conf |
855 |
- for (x in nodes) { |
856 |
- |
857 |
- sub(/=.*/, "", nodes[x]) |
858 |
- sub(/\/$/, "", nodes[x]) |
859 |
- |
860 |
- if (nodes[x] == "") continue |
861 |
- |
862 |
- CHILD = 0 |
863 |
- |
864 |
- # Drop the directory if its a child directory of |
865 |
- # one that was already added ... |
866 |
- for (y in DIRLIST) { |
867 |
- |
868 |
- if (nodes[x] ~ "^" DIRLIST[y]) { |
869 |
- |
870 |
- CHILD = 1 |
871 |
- break |
872 |
- } |
873 |
- } |
874 |
- |
875 |
- if (CHILD) continue |
876 |
- |
877 |
- DIRLIST[++DIRCOUNT + 2] = nodes[x] |
878 |
- } |
879 |
- } |
880 |
- } |
881 |
- |
882 |
-# We have no guarantee that ld.so.conf have more library paths than |
883 |
-# the default, and its better scan files only in /lib and /usr/lib |
884 |
-# than nothing at all ... |
885 |
-# |
886 |
-# exit_val = close(pipe) |
887 |
-# if (exit_val != 0) |
888 |
-# print(exit_val " - " ERRNO) |
889 |
-# |
890 |
-# if (DIRCOUNT == 0) { |
891 |
-# eerror("Could not read from /etc/ld.so.conf!") |
892 |
-# exit 1 |
893 |
-# } |
894 |
- |
895 |
- # Correct DIRCOUNT, as we already added /lib and /usr/lib |
896 |
- DIRCOUNT += 2 |
897 |
- |
898 |
- # Add all the dirs in $PATH |
899 |
- split(ENVIRON["PATH"], TMPPATHLIST, ":") |
900 |
- count = asort(TMPPATHLIST, PATHLIST) |
901 |
- for (x = 1;x <= count;x++) { |
902 |
- |
903 |
- ADDED = 0 |
904 |
- |
905 |
- # Already added? |
906 |
- for (dnode in DIRLIST) |
907 |
- if (PATHLIST[x] == DIRLIST[dnode]) |
908 |
- ADDED = 1 |
909 |
- |
910 |
- if (ADDED) |
911 |
- continue |
912 |
- |
913 |
- # Valid? If so, add it ... |
914 |
- if (((PATHLIST[x] != "") && (PATHLIST[x] != "/") && (PATHLIST[x] != "."))) |
915 |
- DIRLIST[++DIRCOUNT] = PATHLIST[x] |
916 |
- |
917 |
- } |
918 |
- |
919 |
- GCCLIBPREFIX = "/usr/lib/gcc-lib/" |
920 |
- |
921 |
- for (x = 1;x <= DIRCOUNT;x++) { |
922 |
- |
923 |
- # Do nothing if the target dir is gcc's internal library path |
924 |
- if (DIRLIST[x] ~ GCCLIBPREFIX) continue |
925 |
- |
926 |
- einfo(" Scanning " ((x <= 9) ? "0"x : x)" of " DIRCOUNT " " DIRLIST[x] "...") |
927 |
- |
928 |
- pipe = ("find " DIRLIST[x] "/ -type f -perm -1 2>/dev/null") |
929 |
- while ( (pipe | getline scan_files) > 0) { |
930 |
- |
931 |
- #print scan_files |
932 |
- # Do nothing if the file is located in gcc's internal lib path ... |
933 |
- if (scan_files ~ GCCLIBPREFIX) continue |
934 |
- # Or if its hardend files ... |
935 |
- if (scan_files ~ "/lib/libgcc-3" ) continue |
936 |
- # Or not a elf image ... |
937 |
- if (iself(scan_files)) continue |
938 |
- |
939 |
- scan_file_pipe = ("readelf -s " scan_files " 2>&1") |
940 |
- while (((scan_file_pipe) | getline scan_data) > 0) { |
941 |
- bad = 0; |
942 |
- if (scan_data ~ /__guard@GCC/ || scan_data ~ /__guard@@GCC/) { |
943 |
- bad = 1; |
944 |
- print |
945 |
- |
946 |
- # 194: 00000000 32 OBJECT GLOBAL DEFAULT UND __guard@GCC_3.0 (3) |
947 |
- # 59: 00008ee0 32 OBJECT GLOBAL DEFAULT 22 __guard@@GCC_3.0 |
948 |
- split(scan_data, scan_data_nodes) |
949 |
- ewarn("Found " scan_data_nodes[8] " in " scan_files "!") |
950 |
- print |
951 |
- } |
952 |
- if (scan_data ~ /readelf: Error: Unable to seek/) { |
953 |
- bad = 1; |
954 |
- print |
955 |
- ewarn("Error executing readelf. Bad block? Filesystem error? in " scan_files) |
956 |
- print |
957 |
- } |
958 |
- |
959 |
- if (bad) { |
960 |
- |
961 |
- if (auto_etcat) { |
962 |
- |
963 |
- # Use etcat that comes with gentoolkit if auto_etcat is true. |
964 |
- etcat_pipe = ("etcat belongs " scan_files) |
965 |
- (etcat_pipe) | getline etcat_belongs |
966 |
- |
967 |
- while(((etcat_pipe) | getline etcat_belongs) > 0) |
968 |
- eerror(etcat_belongs != "" ? "Please emerge '>=" etcat_belongs "'": "") |
969 |
- close(etcat_pipe) |
970 |
- } else { |
971 |
- |
972 |
- eerror("You need to remerge package that above file belongs to!") |
973 |
- eerror("To find out what package it is, please emerge gentoolkit,") |
974 |
- eerror("and then run:") |
975 |
- print |
976 |
- print " # etcat belongs " scan_files |
977 |
- } |
978 |
- |
979 |
- print |
980 |
- |
981 |
- close(scan_file_pipe) |
982 |
- close(pipe) |
983 |
- exit(1) |
984 |
- } |
985 |
- } |
986 |
- close(scan_file_pipe) |
987 |
- } |
988 |
- close(pipe) |
989 |
- } |
990 |
- |
991 |
- exit(0) |
992 |
-} |
993 |
- |
994 |
- |
995 |
-# vim:ts=4 |
996 |
|
997 |
diff --git a/sys-devel/gcc/files/c89 b/sys-devel/gcc/files/c89 |
998 |
deleted file mode 100644 |
999 |
index cee0325..0000000 |
1000 |
--- a/sys-devel/gcc/files/c89 |
1001 |
+++ /dev/null |
1002 |
@@ -1,20 +0,0 @@ |
1003 |
-#! /bin/sh |
1004 |
- |
1005 |
-# Call the appropriate C compiler with options to accept ANSI/ISO C |
1006 |
-# The following options are the same (as of gcc-2.95): |
1007 |
-# -ansi |
1008 |
-# -std=c89 |
1009 |
-# -std=iso9899:1990 |
1010 |
- |
1011 |
-for i; do |
1012 |
- case "$i" in |
1013 |
- -ansi|-std=c89|-std=iso9899:1990) |
1014 |
- ;; |
1015 |
- -std=*) |
1016 |
- echo >&2 "`basename $0` called with non ANSI/ISO C90 option $i" |
1017 |
- exit 1 |
1018 |
- ;; |
1019 |
- esac |
1020 |
-done |
1021 |
- |
1022 |
-exec gcc -std=c89 -pedantic -U_FORTIFY_SOURCE "$@" |
1023 |
|
1024 |
diff --git a/sys-devel/gcc/files/c99 b/sys-devel/gcc/files/c99 |
1025 |
deleted file mode 100644 |
1026 |
index c954209..0000000 |
1027 |
--- a/sys-devel/gcc/files/c99 |
1028 |
+++ /dev/null |
1029 |
@@ -1,21 +0,0 @@ |
1030 |
-#! /bin/sh |
1031 |
- |
1032 |
-# Call the appropriate C compiler with options to accept ANSI/ISO C |
1033 |
-# The following options are the same (as of gcc-3.3): |
1034 |
-# -std=c99 |
1035 |
-# -std=c9x |
1036 |
-# -std=iso9899:1999 |
1037 |
-# -std=iso9899:199x |
1038 |
- |
1039 |
-for i; do |
1040 |
- case "$i" in |
1041 |
- -std=c9[9x]|-std=iso9899:199[9x]) |
1042 |
- ;; |
1043 |
- -ansi|-std=*) |
1044 |
- echo >&2 "`basename $0` called with non ANSI/ISO C99 option $i" |
1045 |
- exit 1 |
1046 |
- ;; |
1047 |
- esac |
1048 |
-done |
1049 |
- |
1050 |
-exec gcc -std=c99 -pedantic -U_FORTIFY_SOURCE ${1+"$@"} |
1051 |
|
1052 |
diff --git a/sys-devel/gcc/files/fix_libtool_files.sh b/sys-devel/gcc/files/fix_libtool_files.sh |
1053 |
deleted file mode 100644 |
1054 |
index 4a89bae..0000000 |
1055 |
--- a/sys-devel/gcc/files/fix_libtool_files.sh |
1056 |
+++ /dev/null |
1057 |
@@ -1,69 +0,0 @@ |
1058 |
-#!@GENTOO_PORTAGE_EPREFIX@/bin/sh |
1059 |
-# Copyright 1999-2014 Gentoo Foundation |
1060 |
-# Distributed under the terms of the GNU General Public License v2 |
1061 |
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/fix_libtool_files.sh,v 1.17 2014/05/20 08:00:40 rhill Exp $ |
1062 |
- |
1063 |
-usage() { |
1064 |
-cat << "USAGE_END" |
1065 |
-Usage: fix_libtool_files.sh <old-gcc-version> [--oldarch <old-CHOST>] |
1066 |
- |
1067 |
- Where <old-gcc-version> is the version number of the |
1068 |
- previous gcc version. For example, if you updated to |
1069 |
- gcc-3.2.1, and you had gcc-3.2 installed, run: |
1070 |
- |
1071 |
- # fix_libtool_files.sh 3.2 |
1072 |
- |
1073 |
- If you updated to gcc-3.2.3, and the old CHOST was i586-pc-linux-gnu |
1074 |
- but you now have CHOST as i686-pc-linux-gnu, run: |
1075 |
- |
1076 |
- # fix_libtool_files.sh 3.2 --oldarch i586-pc-linux-gnu |
1077 |
- |
1078 |
- Note that if only the CHOST and not the version changed, you can run |
1079 |
- it with the current version and the '--oldarch <old-CHOST>' arguments, |
1080 |
- and it will do the expected: |
1081 |
- |
1082 |
- # fix_libtool_files.sh `gcc -dumpversion` --oldarch i586-pc-linux-gnu |
1083 |
- |
1084 |
-USAGE_END |
1085 |
- exit 1 |
1086 |
-} |
1087 |
- |
1088 |
-case $2 in |
1089 |
---oldarch) [ $# -ne 3 ] && usage ;; |
1090 |
-*) [ $# -ne 1 ] && usage ;; |
1091 |
-esac |
1092 |
- |
1093 |
-ARGV1=$1 |
1094 |
-ARGV2=$2 |
1095 |
-ARGV3=$3 |
1096 |
- |
1097 |
-. "@GENTOO_PORTAGE_EPREFIX@"/etc/profile || exit 1 |
1098 |
-. "@GENTOO_PORTAGE_EPREFIX@"/etc/init.d/functions.sh || exit 1 |
1099 |
- |
1100 |
-# Prefix: no! |
1101 |
-#if [ ${EUID:-0} -ne 0 ] ; then |
1102 |
-# eerror "${0##*/}: Must be root." |
1103 |
-# exit 1 |
1104 |
-#fi |
1105 |
- |
1106 |
-# make sure the files come out sane |
1107 |
-umask 0022 |
1108 |
- |
1109 |
-OLDCHOST= |
1110 |
-[ "${ARGV2}" = "--oldarch" ] && OLDCHOST=${ARGV3} |
1111 |
- |
1112 |
-AWKDIR="@GENTOO_PORTAGE_EPREFIX@/usr/share/gcc-data" |
1113 |
- |
1114 |
-if [ ! -r "${AWKDIR}/fixlafiles.awk" ] ; then |
1115 |
- eerror "${0##*/}: ${AWKDIR}/fixlafiles.awk does not exist!" |
1116 |
- exit 1 |
1117 |
-fi |
1118 |
- |
1119 |
-OLDVER=${ARGV1} |
1120 |
- |
1121 |
-export OLDVER OLDCHOST |
1122 |
- |
1123 |
-einfo "Scanning libtool files for hardcoded gcc library paths..." |
1124 |
-exec gawk -f "${AWKDIR}/fixlafiles.awk" |
1125 |
- |
1126 |
-# vim:ts=4 |
1127 |
|
1128 |
diff --git a/sys-devel/gcc/files/gcc-4.7-rap.patch b/sys-devel/gcc/files/gcc-4.7-rap.patch |
1129 |
deleted file mode 100644 |
1130 |
index 36d925a..0000000 |
1131 |
--- a/sys-devel/gcc/files/gcc-4.7-rap.patch |
1132 |
+++ /dev/null |
1133 |
@@ -1,37 +0,0 @@ |
1134 |
-Index: gcc-4.7.2/gcc/config/i386/linux64.h |
1135 |
-=================================================================== |
1136 |
---- gcc-4.7.2.orig/gcc/config/i386/linux64.h |
1137 |
-+++ gcc-4.7.2/gcc/config/i386/linux64.h |
1138 |
-@@ -28,6 +28,6 @@ see the files COPYING3 and COPYING.RUNTI |
1139 |
- #define GNU_USER_LINK_EMULATION64 "elf_x86_64" |
1140 |
- #define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64" |
1141 |
- |
1142 |
--#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" |
1143 |
--#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2" |
1144 |
--#define GLIBC_DYNAMIC_LINKERX32 "/libx32/ld-linux-x32.so.2" |
1145 |
-+#define GLIBC_DYNAMIC_LINKER32 "@GENTOO_PORTAGE_EPREFIX@/lib/ld-linux.so.2" |
1146 |
-+#define GLIBC_DYNAMIC_LINKER64 "@GENTOO_PORTAGE_EPREFIX@/lib64/ld-linux-x86-64.so.2" |
1147 |
-+#define GLIBC_DYNAMIC_LINKERX32 "@GENTOO_PORTAGE_EPREFIX@/libx32/ld-linux-x32.so.2" |
1148 |
-Index: gcc-4.7.2/gcc/config/arm/linux-eabi.h |
1149 |
-=================================================================== |
1150 |
---- gcc-4.7.2.orig/gcc/config/arm/linux-eabi.h |
1151 |
-+++ gcc-4.7.2/gcc/config/arm/linux-eabi.h |
1152 |
-@@ -69,8 +69,8 @@ |
1153 |
- GLIBC_DYNAMIC_LINKER_DEFAULT and TARGET_DEFAULT_FLOAT_ABI. */ |
1154 |
- |
1155 |
- #undef GLIBC_DYNAMIC_LINKER |
1156 |
--#define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT "/lib/ld-linux.so.3" |
1157 |
--#define GLIBC_DYNAMIC_LINKER_HARD_FLOAT "/lib/ld-linux-armhf.so.3" |
1158 |
-+#define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT "@GENTOO_PORTAGE_EPREFIX@/lib/ld-linux.so.3" |
1159 |
-+#define GLIBC_DYNAMIC_LINKER_HARD_FLOAT "@GENTOO_PORTAGE_EPREFIX@/lib/ld-linux-armhf.so.3" |
1160 |
- #define GLIBC_DYNAMIC_LINKER_DEFAULT GLIBC_DYNAMIC_LINKER_SOFT_FLOAT |
1161 |
- |
1162 |
- #define GLIBC_DYNAMIC_LINKER \ |
1163 |
---- a/gcc/config/i386/linux.h 2011-06-04 03:30:39.000000000 +0900 |
1164 |
-+++ b/gcc/config/i386/linux.h.new 2013-07-16 19:55:09.610399047 +0900 |
1165 |
-@@ -21,4 +21,4 @@ along with GCC; see the file COPYING3. |
1166 |
- <http://www.gnu.org/licenses/>. */ |
1167 |
- |
1168 |
- #define GNU_USER_LINK_EMULATION "elf_i386" |
1169 |
--#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" |
1170 |
-+#define GLIBC_DYNAMIC_LINKER "@GENTOO_PORTAGE_EPREFIX@/lib/ld-linux.so.2" |
1171 |
|
1172 |
diff --git a/sys-devel/gcc/files/gcc-4.9-extra-specs.patch b/sys-devel/gcc/files/gcc-4.9-extra-specs.patch |
1173 |
deleted file mode 100644 |
1174 |
index 98f65d8..0000000 |
1175 |
--- a/sys-devel/gcc/files/gcc-4.9-extra-specs.patch |
1176 |
+++ /dev/null |
1177 |
@@ -1,117 +0,0 @@ |
1178 |
-diff --git a/gcc/Makefile.in b/gcc/Makefile.in |
1179 |
-index 6ddc853..5d91333 100644 |
1180 |
---- a/gcc/Makefile.in |
1181 |
-+++ b/gcc/Makefile.in |
1182 |
-@@ -2059,7 +2059,8 @@ DRIVER_DEFINES = \ |
1183 |
- @TARGET_SYSTEM_ROOT_DEFINE@ \ |
1184 |
- $(VALGRIND_DRIVER_DEFINES) \ |
1185 |
- `test "X$${SHLIB}" = "X" || test "@enable_shared@" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` \ |
1186 |
-- -DCONFIGURE_SPECS="\"@CONFIGURE_SPECS@\"" |
1187 |
-+ -DCONFIGURE_SPECS="\"@CONFIGURE_SPECS@\"" \ |
1188 |
-+ -DCONFIGURE_EXTRA_SPECS="@CONFIGURE_EXTRA_SPECS@" |
1189 |
- |
1190 |
- gcc.o: gcc.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) intl.h multilib.h \ |
1191 |
- Makefile $(lang_specs_files) specs.h prefix.h $(GCC_H) $(FLAGS_H) \ |
1192 |
-diff --git a/gcc/configure b/gcc/configure |
1193 |
-index 1e9be8e..8cab7d3 100755 |
1194 |
---- a/gcc/configure |
1195 |
-+++ b/gcc/configure |
1196 |
-@@ -757,6 +757,7 @@ SET_MAKE |
1197 |
- REPORT_BUGS_TEXI |
1198 |
- REPORT_BUGS_TO |
1199 |
- PKGVERSION |
1200 |
-+CONFIGURE_EXTRA_SPECS |
1201 |
- CONFIGURE_SPECS |
1202 |
- CROSS_SYSTEM_HEADER_DIR |
1203 |
- TARGET_SYSTEM_ROOT_DEFINE |
1204 |
-@@ -891,6 +892,7 @@ with_native_system_header_dir |
1205 |
- with_build_sysroot |
1206 |
- with_sysroot |
1207 |
- with_specs |
1208 |
-+with_extra_specs |
1209 |
- with_pkgversion |
1210 |
- with_bugurl |
1211 |
- enable_languages |
1212 |
-@@ -1662,6 +1664,11 @@ Optional Packages: |
1213 |
- use sysroot as the system root during the build |
1214 |
- --with-sysroot[=DIR] search for usr/lib, usr/include, et al, within DIR |
1215 |
- --with-specs=SPECS add SPECS to driver command-line processing |
1216 |
-+ --with-extra-specs=LIST A list of specs used to override the default. It |
1217 |
-+ should be a suitable initializer for an array of |
1218 |
-+ structures, each containing two strings, without the |
1219 |
-+ outermost pair of surrounding braces. Do not use it |
1220 |
-+ if you do not know what it is. |
1221 |
- --with-pkgversion=PKG Use PKG in the version string in place of "GCC" |
1222 |
- --with-bugurl=URL Direct users to URL to report a bug |
1223 |
- --with-multilib-list select multilibs (AArch64, SH and x86-64 only) |
1224 |
-@@ -7324,6 +7331,17 @@ fi |
1225 |
- |
1226 |
- |
1227 |
- |
1228 |
-+# Check whether --with-extra-specs was given. |
1229 |
-+if test "${with_extra_specs+set}" = set; then : |
1230 |
-+ withval=$with_extra_specs; CONFIGURE_EXTRA_SPECS=$withval |
1231 |
-+else |
1232 |
-+ CONFIGURE_EXTRA_SPECS= |
1233 |
-+ |
1234 |
-+fi |
1235 |
-+ |
1236 |
-+ |
1237 |
-+ |
1238 |
-+ |
1239 |
- |
1240 |
- # Check whether --with-pkgversion was given. |
1241 |
- if test "${with_pkgversion+set}" = set; then : |
1242 |
-@@ -17894,7 +17912,7 @@ else |
1243 |
- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
1244 |
- lt_status=$lt_dlunknown |
1245 |
- cat > conftest.$ac_ext <<_LT_EOF |
1246 |
--#line 17897 "configure" |
1247 |
-+#line 17915 "configure" |
1248 |
- #include "confdefs.h" |
1249 |
- |
1250 |
- #if HAVE_DLFCN_H |
1251 |
-@@ -18000,7 +18018,7 @@ else |
1252 |
- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
1253 |
- lt_status=$lt_dlunknown |
1254 |
- cat > conftest.$ac_ext <<_LT_EOF |
1255 |
--#line 18003 "configure" |
1256 |
-+#line 18021 "configure" |
1257 |
- #include "confdefs.h" |
1258 |
- |
1259 |
- #if HAVE_DLFCN_H |
1260 |
-diff --git a/gcc/configure.ac b/gcc/configure.ac |
1261 |
-index 116ba13..590ca64 100644 |
1262 |
---- a/gcc/configure.ac |
1263 |
-+++ b/gcc/configure.ac |
1264 |
-@@ -813,6 +813,17 @@ AC_ARG_WITH(specs, |
1265 |
- ) |
1266 |
- AC_SUBST(CONFIGURE_SPECS) |
1267 |
- |
1268 |
-+AC_ARG_WITH(extra-specs, |
1269 |
-+ [AS_HELP_STRING([--with-extra-specs=LIST], |
1270 |
-+ [A list of specs used to override the default. It should be a suitable \ |
1271 |
-+ initializer for an array of structures, each containing two strings, \ |
1272 |
-+ without the outermost pair of surrounding braces. Do not use it if you \ |
1273 |
-+ do not know what it is.])], |
1274 |
-+ [CONFIGURE_EXTRA_SPECS=$withval], |
1275 |
-+ [CONFIGURE_EXTRA_SPECS=] |
1276 |
-+) |
1277 |
-+AC_SUBST(CONFIGURE_EXTRA_SPECS) |
1278 |
-+ |
1279 |
- ACX_PKGVERSION([GCC]) |
1280 |
- ACX_BUGURL([http://gcc.gnu.org/bugs.html]) |
1281 |
- |
1282 |
-diff --git a/gcc/gcc.c b/gcc/gcc.c |
1283 |
-index 7c15cf3..778ae7d 100644 |
1284 |
---- a/gcc/gcc.c |
1285 |
-+++ b/gcc/gcc.c |
1286 |
-@@ -1318,7 +1318,7 @@ struct spec_list_1 |
1287 |
- const char *const ptr; |
1288 |
- }; |
1289 |
- |
1290 |
--static const struct spec_list_1 extra_specs_1[] = { EXTRA_SPECS }; |
1291 |
-+static const struct spec_list_1 extra_specs_1[] = { EXTRA_SPECS, CONFIGURE_EXTRA_SPECS }; |
1292 |
- static struct spec_list *extra_specs = (struct spec_list *) 0; |
1293 |
- #endif |
1294 |
- |
1295 |
|
1296 |
diff --git a/sys-devel/gcc/files/gcc-4.9.2-rap.patch b/sys-devel/gcc/files/gcc-4.9.2-rap.patch |
1297 |
deleted file mode 100644 |
1298 |
index 136a689..0000000 |
1299 |
--- a/sys-devel/gcc/files/gcc-4.9.2-rap.patch |
1300 |
+++ /dev/null |
1301 |
@@ -1,535 +0,0 @@ |
1302 |
-Index: gcc-4.9.2/gcc/config/i386/linux64.h |
1303 |
-=================================================================== |
1304 |
---- gcc-4.9.2.orig/gcc/config/i386/linux64.h |
1305 |
-+++ gcc-4.9.2/gcc/config/i386/linux64.h |
1306 |
-@@ -27,6 +27,6 @@ see the files COPYING3 and COPYING.RUNTI |
1307 |
- #define GNU_USER_LINK_EMULATION64 "elf_x86_64" |
1308 |
- #define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64" |
1309 |
- |
1310 |
--#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" |
1311 |
--#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2" |
1312 |
--#define GLIBC_DYNAMIC_LINKERX32 "/libx32/ld-linux-x32.so.2" |
1313 |
-+#define GLIBC_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.2" |
1314 |
-+#define GLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "/lib64/ld-linux-x86-64.so.2" |
1315 |
-+#define GLIBC_DYNAMIC_LINKERX32 DYNAMIC_LINKER_PREFIX "/libx32/ld-linux-x32.so.2" |
1316 |
-Index: gcc-4.9.2/gcc/config/arm/linux-eabi.h |
1317 |
-=================================================================== |
1318 |
---- gcc-4.9.2.orig/gcc/config/arm/linux-eabi.h |
1319 |
-+++ gcc-4.9.2/gcc/config/arm/linux-eabi.h |
1320 |
-@@ -68,8 +68,8 @@ |
1321 |
- GLIBC_DYNAMIC_LINKER_DEFAULT and TARGET_DEFAULT_FLOAT_ABI. */ |
1322 |
- |
1323 |
- #undef GLIBC_DYNAMIC_LINKER |
1324 |
--#define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT "/lib/ld-linux.so.3" |
1325 |
--#define GLIBC_DYNAMIC_LINKER_HARD_FLOAT "/lib/ld-linux-armhf.so.3" |
1326 |
-+#define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.3" |
1327 |
-+#define GLIBC_DYNAMIC_LINKER_HARD_FLOAT DYNAMIC_LINKER_PREFIX "/lib/ld-linux-armhf.so.3" |
1328 |
- #define GLIBC_DYNAMIC_LINKER_DEFAULT GLIBC_DYNAMIC_LINKER_SOFT_FLOAT |
1329 |
- |
1330 |
- #define GLIBC_DYNAMIC_LINKER \ |
1331 |
-Index: gcc-4.9.2/gcc/config/i386/linux.h |
1332 |
-=================================================================== |
1333 |
---- gcc-4.9.2.orig/gcc/config/i386/linux.h |
1334 |
-+++ gcc-4.9.2/gcc/config/i386/linux.h |
1335 |
-@@ -20,4 +20,4 @@ along with GCC; see the file COPYING3. |
1336 |
- <http://www.gnu.org/licenses/>. */ |
1337 |
- |
1338 |
- #define GNU_USER_LINK_EMULATION "elf_i386" |
1339 |
--#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" |
1340 |
-+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.2" |
1341 |
-Index: gcc-4.9.2/gcc/config.in |
1342 |
-=================================================================== |
1343 |
---- gcc-4.9.2.orig/gcc/config.in |
1344 |
-+++ gcc-4.9.2/gcc/config.in |
1345 |
-@@ -39,6 +39,12 @@ |
1346 |
- #endif |
1347 |
- |
1348 |
- |
1349 |
-+/* root directory of the dynamic linker */ |
1350 |
-+#ifndef USED_FOR_TARGET |
1351 |
-+#undef DYNAMIC_LINKER_PREFIX |
1352 |
-+#endif |
1353 |
-+ |
1354 |
-+ |
1355 |
- /* Define if you want assertions enabled. This is a cheap check. */ |
1356 |
- #ifndef USED_FOR_TARGET |
1357 |
- #undef ENABLE_ASSERT_CHECKING |
1358 |
-Index: gcc-4.9.2/gcc/configure |
1359 |
-=================================================================== |
1360 |
---- gcc-4.9.2.orig/gcc/configure |
1361 |
-+++ gcc-4.9.2/gcc/configure |
1362 |
-@@ -894,6 +894,7 @@ enable_objc_gc |
1363 |
- with_dwarf2 |
1364 |
- enable_shared |
1365 |
- with_native_system_header_dir |
1366 |
-+with_dynamic_linker_prefix |
1367 |
- with_build_sysroot |
1368 |
- with_sysroot |
1369 |
- with_specs |
1370 |
-@@ -1682,6 +1683,8 @@ Optional Packages: |
1371 |
- --with-native-system-header-dir=dir |
1372 |
- use dir as the directory to look for standard |
1373 |
- system header files in. Defaults to /usr/include. |
1374 |
-+ --with-dynamic-linker-prefix=dir |
1375 |
-+ use dir as the root directory of the dynamic linker. |
1376 |
- --with-build-sysroot=sysroot |
1377 |
- use sysroot as the system root during the build |
1378 |
- --with-sysroot[=DIR] search for usr/lib, usr/include, et al, within DIR |
1379 |
-@@ -7154,6 +7157,22 @@ fi |
1380 |
- |
1381 |
- |
1382 |
- |
1383 |
-+# Check whether --with-dynamic-linker-prefix was given. |
1384 |
-+if test "${with_dynamic_linker_prefix+set}" = set; then : |
1385 |
-+ withval=$with_dynamic_linker_prefix; if test x"$withval" != x ; then |
1386 |
-+ DYNAMIC_LINKER_PREFIX="$withval" |
1387 |
-+ fi |
1388 |
-+else |
1389 |
-+ DYNAMIC_LINKER_PREFIX= |
1390 |
-+fi |
1391 |
-+ |
1392 |
-+ |
1393 |
-+cat >>confdefs.h <<_ACEOF |
1394 |
-+#define DYNAMIC_LINKER_PREFIX "$DYNAMIC_LINKER_PREFIX" |
1395 |
-+_ACEOF |
1396 |
-+ |
1397 |
-+ |
1398 |
-+ |
1399 |
- # Check whether --with-build-sysroot was given. |
1400 |
- if test "${with_build_sysroot+set}" = set; then : |
1401 |
- withval=$with_build_sysroot; if test x"$withval" != x ; then |
1402 |
-@@ -17936,7 +17955,7 @@ else |
1403 |
- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
1404 |
- lt_status=$lt_dlunknown |
1405 |
- cat > conftest.$ac_ext <<_LT_EOF |
1406 |
--#line 17939 "configure" |
1407 |
-+#line 17958 "configure" |
1408 |
- #include "confdefs.h" |
1409 |
- |
1410 |
- #if HAVE_DLFCN_H |
1411 |
-@@ -18042,7 +18061,7 @@ else |
1412 |
- lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
1413 |
- lt_status=$lt_dlunknown |
1414 |
- cat > conftest.$ac_ext <<_LT_EOF |
1415 |
--#line 18045 "configure" |
1416 |
-+#line 18064 "configure" |
1417 |
- #include "confdefs.h" |
1418 |
- |
1419 |
- #if HAVE_DLFCN_H |
1420 |
-Index: gcc-4.9.2/gcc/configure.ac |
1421 |
-=================================================================== |
1422 |
---- gcc-4.9.2.orig/gcc/configure.ac |
1423 |
-+++ gcc-4.9.2/gcc/configure.ac |
1424 |
-@@ -751,6 +751,16 @@ AC_ARG_WITH([native-system-header-dir], |
1425 |
- configured_native_system_header_dir="${withval}" |
1426 |
- ], [configured_native_system_header_dir=]) |
1427 |
- |
1428 |
-+AC_ARG_WITH([dynamic-linker-prefix], |
1429 |
-+ [AS_HELP_STRING([--with-dynamic-linker-prefix=dir], |
1430 |
-+ [use dir as the root directory of the dynamic linker.])], |
1431 |
-+ [if test x"$withval" != x ; then |
1432 |
-+ DYNAMIC_LINKER_PREFIX="$withval" |
1433 |
-+ fi], |
1434 |
-+ [DYNAMIC_LINKER_PREFIX=]) |
1435 |
-+AC_DEFINE_UNQUOTED(DYNAMIC_LINKER_PREFIX, "$DYNAMIC_LINKER_PREFIX", |
1436 |
-+ [root directory of the dynamic linker]) |
1437 |
-+ |
1438 |
- AC_ARG_WITH(build-sysroot, |
1439 |
- [AS_HELP_STRING([--with-build-sysroot=sysroot], |
1440 |
- [use sysroot as the system root during the build])], |
1441 |
-Index: gcc-4.9.2/gcc/config/aarch64/aarch64-linux.h |
1442 |
-=================================================================== |
1443 |
---- gcc-4.9.2.orig/gcc/config/aarch64/aarch64-linux.h |
1444 |
-+++ gcc-4.9.2/gcc/config/aarch64/aarch64-linux.h |
1445 |
-@@ -21,7 +21,7 @@ |
1446 |
- #ifndef GCC_AARCH64_LINUX_H |
1447 |
- #define GCC_AARCH64_LINUX_H |
1448 |
- |
1449 |
--#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64%{mbig-endian:_be}.so.1" |
1450 |
-+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux-aarch64%{mbig-endian:_be}.so.1" |
1451 |
- |
1452 |
- #define CPP_SPEC "%{pthread:-D_REENTRANT}" |
1453 |
- |
1454 |
-Index: gcc-4.9.2/gcc/config/alpha/linux-elf.h |
1455 |
-=================================================================== |
1456 |
---- gcc-4.9.2.orig/gcc/config/alpha/linux-elf.h |
1457 |
-+++ gcc-4.9.2/gcc/config/alpha/linux-elf.h |
1458 |
-@@ -24,7 +24,7 @@ along with GCC; see the file COPYING3. |
1459 |
- { "elf_dynamic_linker", ELF_DYNAMIC_LINKER }, |
1460 |
- |
1461 |
- #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" |
1462 |
--#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" |
1463 |
-+#define UCLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-uClibc.so.0" |
1464 |
- #if DEFAULT_LIBC == LIBC_UCLIBC |
1465 |
- #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" |
1466 |
- #elif DEFAULT_LIBC == LIBC_GLIBC |
1467 |
-Index: gcc-4.9.2/gcc/config/arm/linux-elf.h |
1468 |
-=================================================================== |
1469 |
---- gcc-4.9.2.orig/gcc/config/arm/linux-elf.h |
1470 |
-+++ gcc-4.9.2/gcc/config/arm/linux-elf.h |
1471 |
-@@ -62,7 +62,7 @@ |
1472 |
- |
1473 |
- #define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc" |
1474 |
- |
1475 |
--#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" |
1476 |
-+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.2" |
1477 |
- |
1478 |
- #define LINUX_TARGET_LINK_SPEC "%{h*} \ |
1479 |
- %{static:-Bstatic} \ |
1480 |
-Index: gcc-4.9.2/gcc/config/c6x/uclinux-elf.h |
1481 |
-=================================================================== |
1482 |
---- gcc-4.9.2.orig/gcc/config/c6x/uclinux-elf.h |
1483 |
-+++ gcc-4.9.2/gcc/config/c6x/uclinux-elf.h |
1484 |
-@@ -36,7 +36,7 @@ |
1485 |
- #define STARTFILE_SPEC \ |
1486 |
- "%{!shared:crt1%O%s} crti%O%s %{shared|pie:crtbeginS.o%s;:crtbegin.o%s}" |
1487 |
- |
1488 |
--#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" |
1489 |
-+#define UCLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-uClibc.so.0" |
1490 |
- |
1491 |
- #undef LINK_SPEC |
1492 |
- #define LINK_SPEC ENDIAN_LINK_SPEC \ |
1493 |
-Index: gcc-4.9.2/gcc/config/cris/linux.h |
1494 |
-=================================================================== |
1495 |
---- gcc-4.9.2.orig/gcc/config/cris/linux.h |
1496 |
-+++ gcc-4.9.2/gcc/config/cris/linux.h |
1497 |
-@@ -102,7 +102,7 @@ along with GCC; see the file COPYING3. |
1498 |
- #undef CRIS_DEFAULT_CPU_VERSION |
1499 |
- #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG |
1500 |
- |
1501 |
--#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" |
1502 |
-+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" |
1503 |
- |
1504 |
- #undef CRIS_LINK_SUBTARGET_SPEC |
1505 |
- #define CRIS_LINK_SUBTARGET_SPEC \ |
1506 |
-Index: gcc-4.9.2/gcc/config/freebsd-spec.h |
1507 |
-=================================================================== |
1508 |
---- gcc-4.9.2.orig/gcc/config/freebsd-spec.h |
1509 |
-+++ gcc-4.9.2/gcc/config/freebsd-spec.h |
1510 |
-@@ -128,9 +128,9 @@ is built with the --enable-threads confi |
1511 |
- #endif |
1512 |
- |
1513 |
- #if FBSD_MAJOR < 6 |
1514 |
--#define FBSD_DYNAMIC_LINKER "/usr/libexec/ld-elf.so.1" |
1515 |
-+#define FBSD_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/usr/libexec/ld-elf.so.1" |
1516 |
- #else |
1517 |
--#define FBSD_DYNAMIC_LINKER "/libexec/ld-elf.so.1" |
1518 |
-+#define FBSD_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/libexec/ld-elf.so.1" |
1519 |
- #endif |
1520 |
- |
1521 |
- /* NOTE: The freebsd-spec.h header is included also for various |
1522 |
-Index: gcc-4.9.2/gcc/config/frv/linux.h |
1523 |
-=================================================================== |
1524 |
---- gcc-4.9.2.orig/gcc/config/frv/linux.h |
1525 |
-+++ gcc-4.9.2/gcc/config/frv/linux.h |
1526 |
-@@ -34,7 +34,7 @@ |
1527 |
- #define ENDFILE_SPEC \ |
1528 |
- "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s" |
1529 |
- |
1530 |
--#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" |
1531 |
-+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" |
1532 |
- |
1533 |
- #undef LINK_SPEC |
1534 |
- #define LINK_SPEC "\ |
1535 |
-Index: gcc-4.9.2/gcc/config/i386/gnu.h |
1536 |
-=================================================================== |
1537 |
---- gcc-4.9.2.orig/gcc/config/i386/gnu.h |
1538 |
-+++ gcc-4.9.2/gcc/config/i386/gnu.h |
1539 |
-@@ -22,7 +22,7 @@ along with GCC. If not, see <http://www |
1540 |
- #define GNU_USER_LINK_EMULATION "elf_i386" |
1541 |
- |
1542 |
- #undef GNU_USER_DYNAMIC_LINKER |
1543 |
--#define GNU_USER_DYNAMIC_LINKER "/lib/ld.so" |
1544 |
-+#define GNU_USER_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so" |
1545 |
- |
1546 |
- #undef STARTFILE_SPEC |
1547 |
- #if defined HAVE_LD_PIE |
1548 |
-Index: gcc-4.9.2/gcc/config/i386/kfreebsd-gnu64.h |
1549 |
-=================================================================== |
1550 |
---- gcc-4.9.2.orig/gcc/config/i386/kfreebsd-gnu64.h |
1551 |
-+++ gcc-4.9.2/gcc/config/i386/kfreebsd-gnu64.h |
1552 |
-@@ -22,6 +22,6 @@ along with GCC; see the file COPYING3. |
1553 |
- #define GNU_USER_LINK_EMULATION64 "elf_x86_64_fbsd" |
1554 |
- #define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64_fbsd" |
1555 |
- |
1556 |
--#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1" |
1557 |
--#define GLIBC_DYNAMIC_LINKER64 "/lib/ld-kfreebsd-x86-64.so.1" |
1558 |
--#define GLIBC_DYNAMIC_LINKERX32 "/lib/ld-kfreebsd-x32.so.1" |
1559 |
-+#define GLIBC_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" |
1560 |
-+#define GLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "/lib/ld-kfreebsd-x86-64.so.1" |
1561 |
-+#define GLIBC_DYNAMIC_LINKERX32 DYNAMIC_LINKER_PREFIX "/lib/ld-kfreebsd-x32.so.1" |
1562 |
-Index: gcc-4.9.2/gcc/config/i386/kfreebsd-gnu.h |
1563 |
-=================================================================== |
1564 |
---- gcc-4.9.2.orig/gcc/config/i386/kfreebsd-gnu.h |
1565 |
-+++ gcc-4.9.2/gcc/config/i386/kfreebsd-gnu.h |
1566 |
-@@ -19,4 +19,4 @@ along with GCC; see the file COPYING3. |
1567 |
- <http://www.gnu.org/licenses/>. */ |
1568 |
- |
1569 |
- #define GNU_USER_LINK_EMULATION "elf_i386_fbsd" |
1570 |
--#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" |
1571 |
-+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" |
1572 |
-Index: gcc-4.9.2/gcc/config/ia64/linux.h |
1573 |
-=================================================================== |
1574 |
---- gcc-4.9.2.orig/gcc/config/ia64/linux.h |
1575 |
-+++ gcc-4.9.2/gcc/config/ia64/linux.h |
1576 |
-@@ -55,7 +55,7 @@ do { \ |
1577 |
- /* Define this for shared library support because it isn't in the main |
1578 |
- linux.h file. */ |
1579 |
- |
1580 |
--#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-ia64.so.2" |
1581 |
-+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux-ia64.so.2" |
1582 |
- |
1583 |
- #undef LINK_SPEC |
1584 |
- #define LINK_SPEC "\ |
1585 |
-Index: gcc-4.9.2/gcc/config/knetbsd-gnu.h |
1586 |
-=================================================================== |
1587 |
---- gcc-4.9.2.orig/gcc/config/knetbsd-gnu.h |
1588 |
-+++ gcc-4.9.2/gcc/config/knetbsd-gnu.h |
1589 |
-@@ -32,4 +32,4 @@ along with GCC; see the file COPYING3. |
1590 |
- |
1591 |
- |
1592 |
- #undef GNU_USER_DYNAMIC_LINKER |
1593 |
--#define GNU_USER_DYNAMIC_LINKER "/lib/ld.so.1" |
1594 |
-+#define GNU_USER_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" |
1595 |
-Index: gcc-4.9.2/gcc/config/kopensolaris-gnu.h |
1596 |
-=================================================================== |
1597 |
---- gcc-4.9.2.orig/gcc/config/kopensolaris-gnu.h |
1598 |
-+++ gcc-4.9.2/gcc/config/kopensolaris-gnu.h |
1599 |
-@@ -31,4 +31,4 @@ along with GCC; see the file COPYING3. |
1600 |
- while (0) |
1601 |
- |
1602 |
- #undef GNU_USER_DYNAMIC_LINKER |
1603 |
--#define GNU_USER_DYNAMIC_LINKER "/lib/ld.so.1" |
1604 |
-+#define GNU_USER_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" |
1605 |
-Index: gcc-4.9.2/gcc/config/linux.h |
1606 |
-=================================================================== |
1607 |
---- gcc-4.9.2.orig/gcc/config/linux.h |
1608 |
-+++ gcc-4.9.2/gcc/config/linux.h |
1609 |
-@@ -73,11 +73,11 @@ see the files COPYING3 and COPYING.RUNTI |
1610 |
- GLIBC_DYNAMIC_LINKER must be defined for each target using them, or |
1611 |
- GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets |
1612 |
- supporting both 32-bit and 64-bit compilation. */ |
1613 |
--#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" |
1614 |
-+#define UCLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-uClibc.so.0" |
1615 |
- #define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0" |
1616 |
- #define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0" |
1617 |
- #define UCLIBC_DYNAMIC_LINKERX32 "/lib/ldx32-uClibc.so.0" |
1618 |
--#define BIONIC_DYNAMIC_LINKER "/system/bin/linker" |
1619 |
-+#define BIONIC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/system/bin/linker" |
1620 |
- #define BIONIC_DYNAMIC_LINKER32 "/system/bin/linker" |
1621 |
- #define BIONIC_DYNAMIC_LINKER64 "/system/bin/linker64" |
1622 |
- #define BIONIC_DYNAMIC_LINKERX32 "/system/bin/linkerx32" |
1623 |
-Index: gcc-4.9.2/gcc/config/m32r/linux.h |
1624 |
-=================================================================== |
1625 |
---- gcc-4.9.2.orig/gcc/config/m32r/linux.h |
1626 |
-+++ gcc-4.9.2/gcc/config/m32r/linux.h |
1627 |
-@@ -37,7 +37,7 @@ |
1628 |
- When the -shared link option is used a final link is not being |
1629 |
- done. */ |
1630 |
- |
1631 |
--#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" |
1632 |
-+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.2" |
1633 |
- |
1634 |
- #undef LINK_SPEC |
1635 |
- #if TARGET_LITTLE_ENDIAN |
1636 |
-Index: gcc-4.9.2/gcc/config/m68k/linux.h |
1637 |
-=================================================================== |
1638 |
---- gcc-4.9.2.orig/gcc/config/m68k/linux.h |
1639 |
-+++ gcc-4.9.2/gcc/config/m68k/linux.h |
1640 |
-@@ -71,7 +71,7 @@ along with GCC; see the file COPYING3. |
1641 |
- When the -shared link option is used a final link is not being |
1642 |
- done. */ |
1643 |
- |
1644 |
--#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" |
1645 |
-+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" |
1646 |
- |
1647 |
- #undef LINK_SPEC |
1648 |
- #define LINK_SPEC "-m m68kelf %{shared} \ |
1649 |
-Index: gcc-4.9.2/gcc/config/microblaze/linux.h |
1650 |
-=================================================================== |
1651 |
---- gcc-4.9.2.orig/gcc/config/microblaze/linux.h |
1652 |
-+++ gcc-4.9.2/gcc/config/microblaze/linux.h |
1653 |
-@@ -25,7 +25,7 @@ |
1654 |
- #undef TLS_NEEDS_GOT |
1655 |
- #define TLS_NEEDS_GOT 1 |
1656 |
- |
1657 |
--#define DYNAMIC_LINKER "/lib/ld.so.1" |
1658 |
-+#define DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" |
1659 |
- #undef SUBTARGET_EXTRA_SPECS |
1660 |
- #define SUBTARGET_EXTRA_SPECS \ |
1661 |
- { "dynamic_linker", DYNAMIC_LINKER } |
1662 |
-Index: gcc-4.9.2/gcc/config/mips/linux64.h |
1663 |
-=================================================================== |
1664 |
---- gcc-4.9.2.orig/gcc/config/mips/linux64.h |
1665 |
-+++ gcc-4.9.2/gcc/config/mips/linux64.h |
1666 |
-@@ -38,7 +38,7 @@ along with GCC; see the file COPYING3. |
1667 |
- #define UCLIBC_DYNAMIC_LINKERN32 \ |
1668 |
- "%{mnan=2008:/lib32/ld-uClibc-mipsn8.so.0;:/lib32/ld-uClibc.so.0}" |
1669 |
- |
1670 |
--#define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32" |
1671 |
-+#define BIONIC_DYNAMIC_LINKERN32 DYNAMIC_LINKER_PREFIX "/system/bin/linker32" |
1672 |
- #define GNU_USER_DYNAMIC_LINKERN32 \ |
1673 |
- CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32, \ |
1674 |
- BIONIC_DYNAMIC_LINKERN32) |
1675 |
-Index: gcc-4.9.2/gcc/config/mn10300/linux.h |
1676 |
-=================================================================== |
1677 |
---- gcc-4.9.2.orig/gcc/config/mn10300/linux.h |
1678 |
-+++ gcc-4.9.2/gcc/config/mn10300/linux.h |
1679 |
-@@ -32,7 +32,7 @@ |
1680 |
- #undef ASM_SPEC |
1681 |
- #define ASM_SPEC "" |
1682 |
- |
1683 |
--#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" |
1684 |
-+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" |
1685 |
- |
1686 |
- #undef LINK_SPEC |
1687 |
- #define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \ |
1688 |
-Index: gcc-4.9.2/gcc/config/nios2/linux.h |
1689 |
-=================================================================== |
1690 |
---- gcc-4.9.2.orig/gcc/config/nios2/linux.h |
1691 |
-+++ gcc-4.9.2/gcc/config/nios2/linux.h |
1692 |
-@@ -26,7 +26,7 @@ |
1693 |
- } \ |
1694 |
- while (0) |
1695 |
- |
1696 |
--#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-nios2.so.1" |
1697 |
-+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux-nios2.so.1" |
1698 |
- |
1699 |
- #undef LINK_SPEC |
1700 |
- #define LINK_SPEC LINK_SPEC_ENDIAN \ |
1701 |
-Index: gcc-4.9.2/gcc/config/pa/pa-linux.h |
1702 |
-=================================================================== |
1703 |
---- gcc-4.9.2.orig/gcc/config/pa/pa-linux.h |
1704 |
-+++ gcc-4.9.2/gcc/config/pa/pa-linux.h |
1705 |
-@@ -40,7 +40,7 @@ along with GCC; see the file COPYING3. |
1706 |
- /* Define this for shared library support because it isn't in the main |
1707 |
- linux.h file. */ |
1708 |
- |
1709 |
--#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" |
1710 |
-+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" |
1711 |
- |
1712 |
- #undef LINK_SPEC |
1713 |
- #define LINK_SPEC "\ |
1714 |
-Index: gcc-4.9.2/gcc/config/rs6000/freebsd64.h |
1715 |
-=================================================================== |
1716 |
---- gcc-4.9.2.orig/gcc/config/rs6000/freebsd64.h |
1717 |
-+++ gcc-4.9.2/gcc/config/rs6000/freebsd64.h |
1718 |
-@@ -154,8 +154,8 @@ extern int dot_symbols; |
1719 |
- { "link_os_freebsd_spec32", LINK_OS_FREEBSD_SPEC32 }, \ |
1720 |
- { "link_os_freebsd_spec64", LINK_OS_FREEBSD_SPEC64 }, |
1721 |
- |
1722 |
--#define FREEBSD_DYNAMIC_LINKER32 "/libexec/ld-elf32.so.1" |
1723 |
--#define FREEBSD_DYNAMIC_LINKER64 "/libexec/ld-elf.so.1" |
1724 |
-+#define FREEBSD_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/libexec/ld-elf32.so.1" |
1725 |
-+#define FREEBSD_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "/libexec/ld-elf.so.1" |
1726 |
- |
1727 |
- #define LINK_OS_FREEBSD_SPEC_DEF32 "\ |
1728 |
- %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \ |
1729 |
-Index: gcc-4.9.2/gcc/config/rs6000/linux64.h |
1730 |
-=================================================================== |
1731 |
---- gcc-4.9.2.orig/gcc/config/rs6000/linux64.h |
1732 |
-+++ gcc-4.9.2/gcc/config/rs6000/linux64.h |
1733 |
-@@ -367,14 +367,14 @@ extern int dot_symbols; |
1734 |
- #undef LINK_OS_DEFAULT_SPEC |
1735 |
- #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)" |
1736 |
- |
1737 |
--#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1" |
1738 |
-+#define GLIBC_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" |
1739 |
- #ifdef LINUX64_DEFAULT_ABI_ELFv2 |
1740 |
--#define GLIBC_DYNAMIC_LINKER64 "%{mabi=elfv1:/lib64/ld64.so.1;:/lib64/ld64.so.2}" |
1741 |
-+#define GLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "%{mabi=elfv1:/lib64/ld64.so.1;:/lib64/ld64.so.2}" |
1742 |
- #else |
1743 |
--#define GLIBC_DYNAMIC_LINKER64 "%{mabi=elfv2:/lib64/ld64.so.2;:/lib64/ld64.so.1}" |
1744 |
-+#define GLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "%{mabi=elfv2:/lib64/ld64.so.2;:/lib64/ld64.so.1}" |
1745 |
- #endif |
1746 |
--#define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0" |
1747 |
--#define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0" |
1748 |
-+#define UCLIBC_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/lib/ld-uClibc.so.0" |
1749 |
-+#define UCLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "/lib/ld64-uClibc.so.0" |
1750 |
- #if DEFAULT_LIBC == LIBC_UCLIBC |
1751 |
- #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" |
1752 |
- #elif DEFAULT_LIBC == LIBC_GLIBC |
1753 |
-Index: gcc-4.9.2/gcc/config/rs6000/sysv4.h |
1754 |
-=================================================================== |
1755 |
---- gcc-4.9.2.orig/gcc/config/rs6000/sysv4.h |
1756 |
-+++ gcc-4.9.2/gcc/config/rs6000/sysv4.h |
1757 |
-@@ -761,8 +761,8 @@ ENDIAN_SELECT(" -mbig", " -mlittle", DEF |
1758 |
- |
1759 |
- #define LINK_START_LINUX_SPEC "" |
1760 |
- |
1761 |
--#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" |
1762 |
--#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" |
1763 |
-+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" |
1764 |
-+#define UCLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-uClibc.so.0" |
1765 |
- #if DEFAULT_LIBC == LIBC_UCLIBC |
1766 |
- #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" |
1767 |
- #elif !defined (DEFAULT_LIBC) || DEFAULT_LIBC == LIBC_GLIBC |
1768 |
-Index: gcc-4.9.2/gcc/config/s390/linux.h |
1769 |
-=================================================================== |
1770 |
---- gcc-4.9.2.orig/gcc/config/s390/linux.h |
1771 |
-+++ gcc-4.9.2/gcc/config/s390/linux.h |
1772 |
-@@ -60,8 +60,8 @@ along with GCC; see the file COPYING3. |
1773 |
- #define MULTILIB_DEFAULTS { "m31" } |
1774 |
- #endif |
1775 |
- |
1776 |
--#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1" |
1777 |
--#define GLIBC_DYNAMIC_LINKER64 "/lib/ld64.so.1" |
1778 |
-+#define GLIBC_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" |
1779 |
-+#define GLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "/lib/ld64.so.1" |
1780 |
- |
1781 |
- #undef LINK_SPEC |
1782 |
- #define LINK_SPEC \ |
1783 |
-Index: gcc-4.9.2/gcc/config/sh/linux.h |
1784 |
-=================================================================== |
1785 |
---- gcc-4.9.2.orig/gcc/config/sh/linux.h |
1786 |
-+++ gcc-4.9.2/gcc/config/sh/linux.h |
1787 |
-@@ -43,7 +43,7 @@ along with GCC; see the file COPYING3. |
1788 |
- |
1789 |
- #define TARGET_ASM_FILE_END file_end_indicate_exec_stack |
1790 |
- |
1791 |
--#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" |
1792 |
-+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.2" |
1793 |
- |
1794 |
- #undef SUBTARGET_LINK_EMUL_SUFFIX |
1795 |
- #define SUBTARGET_LINK_EMUL_SUFFIX "_linux" |
1796 |
-Index: gcc-4.9.2/gcc/config/sparc/linux64.h |
1797 |
-=================================================================== |
1798 |
---- gcc-4.9.2.orig/gcc/config/sparc/linux64.h |
1799 |
-+++ gcc-4.9.2/gcc/config/sparc/linux64.h |
1800 |
-@@ -92,8 +92,8 @@ along with GCC; see the file COPYING3. |
1801 |
- When the -shared link option is used a final link is not being |
1802 |
- done. */ |
1803 |
- |
1804 |
--#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" |
1805 |
--#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux.so.2" |
1806 |
-+#define GLIBC_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.2" |
1807 |
-+#define GLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "/lib64/ld-linux.so.2" |
1808 |
- |
1809 |
- #ifdef SPARC_BI_ARCH |
1810 |
- |
1811 |
-Index: gcc-4.9.2/gcc/config/sparc/linux.h |
1812 |
-=================================================================== |
1813 |
---- gcc-4.9.2.orig/gcc/config/sparc/linux.h |
1814 |
-+++ gcc-4.9.2/gcc/config/sparc/linux.h |
1815 |
-@@ -83,7 +83,7 @@ extern const char *host_detect_local_cpu |
1816 |
- When the -shared link option is used a final link is not being |
1817 |
- done. */ |
1818 |
- |
1819 |
--#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" |
1820 |
-+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.2" |
1821 |
- |
1822 |
- #undef LINK_SPEC |
1823 |
- #define LINK_SPEC "-m elf32_sparc %{shared:-shared} \ |
1824 |
-Index: gcc-4.9.2/gcc/config/xtensa/linux.h |
1825 |
-=================================================================== |
1826 |
---- gcc-4.9.2.orig/gcc/config/xtensa/linux.h |
1827 |
-+++ gcc-4.9.2/gcc/config/xtensa/linux.h |
1828 |
-@@ -44,7 +44,7 @@ along with GCC; see the file COPYING3. |
1829 |
- %{mlongcalls:--longcalls} \ |
1830 |
- %{mno-longcalls:--no-longcalls}" |
1831 |
- |
1832 |
--#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" |
1833 |
-+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" |
1834 |
- |
1835 |
- #undef LINK_SPEC |
1836 |
- #define LINK_SPEC \ |
1837 |
|
1838 |
diff --git a/sys-devel/gcc/files/gcc-configure-LANG.patch b/sys-devel/gcc/files/gcc-configure-LANG.patch |
1839 |
deleted file mode 100644 |
1840 |
index d1b1b03..0000000 |
1841 |
--- a/sys-devel/gcc/files/gcc-configure-LANG.patch |
1842 |
+++ /dev/null |
1843 |
@@ -1,64 +0,0 @@ |
1844 |
-The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in |
1845 |
-option parsing, it may break. |
1846 |
- |
1847 |
-http://bugs.gentoo.org/103483 |
1848 |
- |
1849 |
---- configure |
1850 |
-+++ configure |
1851 |
-@@ -54,6 +54,19 @@ |
1852 |
- infodir='${prefix}/info' |
1853 |
- mandir='${prefix}/man' |
1854 |
- |
1855 |
-+# NLS nuisances. |
1856 |
-+for as_var in \ |
1857 |
-+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
1858 |
-+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
1859 |
-+ LC_TELEPHONE LC_TIME |
1860 |
-+do |
1861 |
-+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
1862 |
-+ eval $as_var=C; export $as_var |
1863 |
-+ else |
1864 |
-+ unset $as_var |
1865 |
-+ fi |
1866 |
-+done |
1867 |
-+ |
1868 |
- # Initialize some other variables. |
1869 |
- subdirs= |
1870 |
- MFLAGS= MAKEFLAGS= |
1871 |
-@@ -452,16 +463,6 @@ |
1872 |
- esac |
1873 |
- done |
1874 |
- |
1875 |
--# NLS nuisances. |
1876 |
--# Only set these to C if already set. These must not be set unconditionally |
1877 |
--# because not all systems understand e.g. LANG=C (notably SCO). |
1878 |
--# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! |
1879 |
--# Non-C LC_CTYPE values break the ctype check. |
1880 |
--if test "${LANG+set}" = set; then LANG=C; export LANG; fi |
1881 |
--if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi |
1882 |
--if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi |
1883 |
--if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi |
1884 |
-- |
1885 |
- # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1886 |
- rm -rf conftest* confdefs.h |
1887 |
- # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
1888 |
-@@ -1850,6 +1850,19 @@ |
1889 |
- # Compiler output produced by configure, useful for debugging |
1890 |
- # configure, is in ./config.log if it exists. |
1891 |
- |
1892 |
-+# NLS nuisances. |
1893 |
-+for as_var in \ |
1894 |
-+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
1895 |
-+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
1896 |
-+ LC_TELEPHONE LC_TIME |
1897 |
-+do |
1898 |
-+ if (set +x; test -z "`(eval \$as_var=C; export \$as_var) 2>&1`"); then |
1899 |
-+ eval \$as_var=C; export \$as_var |
1900 |
-+ else |
1901 |
-+ unset \$as_var |
1902 |
-+ fi |
1903 |
-+done |
1904 |
-+ |
1905 |
- ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" |
1906 |
- for ac_option |
1907 |
- do |
1908 |
|
1909 |
diff --git a/sys-devel/gcc/files/gcc-configure-texinfo.patch b/sys-devel/gcc/files/gcc-configure-texinfo.patch |
1910 |
deleted file mode 100644 |
1911 |
index ddc098d..0000000 |
1912 |
--- a/sys-devel/gcc/files/gcc-configure-texinfo.patch |
1913 |
+++ /dev/null |
1914 |
@@ -1,16 +0,0 @@ |
1915 |
-Chances are quite good that the installed makeinfo is sufficient. |
1916 |
-So ignore false positives where the makeinfo installed is so new |
1917 |
-that it violates the cheesy version grep. |
1918 |
- |
1919 |
-http://bugs.gentoo.org/198182 |
1920 |
- |
1921 |
---- configure |
1922 |
-+++ configure |
1923 |
-@@ -3573,6 +3573,6 @@ |
1924 |
- : |
1925 |
- else |
1926 |
-- MAKEINFO="$MISSING makeinfo" |
1927 |
-+ : |
1928 |
- fi |
1929 |
- ;; |
1930 |
- |
1931 |
|
1932 |
diff --git a/sys-devel/gcc/files/gcc-spec-env-r1.patch b/sys-devel/gcc/files/gcc-spec-env-r1.patch |
1933 |
deleted file mode 100644 |
1934 |
index a589268..0000000 |
1935 |
--- a/sys-devel/gcc/files/gcc-spec-env-r1.patch |
1936 |
+++ /dev/null |
1937 |
@@ -1,87 +0,0 @@ |
1938 |
-2013-08-22 Magnus Granberg <zorry@g.o> |
1939 |
- |
1940 |
- * gcc/gcc.c (main): Add support for external spec file via the GCC_SPECS env var |
1941 |
- and move the process of the user specifed specs. |
1942 |
- |
1943 |
- This allows us to easily control pie/ssp defaults with gcc-config profiles. |
1944 |
- Original patch by Rob Holland |
1945 |
- Extended to support multiple entries separated by ':' by Kevin F. Quinn |
1946 |
- Modified to use getenv instead of poisoned GET_ENVIRONMENT by Ryan Hill |
1947 |
- Modified to process the GCC_SPECS env var befor DRIVER_SELF_SPECS by Magnus Granberg |
1948 |
- |
1949 |
---- gcc-4.8-20130210/gcc/gcc.c 2013-02-05 16:55:31.000000000 +0100 |
1950 |
-+++ gcc-4.8-20130210-work/gcc/gcc.c 2013-07-26 02:32:14.625089864 +0200 |
1951 |
-@@ -6427,6 +6428,48 @@ main (int argc, char **argv) |
1952 |
- do_option_spec (option_default_specs[i].name, |
1953 |
- option_default_specs[i].spec); |
1954 |
- |
1955 |
-+#if !(defined (__MSDOS__) || defined (OS2) || defined (VMS) || defined (WIN32)) |
1956 |
-+ /* Add specs listed in GCC_SPECS. Note; in the process of separating |
1957 |
-+ * each spec listed, the string is overwritten at token boundaries |
1958 |
-+ * (':') with '\0', an effect of strtok_r(). |
1959 |
-+ */ |
1960 |
-+ specs_file = getenv ("GCC_SPECS"); |
1961 |
-+ if (specs_file && (strlen(specs_file) > 0)) |
1962 |
-+ { |
1963 |
-+ char *spec, *saveptr; |
1964 |
-+ for (spec=strtok_r(specs_file,":",&saveptr); |
1965 |
-+ spec!=NULL; |
1966 |
-+ spec=strtok_r(NULL,":",&saveptr)) |
1967 |
-+ { |
1968 |
-+ struct user_specs *user = (struct user_specs *) |
1969 |
-+ xmalloc (sizeof (struct user_specs)); |
1970 |
-+ user->next = (struct user_specs *) 0; |
1971 |
-+ user->filename = spec; |
1972 |
-+ if (user_specs_tail) |
1973 |
-+ user_specs_tail->next = user; |
1974 |
-+ else |
1975 |
-+ user_specs_head = user; |
1976 |
-+ user_specs_tail = user; |
1977 |
-+ } |
1978 |
-+ } |
1979 |
-+#endif |
1980 |
-+ /* Process any user specified specs in the order given on the command |
1981 |
-+ * line. */ |
1982 |
-+ for (uptr = user_specs_head; uptr; uptr = uptr->next) |
1983 |
-+ { |
1984 |
-+ char *filename = find_a_file (&startfile_prefixes, uptr->filename, |
1985 |
-+ R_OK, true); |
1986 |
-+ read_specs (filename ? filename : uptr->filename, false, true); |
1987 |
-+ } |
1988 |
-+ /* Process any user self specs. */ |
1989 |
-+ { |
1990 |
-+ struct spec_list *sl; |
1991 |
-+ for (sl = specs; sl; sl = sl->next) |
1992 |
-+ if (sl->name_len == sizeof "self_spec" - 1 |
1993 |
-+ && !strcmp (sl->name, "self_spec")) |
1994 |
-+ do_self_spec (*sl->ptr_spec); |
1995 |
-+ } |
1996 |
-+ |
1997 |
- /* Process DRIVER_SELF_SPECS, adding any new options to the end |
1998 |
- of the command line. */ |
1999 |
- |
2000 |
-@@ -6535,24 +6578,6 @@ main (int argc, char **argv) |
2001 |
- PREFIX_PRIORITY_LAST, 0, 1); |
2002 |
- } |
2003 |
- |
2004 |
-- /* Process any user specified specs in the order given on the command |
2005 |
-- line. */ |
2006 |
-- for (uptr = user_specs_head; uptr; uptr = uptr->next) |
2007 |
-- { |
2008 |
-- char *filename = find_a_file (&startfile_prefixes, uptr->filename, |
2009 |
-- R_OK, true); |
2010 |
-- read_specs (filename ? filename : uptr->filename, false, true); |
2011 |
-- } |
2012 |
-- |
2013 |
-- /* Process any user self specs. */ |
2014 |
-- { |
2015 |
-- struct spec_list *sl; |
2016 |
-- for (sl = specs; sl; sl = sl->next) |
2017 |
-- if (sl->name_len == sizeof "self_spec" - 1 |
2018 |
-- && !strcmp (sl->name, "self_spec")) |
2019 |
-- do_self_spec (*sl->ptr_spec); |
2020 |
-- } |
2021 |
-- |
2022 |
- if (compare_debug) |
2023 |
- { |
2024 |
- enum save_temps save; |
2025 |
|
2026 |
diff --git a/sys-devel/gcc/files/gcc-spec-env.patch b/sys-devel/gcc/files/gcc-spec-env.patch |
2027 |
deleted file mode 100644 |
2028 |
index 57e7567..0000000 |
2029 |
--- a/sys-devel/gcc/files/gcc-spec-env.patch |
2030 |
+++ /dev/null |
2031 |
@@ -1,42 +0,0 @@ |
2032 |
- Add support for external spec file via the GCC_SPECS env var. This |
2033 |
- allows us to easily control pie/ssp defaults with gcc-config profiles. |
2034 |
- |
2035 |
- Original patch by Rob Holland |
2036 |
- Extended to support multiple entries separated by ':' by Kevin F. Quinn |
2037 |
- Modified to use getenv instead of poisoned GET_ENVIRONMENT by Ryan Hill |
2038 |
- |
2039 |
---- gcc-4/gcc/gcc.c |
2040 |
-+++ gcc-4/gcc/gcc.c |
2041 |
-@@ -6482,6 +6482,32 @@ |
2042 |
- |
2043 |
- /* Process any user specified specs in the order given on the command |
2044 |
- line. */ |
2045 |
-+#if !(defined (__MSDOS__) || defined (OS2) || defined (VMS) || defined (WIN32)) |
2046 |
-+ /* Add specs listed in GCC_SPECS. Note; in the process of separating |
2047 |
-+ * each spec listed, the string is overwritten at token boundaries |
2048 |
-+ * (':') with '\0', an effect of strtok_r(). |
2049 |
-+ */ |
2050 |
-+ specs_file = getenv ("GCC_SPECS"); |
2051 |
-+ if (specs_file && (strlen(specs_file) > 0)) |
2052 |
-+ { |
2053 |
-+ char *spec, *saveptr; |
2054 |
-+ for (spec=strtok_r(specs_file,":",&saveptr); |
2055 |
-+ spec!=NULL; |
2056 |
-+ spec=strtok_r(NULL,":",&saveptr)) |
2057 |
-+ { |
2058 |
-+ struct user_specs *user = (struct user_specs *) |
2059 |
-+ xmalloc (sizeof (struct user_specs)); |
2060 |
-+ |
2061 |
-+ user->next = (struct user_specs *) 0; |
2062 |
-+ user->filename = spec; |
2063 |
-+ if (user_specs_tail) |
2064 |
-+ user_specs_tail->next = user; |
2065 |
-+ else |
2066 |
-+ user_specs_head = user; |
2067 |
-+ user_specs_tail = user; |
2068 |
-+ } |
2069 |
-+ } |
2070 |
-+#endif |
2071 |
- for (uptr = user_specs_head; uptr; uptr = uptr->next) |
2072 |
- { |
2073 |
- char *filename = find_a_file (&startfile_prefixes, uptr->filename, |
2074 |
|
2075 |
diff --git a/sys-devel/gcc/files/interix-3.5-stdint.h b/sys-devel/gcc/files/interix-3.5-stdint.h |
2076 |
deleted file mode 100644 |
2077 |
index ee9289f..0000000 |
2078 |
--- a/sys-devel/gcc/files/interix-3.5-stdint.h |
2079 |
+++ /dev/null |
2080 |
@@ -1,301 +0,0 @@ |
2081 |
-/* |
2082 |
- * Copyright (c) 2002 Caldera International, Inc. All Rights Reserved. |
2083 |
- * |
2084 |
- * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF |
2085 |
- * Caldera International, Inc. |
2086 |
- * |
2087 |
- * The copyright notice above does not evidence any actual or intended |
2088 |
- * publication of such source code. |
2089 |
- */ |
2090 |
- |
2091 |
-#ifndef _STDINT_H |
2092 |
-#define _STDINT_H |
2093 |
- |
2094 |
-#ifndef _SIZE_T_DEFINED |
2095 |
-#if defined (lp64) || defined(_WIN64) |
2096 |
-typedef unsigned __int64 size_t; |
2097 |
-#else |
2098 |
-typedef unsigned int size_t; |
2099 |
-#endif |
2100 |
-#define _SIZE_T_DEFINED |
2101 |
-#define _SIZE_T |
2102 |
-#endif/*_SIZE_T_DEFINED*/ |
2103 |
- |
2104 |
-#ifndef _SSIZE_T_DEFINED |
2105 |
-#if (defined(lp64) || defined(_WIN64)) |
2106 |
-typedef __int64 ssize_t; |
2107 |
-#else |
2108 |
-typedef int ssize_t; |
2109 |
-#endif |
2110 |
-#define _SSIZE_T_DEFINED |
2111 |
-#endif/*_SIZE_T_DEFINED*/ |
2112 |
- |
2113 |
- |
2114 |
-#ifndef _INT8_T |
2115 |
-#define _INT8_T |
2116 |
-typedef signed char int8_t; |
2117 |
-#endif |
2118 |
-#ifndef _INT_LEAST8_T |
2119 |
-#define _INT_LEAST8_T |
2120 |
-typedef char int_least8_t; |
2121 |
-#endif |
2122 |
-#ifndef _INT_FAST8_T |
2123 |
-#define _INT_FAST8_T |
2124 |
-typedef int int_fast8_t; |
2125 |
-#endif |
2126 |
- |
2127 |
-#ifndef _UINT8_T |
2128 |
-#define _UINT8_T |
2129 |
-typedef unsigned char uint8_t; |
2130 |
-#endif |
2131 |
-#ifndef _UINT_LEAST8_T |
2132 |
-#define _UINT_LEAST8_T |
2133 |
-typedef unsigned char uint_least8_t; |
2134 |
-#endif |
2135 |
-#ifndef _UINT_FAST8_T |
2136 |
-#define _UINT_FAST8_T |
2137 |
-typedef unsigned int uint_fast8_t; |
2138 |
-#endif |
2139 |
- |
2140 |
-#ifndef _INT16_T |
2141 |
-#define _INT16_T |
2142 |
-typedef short int16_t; |
2143 |
-#endif |
2144 |
-#ifndef _INT_LEAST16_T |
2145 |
-#define _INT_LEAST16_T |
2146 |
-typedef short int_least16_t; |
2147 |
-#endif |
2148 |
-#ifndef _INT_FAST16_T |
2149 |
-#define _INT_FAST16_T |
2150 |
-typedef int int_fast16_t; |
2151 |
-#endif |
2152 |
- |
2153 |
-#ifndef _UINT16_T |
2154 |
-#define _UINT16_T |
2155 |
-typedef unsigned short uint16_t; |
2156 |
-#endif |
2157 |
-#ifndef _UINT_LEAST16_T |
2158 |
-#define _UINT_LEAST16_T |
2159 |
-typedef unsigned short uint_least16_t; |
2160 |
-#endif |
2161 |
-#ifndef _UINT_FAST16_T |
2162 |
-#define _UINT_FAST16_T |
2163 |
-typedef unsigned int uint_fast16_t; |
2164 |
-#endif |
2165 |
- |
2166 |
-#ifndef _INT32_T |
2167 |
-#define _INT32_T |
2168 |
-typedef int int32_t; |
2169 |
-#endif |
2170 |
-#ifndef _INT_LEAST32_T |
2171 |
-#define _INT_LEAST32_T |
2172 |
-typedef int int_least32_t; |
2173 |
-#endif |
2174 |
-#ifndef _INT_FAST32_T |
2175 |
-#define _INT_FAST32_T |
2176 |
-typedef int int_fast32_t; |
2177 |
-#endif |
2178 |
- |
2179 |
-#ifndef _UINT32_T |
2180 |
-#define _UINT32_T |
2181 |
-typedef unsigned int uint32_t; |
2182 |
-#endif |
2183 |
-#ifndef _UINT_LEAST32_T |
2184 |
-#define _UINT_LEAST32_T |
2185 |
-typedef unsigned int uint_least32_t; |
2186 |
-#endif |
2187 |
-#ifndef _UINT_FAST32_T |
2188 |
-#define _UINT_FAST32_T |
2189 |
-typedef unsigned int uint_fast32_t; |
2190 |
-#endif |
2191 |
- |
2192 |
-#if defined(lp64) |
2193 |
- |
2194 |
-#ifndef _INT64_T |
2195 |
-#define _INT64_T |
2196 |
-typedef long int64_t; |
2197 |
-#endif |
2198 |
-#ifndef _INT_LEAST64_T |
2199 |
-#define _INT_LEAST64_T |
2200 |
-typedef long int_least64_t; |
2201 |
-#endif |
2202 |
-#ifndef _INT_FAST64_T |
2203 |
-#define _INT_FAST64_T |
2204 |
-typedef long int_fast64_t; |
2205 |
-#endif |
2206 |
- |
2207 |
-#ifndef _UINT64_T |
2208 |
-#define _UINT64_T |
2209 |
-typedef unsigned long uint64_t; |
2210 |
-#endif |
2211 |
-#ifndef _UINT_LEAST64_T |
2212 |
-#define _UINT_LEAST64_T |
2213 |
-typedef unsigned long uint_least64_t; |
2214 |
-#endif |
2215 |
-#ifndef _UINT_FAST64_T |
2216 |
-#define _UINT_FAST64_T |
2217 |
-typedef unsigned long uint_fast64_t; |
2218 |
-#endif |
2219 |
- |
2220 |
-#else /*!#model(lp64)*/ |
2221 |
- |
2222 |
-#ifndef _INT64_T |
2223 |
-#define _INT64_T |
2224 |
-typedef long long int64_t; |
2225 |
-#endif |
2226 |
-#ifndef _INT_LEAST64_T |
2227 |
-#define _INT_LEAST64_T |
2228 |
-typedef long long int_least64_t; |
2229 |
-#endif |
2230 |
-#ifndef _INT_FAST64_T |
2231 |
-#define _INT_FAST64_T |
2232 |
-typedef long long int_fast64_t; |
2233 |
-#endif |
2234 |
- |
2235 |
-#ifndef _UINT64_T |
2236 |
-#define _UINT64_T |
2237 |
-typedef unsigned long long uint64_t; |
2238 |
-#endif |
2239 |
-#ifndef _UINT_LEAST64_T |
2240 |
-#define _UINT_LEAST64_T |
2241 |
-typedef unsigned long long uint_least64_t; |
2242 |
-#endif |
2243 |
-#ifndef _UINT_FAST64_T |
2244 |
-#define _UINT_FAST64_T |
2245 |
-typedef unsigned long long uint_fast64_t; |
2246 |
-#endif |
2247 |
- |
2248 |
-#endif /*#model(lp64)*/ |
2249 |
- |
2250 |
-#ifndef _INTPTR_T |
2251 |
-#define _INTPTR_T |
2252 |
-typedef ssize_t intptr_t; |
2253 |
-#endif |
2254 |
- |
2255 |
-#ifndef _UINTPTR_T |
2256 |
-#define _UINTPTR_T |
2257 |
-typedef size_t uintptr_t; |
2258 |
-#endif |
2259 |
- |
2260 |
-#ifndef _INTMAX_T |
2261 |
-#define _INTMAX_T |
2262 |
-#ifdef __GNUC__ |
2263 |
-typedef long long int intmax_t; |
2264 |
-#else |
2265 |
-typedef __int64 intmax_t; |
2266 |
-#endif /*__GNUC__*/ |
2267 |
-#endif |
2268 |
- |
2269 |
-#ifndef _UINTMAX_T |
2270 |
-#define _UINTMAX_T |
2271 |
-#ifdef __GNUC__ |
2272 |
-typedef unsigned long long int uintmax_t; |
2273 |
-#else |
2274 |
-typedef unsigned __int64 uintmax_t; |
2275 |
-#endif /*__GNUC__*/ |
2276 |
-#endif |
2277 |
- |
2278 |
-#if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) |
2279 |
- |
2280 |
-#define INT8_MAX 0x7f |
2281 |
-#define INT16_MAX 0x7fff |
2282 |
-#define INT32_MAX 0x7fffffff |
2283 |
-#define INT64_MAX 0x7fffffffffffffff |
2284 |
- |
2285 |
-#define INT8_MIN (-INT8_MAX - 1) |
2286 |
-#define INT16_MIN (-INT16_MAX - 1) |
2287 |
-#define INT32_MIN (-INT32_MAX - 1) |
2288 |
-#define INT64_MIN (-INT64_MAX - 1) |
2289 |
- |
2290 |
-#define UINT8_MAX 0xff |
2291 |
-#define UINT16_MAX 0xffff |
2292 |
-#define UINT32_MAX 0xffffffff |
2293 |
-#define UINT64_MAX 0xffffffffffffffff |
2294 |
- |
2295 |
-#define INT_LEAST8_MIN INT8_MIN |
2296 |
-#define INT_LEAST16_MIN INT16_MIN |
2297 |
-#define INT_LEAST32_MIN INT32_MIN |
2298 |
-#define INT_LEAST64_MIN INT64_MIN |
2299 |
- |
2300 |
-#define INT_LEAST8_MAX INT8_MAX |
2301 |
-#define INT_LEAST16_MAX INT16_MAX |
2302 |
-#define INT_LEAST32_MAX INT32_MAX |
2303 |
-#define INT_LEAST64_MAX INT64_MAX |
2304 |
- |
2305 |
-#define UINT_LEAST8_MAX UINT8_MAX |
2306 |
-#define UINT_LEAST16_MAX UINT16_MAX |
2307 |
-#define UINT_LEAST32_MAX UINT32_MAX |
2308 |
-#define UINT_LEAST64_MAX UINT64_MAX |
2309 |
- |
2310 |
-#define INT_FAST8_MIN INT32_MIN |
2311 |
-#define INT_FAST16_MIN INT32_MIN |
2312 |
-#define INT_FAST32_MIN INT32_MIN |
2313 |
-#define INT_FAST64_MIN INT64_MIN |
2314 |
- |
2315 |
-#define INT_FAST8_MAX INT32_MAX |
2316 |
-#define INT_FAST16_MAX INT32_MAX |
2317 |
-#define INT_FAST32_MAX INT32_MAX |
2318 |
-#define INT_FAST64_MAX INT64_MAX |
2319 |
- |
2320 |
-#define UINT_FAST8_MAX UINT32_MAX |
2321 |
-#define UINT_FAST16_MAX UINT32_MAX |
2322 |
-#define UINT_FAST32_MAX UINT32_MAX |
2323 |
-#define UINT_FAST64_MAX UINT64_MAX |
2324 |
- |
2325 |
-#if defined(lp64) |
2326 |
- |
2327 |
-#define INTPTR_MIN INT64_MIN |
2328 |
-#define INTPTR_MAX INT64_MAX |
2329 |
-#define UINTPTR_MAX UINT64_MAX |
2330 |
- |
2331 |
-#define PTRDIFF_MIN INT64_MIN |
2332 |
-#define PTRDIFF_MAX INT64_MAX |
2333 |
- |
2334 |
-#define SIZE_MAX INT64_MAX |
2335 |
- |
2336 |
-#else /*!#model(lp64)*/ |
2337 |
- |
2338 |
-#define INTPTR_MIN INT32_MIN |
2339 |
-#define INTPTR_MAX INT32_MAX |
2340 |
-#define UINTPTR_MAX UINT32_MAX |
2341 |
- |
2342 |
-#define PTRDIFF_MIN INT32_MIN |
2343 |
-#define PTRDIFF_MAX INT32_MAX |
2344 |
- |
2345 |
-#define SIZE_MAX INT32_MAX |
2346 |
- |
2347 |
-#endif /*#model(lp64)*/ |
2348 |
- |
2349 |
-#define INTMAX_MIN INT64_MIN |
2350 |
-#define INTMAX_MAX INT64_MAX |
2351 |
-#define UINTMAX_MAX UINT64_MAX |
2352 |
- |
2353 |
-#define SIG_ATOMIC_MIN INT32_MIN |
2354 |
-#define SIG_ATOMIC_MAX INT32_MAX |
2355 |
- |
2356 |
-#define WCHAR_MIN INT32_MIN |
2357 |
-#define WCHAR_MAX INT32_MAX |
2358 |
- |
2359 |
-#define WINT_MIN INT32_MIN |
2360 |
-#define WINT_MAX INT32_MAX |
2361 |
- |
2362 |
-#endif /*!defined(__cplusplus) || defined(__STDC_LIMIT_MACROS)*/ |
2363 |
- |
2364 |
-#if !defined(__cplusplus) || defined(__STDC_CONSTANT_MACROS) |
2365 |
- |
2366 |
-#define INT8_C(v) v |
2367 |
-#define INT16_C(v) v |
2368 |
-#define INT32_C(v) v |
2369 |
-#define INT64_C(v) v##LL |
2370 |
- |
2371 |
-#define UINT8_C(v) v##U |
2372 |
-#define UINT16_C(v) v##U |
2373 |
-#define UINT32_C(v) v##U |
2374 |
-#define UINT64_C(v) v##ULL |
2375 |
- |
2376 |
-#define INTMAX_C(v) v##LL |
2377 |
-#define UINTMAX_C(v) v##ULL |
2378 |
- |
2379 |
-#endif /*!defined(__cplusplus) || defined(__STDC_CONSTANT_MACROS)*/ |
2380 |
- |
2381 |
-#endif /*_STDINT_H*/ |
2382 |
|
2383 |
diff --git a/sys-devel/gcc/files/mkinfodir b/sys-devel/gcc/files/mkinfodir |
2384 |
deleted file mode 100644 |
2385 |
index a62840e..0000000 |
2386 |
--- a/sys-devel/gcc/files/mkinfodir |
2387 |
+++ /dev/null |
2388 |
@@ -1,233 +0,0 @@ |
2389 |
-#!/bin/bash |
2390 |
-# $Id: mkinfodir,v 1.1 2001/09/01 07:56:19 drobbins Exp $ |
2391 |
-# Generate the top-level Info node, given a directory of Info files |
2392 |
-# and (optionally) a skeleton file. The output will be suitable for a |
2393 |
-# top-level dir file. The skeleton file contains info topic names in the |
2394 |
-# order they should appear in the output. There are three special |
2395 |
-# lines that alter the behavior: a line consisting of just "--" causes |
2396 |
-# the next line to be echoed verbatim to the output. A line |
2397 |
-# containing just "%%" causes all the remaining filenames (wildcards |
2398 |
-# allowed) in the rest of the file to be ignored. A line containing |
2399 |
-# just "!!" exits the script when reached (unless preceded by a line |
2400 |
-# containing just "--"). Once the script reaches the end of the |
2401 |
-# skeleton file, it goes through the remaining files in the directory |
2402 |
-# in order, putting their entries at the end. The script will use the |
2403 |
-# ENTRY information in each info file if it exists. Otherwise it will |
2404 |
-# make a minimal entry. |
2405 |
- |
2406 |
-# sent by Jeffrey Osier <jeffrey@××××××.com>, who thinks it came from |
2407 |
-# zoo@×××××××××.com (david d `zoo' zuhn) |
2408 |
- |
2409 |
-# modified 7 April 1995 by Joe Harrington <jh@××××××××××××××××.gov> to |
2410 |
-# take special flags |
2411 |
- |
2412 |
-INFODIR=$1 |
2413 |
-if [ $# = 2 ] ; then |
2414 |
- SKELETON=$2 |
2415 |
-else |
2416 |
- SKELETON=/dev/null |
2417 |
-fi |
2418 |
- |
2419 |
-skip= |
2420 |
- |
2421 |
-if [ $# -gt 2 ] ; then |
2422 |
- echo usage: $0 info-directory [ skeleton-file ] 1>&2 |
2423 |
- exit 1 |
2424 |
-elif [ -z "${INFODIR}" ] ; then |
2425 |
- INFODIR="%%DEFAULT_INFO_DIR%%" |
2426 |
-else |
2427 |
- true |
2428 |
-fi |
2429 |
- |
2430 |
-if [ ! -d ${INFODIR} ] ; then |
2431 |
- echo "$0: first argument must specify a directory" |
2432 |
- exit 1 |
2433 |
-fi |
2434 |
- |
2435 |
-### output the dir header |
2436 |
-echo "-*- Text -*-" |
2437 |
-echo "This file was generated automatically by $0." |
2438 |
-echo "This version was generated on `date`" |
2439 |
-echo "by `whoami`@`hostname` for `(cd ${INFODIR}; pwd)`" |
2440 |
- |
2441 |
-cat << moobler |
2442 |
-\$Id: mkinfodir,v 1.1 2001/09/01 07:56:19 drobbins Exp $ |
2443 |
-This is the file .../info/dir, which contains the topmost node of the |
2444 |
-Info hierarchy. The first time you invoke Info you start off |
2445 |
-looking at that node, which is (dir)Top. |
2446 |
- |
2447 |
-File: dir Node: Top This is the top of the INFO tree |
2448 |
- |
2449 |
- This (the Directory node) gives a menu of major topics. |
2450 |
- Typing "q" exits, "?" lists all Info commands, "d" returns here, |
2451 |
- "h" gives a primer for first-timers, |
2452 |
- "mEmacs<Return>" visits the Emacs topic, etc. |
2453 |
- |
2454 |
- In Emacs, you can click mouse button 2 on a menu item or cross reference |
2455 |
- to select it. |
2456 |
- |
2457 |
-* Menu: The list of major topics begins on the next line. |
2458 |
- |
2459 |
-moobler |
2460 |
- |
2461 |
-### go through the list of files in the skeleton. If an info file |
2462 |
-### exists, grab the ENTRY information from it. If an entry exists |
2463 |
-### use it, otherwise create a minimal dir entry. |
2464 |
-### |
2465 |
-### Then remove that file from the list of existing files. If any |
2466 |
-### additional files remain (ones that don't have a skeleton entry), |
2467 |
-### then generate entries for those in the same way, putting the info for |
2468 |
-### those at the end.... |
2469 |
- |
2470 |
-infofiles=`(cd ${INFODIR}; /bin/ls | grep -v '\-[0-9]*\.gz$' | grep -v '\-[0-9]*$' | egrep -v '^dir$|^dir\.info$|^dir\.orig$')` |
2471 |
- |
2472 |
-# echoing gets clobbered by backquotes; we do it the hard way... |
2473 |
-lines=`wc $SKELETON | awk '{print $1}'` |
2474 |
-line=1 |
2475 |
-while [ $lines -ge $line ] ; do |
2476 |
- # Read one line from the file. This is so that we can echo lines with |
2477 |
- # whitespace and quoted characters in them. |
2478 |
- fileline=`awk NR==$line $SKELETON` |
2479 |
- |
2480 |
- # flag fancy features |
2481 |
- if [ ! -z "$echoline" ] ; then # echo line |
2482 |
- echo "$fileline" |
2483 |
- fileline= |
2484 |
- echoline= |
2485 |
- elif [ "${fileline}" = "--" ] ; then # should we echo the next line? |
2486 |
- echoline=1 |
2487 |
- elif [ "${fileline}" = "%%" ] ; then # eliminate remaining files from dir? |
2488 |
- skip=1 |
2489 |
- elif [ "${fileline}" = "!!" ] ; then # quit now |
2490 |
- exit 0 |
2491 |
- fi |
2492 |
- |
2493 |
- # handle files if they exist |
2494 |
- for file in $fileline"" ; do # expand wildcards ("" handles blank lines) |
2495 |
- |
2496 |
- fname= |
2497 |
- |
2498 |
- if [ -z "$echoline" -a ! -z "$file" ] ; then |
2499 |
- |
2500 |
- # Find the file to operate upon. Check both possible names. |
2501 |
- infoname=`echo $file | sed 's/\.gz$//'` |
2502 |
- infoname=`echo $infoname | sed 's/\.info$//'` |
2503 |
- noext= |
2504 |
- ext= |
2505 |
- if [ -f ${INFODIR}/$infoname ] ; then |
2506 |
- noext=$infoname |
2507 |
- fi |
2508 |
- if [ -f ${INFODIR}/${infoname}.info ] ; then |
2509 |
- ext=${infoname}.info |
2510 |
- fi |
2511 |
- if [ -f ${INFODIR}/${infoname}.info.gz ] ; then |
2512 |
- ext=${infoname}.info.gz |
2513 |
- fi |
2514 |
- # If it exists with both names take what was said in the file. |
2515 |
- if [ ! -z "$ext" -a ! -z "$noext" ]; then |
2516 |
- fname=$file |
2517 |
- warn="### Warning: $ext and $noext both exist! Using ${file}. ###" |
2518 |
- elif [ ! \( -z "$ext" -a -z "$noext" \) ]; then |
2519 |
- # just take the name if it exists only once |
2520 |
- fname=${noext}${ext} |
2521 |
- fi |
2522 |
- |
2523 |
- # if we found something and aren't skipping, do the entry |
2524 |
- if [ ! -z "$fname" ] ; then |
2525 |
- if [ -z "$skip" ] ; then |
2526 |
- |
2527 |
- if [ ! -z "$warn" ] ; then # issue any warning |
2528 |
- echo $warn |
2529 |
- warn= |
2530 |
- fi |
2531 |
- if [ "${fname##*.}" = "gz" ] ; then |
2532 |
- entry=`zcat ${INFODIR}/${fname} | sed -e '1,/START-INFO-DIR-ENTRY/d' \ |
2533 |
- -e '/END-INFO-DIR-ENTRY/,$d' ` |
2534 |
- else |
2535 |
- entry=`sed -e '1,/START-INFO-DIR-ENTRY/d' \ |
2536 |
- -e '/END-INFO-DIR-ENTRY/,$d' ${INFODIR}/$fname` |
2537 |
- fi |
2538 |
- if [ ! -z "${entry}" ] ; then |
2539 |
- echo "${entry}" |
2540 |
- else |
2541 |
- echo "* ${infoname}: (${infoname})." |
2542 |
- fi |
2543 |
- fi |
2544 |
- |
2545 |
- # remove the name from the directory listing |
2546 |
- infofiles=`echo "" ${infofiles} "" | sed -e "s/ ${fname} / /" -e "s/ / /g"` |
2547 |
- |
2548 |
- fi |
2549 |
- |
2550 |
- fi |
2551 |
- |
2552 |
- done |
2553 |
- |
2554 |
- line=`expr $line + 1` |
2555 |
-done |
2556 |
- |
2557 |
-if [ -z "${infofiles}" ] ; then |
2558 |
- exit 0 |
2559 |
-elif [ $lines -gt 0 ]; then |
2560 |
- echo |
2561 |
-fi |
2562 |
- |
2563 |
-# Sort remaining files by INFO-DIR-SECTION. |
2564 |
-prevsect= |
2565 |
-filesectdata=`(cd ${INFODIR}; fgrep INFO-DIR-SECTION /dev/null ${infofiles} | \ |
2566 |
- fgrep -v 'INFO-DIR-SECTION Miscellaneous' | \ |
2567 |
- sort -t: -k2 -k1 | tr ' ' '_')` |
2568 |
-for sectdata in ${filesectdata}; do |
2569 |
- file=`echo ${sectdata} | cut -d: -f1` |
2570 |
- section=`sed -n -e 's/^INFO-DIR-SECTION //p' ${INFODIR}/${file}` |
2571 |
- infofiles=`echo "" ${infofiles} "" | sed -e "s/ ${file} / /" -e "s/ / /g"` |
2572 |
- |
2573 |
- if [ "${prevsect}" != "${section}" ] ; then |
2574 |
- if [ ! -z "${prevsect}" ] ; then |
2575 |
- echo "" |
2576 |
- fi |
2577 |
- echo "${section}" |
2578 |
- prevsect="${section}" |
2579 |
- fi |
2580 |
- infoname=`echo $file | sed 's/\.gz$//'` |
2581 |
- infoname=`echo $infoname | sed 's/\.info$//'` |
2582 |
- if [ "${file##*.}" = "gz" ] ; then |
2583 |
- entry=`zcat ${INFODIR}/$file | sed -e '1,/START-INFO-DIR-ENTRY/d' \ |
2584 |
- -e '/END-INFO-DIR-ENTRY/,$d' ` |
2585 |
- else |
2586 |
- entry=`sed -e '1,/START-INFO-DIR-ENTRY/d' \ |
2587 |
- -e '/END-INFO-DIR-ENTRY/,$d' ${INFODIR}/$file` |
2588 |
- fi |
2589 |
- if [ ! -z "${entry}" ] ; then |
2590 |
- echo "${entry}" |
2591 |
- elif [ ! -d "${INFODIR}/${file}" ] ; then |
2592 |
- echo "* ${infoname}: (${infoname})." |
2593 |
- fi |
2594 |
-done |
2595 |
- |
2596 |
-# Process miscellaneous files. |
2597 |
-for file in ${infofiles}; do |
2598 |
- if [ ! -z "${prevsect}" ] ; then |
2599 |
- echo "" |
2600 |
- echo "Miscellaneous" |
2601 |
- prevsect="" |
2602 |
- fi |
2603 |
- |
2604 |
- infoname=`echo $file | sed 's/\.gz$//'` |
2605 |
- infoname=`echo $infoname | sed 's/\.info$//'` |
2606 |
- if [ "${file##*.}" = "gz" ] ; then |
2607 |
- entry=`zcat ${INFODIR}/${file} | sed -e '1,/START-INFO-DIR-ENTRY/d' \ |
2608 |
- -e '/END-INFO-DIR-ENTRY/,$d'` |
2609 |
- else |
2610 |
- entry=`sed -e '1,/START-INFO-DIR-ENTRY/d' \ |
2611 |
- -e '/END-INFO-DIR-ENTRY/,$d' ${INFODIR}/$file` |
2612 |
- fi |
2613 |
- |
2614 |
- |
2615 |
- if [ ! -z "${entry}" ] ; then |
2616 |
- echo "${entry}" |
2617 |
- elif [ ! -d "${INFODIR}/${file}" ] ; then |
2618 |
- echo "* ${infoname}: (${infoname})." |
2619 |
- fi |
2620 |
-done |
2621 |
- |
2622 |
|
2623 |
diff --git a/sys-devel/gcc/files/no-libs-for-startfile.patch b/sys-devel/gcc/files/no-libs-for-startfile.patch |
2624 |
deleted file mode 100644 |
2625 |
index cebf26a..0000000 |
2626 |
--- a/sys-devel/gcc/files/no-libs-for-startfile.patch |
2627 |
+++ /dev/null |
2628 |
@@ -1,15 +0,0 @@ |
2629 |
-* do not generate multilib paths, since adding those dirs, e.g. |
2630 |
- /usr/lib/amd64 or /usr/lib64, screws up Prefix badly (in %D) |
2631 |
- see also: http://article.gmane.org/gmane.linux.gentoo.alt/3575 |
2632 |
- |
2633 |
---- gcc/gcc.c |
2634 |
-+++ gcc/gcc.c |
2635 |
-@@ -4740,7 +4740,7 @@ |
2636 |
- #endif |
2637 |
- info.separate_options = false; |
2638 |
- |
2639 |
-- for_each_path (&startfile_prefixes, true, 0, spec_path, &info); |
2640 |
-+ for_each_path (&startfile_prefixes, false, 0, spec_path, &info); |
2641 |
- } |
2642 |
- break; |
2643 |
- |
2644 |
|
2645 |
diff --git a/sys-devel/gcc/files/pro-police-docs.patch b/sys-devel/gcc/files/pro-police-docs.patch |
2646 |
deleted file mode 100644 |
2647 |
index 091ea44..0000000 |
2648 |
--- a/sys-devel/gcc/files/pro-police-docs.patch |
2649 |
+++ /dev/null |
2650 |
@@ -1,74 +0,0 @@ |
2651 |
-Index: gcc/doc/invoke.texi |
2652 |
-=================================================================== |
2653 |
-RCS file: /cvsroot/gcc/gcc/gcc/doc/invoke.texi,v |
2654 |
-retrieving revision 1.364 |
2655 |
-diff -c -3 -p -r1.364 invoke.texi |
2656 |
-*** gcc/doc/invoke.texi 21 Nov 2003 11:42:58 -0000 1.364 |
2657 |
---- gcc/doc/invoke.texi 22 Nov 2003 08:12:35 -0000 |
2658 |
-*************** in the following sections. |
2659 |
-*** 228,234 **** |
2660 |
- -Wno-multichar -Wnonnull -Wpacked -Wpadded @gol |
2661 |
- -Wparentheses -Wpointer-arith -Wredundant-decls @gol |
2662 |
- -Wreturn-type -Wsequence-point -Wshadow @gol |
2663 |
-! -Wsign-compare -Wstrict-aliasing @gol |
2664 |
- -Wswitch -Wswitch-default -Wswitch-enum @gol |
2665 |
- -Wsystem-headers -Wtrigraphs -Wundef -Wuninitialized @gol |
2666 |
- -Wunknown-pragmas -Wunreachable-code @gol |
2667 |
---- 228,234 ---- |
2668 |
- -Wno-multichar -Wnonnull -Wpacked -Wpadded @gol |
2669 |
- -Wparentheses -Wpointer-arith -Wredundant-decls @gol |
2670 |
- -Wreturn-type -Wsequence-point -Wshadow @gol |
2671 |
-! -Wsign-compare -Wstack-protector -Wstrict-aliasing @gol |
2672 |
- -Wswitch -Wswitch-default -Wswitch-enum @gol |
2673 |
- -Wsystem-headers -Wtrigraphs -Wundef -Wuninitialized @gol |
2674 |
- -Wunknown-pragmas -Wunreachable-code @gol |
2675 |
-*************** in the following sections. |
2676 |
-*** 681,686 **** |
2677 |
---- 681,687 ---- |
2678 |
- -fshort-double -fshort-wchar @gol |
2679 |
- -fverbose-asm -fpack-struct -fstack-check @gol |
2680 |
- -fstack-limit-register=@var{reg} -fstack-limit-symbol=@var{sym} @gol |
2681 |
-+ -fstack-protector -fstack-protector-all @gol |
2682 |
- -fargument-alias -fargument-noalias @gol |
2683 |
- -fargument-noalias-global -fleading-underscore @gol |
2684 |
- -ftls-model=@var{model} @gol |
2685 |
-*************** effectively. Often, the problem is that |
2686 |
-*** 3014,3019 **** |
2687 |
---- 3015,3024 ---- |
2688 |
- complex; GCC will refuse to optimize programs when the optimization |
2689 |
- itself is likely to take inordinate amounts of time. |
2690 |
- |
2691 |
-+ @item -Wstack-protector |
2692 |
-+ @opindex Wstack-protector |
2693 |
-+ Warn when not issuing stack smashing protection for some reason |
2694 |
-+ |
2695 |
- @item -Werror |
2696 |
- @opindex Werror |
2697 |
- Make all warnings into errors. |
2698 |
-*************** and grows downwards, you can use the fla |
2699 |
-*** 11474,11479 **** |
2700 |
---- 11479,11502 ---- |
2701 |
- @option{-fstack-limit-symbol=__stack_limit} and |
2702 |
- @option{-Wl,--defsym,__stack_limit=0x7ffe0000} to enforce a stack limit |
2703 |
- of 128KB@. Note that this may only work with the GNU linker. |
2704 |
-+ |
2705 |
-+ @item -fstack-protector |
2706 |
-+ @item -fstack-protector-all |
2707 |
-+ @opindex fstack-protector |
2708 |
-+ @opindex fstack-protector-all |
2709 |
-+ @opindex fno-stack-protector |
2710 |
-+ Generate code to protect an application from a stack smashing |
2711 |
-+ attack. The features are (1) the insertion of random value next to the |
2712 |
-+ frame pointer to detect the integrity of the stack, (2) the reordering |
2713 |
-+ of local variables to place buffers after pointers to avoid the |
2714 |
-+ corruption of pointers that could be used to further corrupt arbitrary |
2715 |
-+ memory locations, (3) the copying of pointers in function arguments to |
2716 |
-+ an area preceding local variable buffers to prevent the corruption of |
2717 |
-+ pointers that could be used to further corrupt arbitrary memory |
2718 |
-+ locations, and the (4) omission of instrumentation code from some |
2719 |
-+ functions to decrease the performance overhead. If the integrity |
2720 |
-+ would be broken, the program is aborted. If no-stack-protector is |
2721 |
-+ specified, instrumentation codes are generated at every functions. |
2722 |
- |
2723 |
- @cindex aliasing of parameters |
2724 |
- @cindex parameters, aliased |
2725 |
|
2726 |
diff --git a/sys-devel/gcc/files/scan_libgcc_linked_ssp.sh b/sys-devel/gcc/files/scan_libgcc_linked_ssp.sh |
2727 |
deleted file mode 100644 |
2728 |
index 35119e5..0000000 |
2729 |
--- a/sys-devel/gcc/files/scan_libgcc_linked_ssp.sh |
2730 |
+++ /dev/null |
2731 |
@@ -1,42 +0,0 @@ |
2732 |
-#!/bin/bash |
2733 |
-# Copyright 1999-2004 Gentoo Foundation |
2734 |
-# Distributed under the terms of the GNU General Public License v2 |
2735 |
-# Author: Martin Schlemmer <azarah@g.o> |
2736 |
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/scan_libgcc_linked_ssp.sh,v 1.4 2007/05/05 05:13:15 vapier Exp $ |
2737 |
- |
2738 |
-usage() { |
2739 |
-cat << "USAGE_END" |
2740 |
-Usage: can_libgcc_linked_ssp.sh |
2741 |
- |
2742 |
- This scans the system for files that contains the __guard symbol, that was |
2743 |
- linked against libgcc. |
2744 |
- |
2745 |
- |
2746 |
-USAGE_END |
2747 |
- |
2748 |
- exit 1 |
2749 |
-} |
2750 |
- |
2751 |
-if [ "$#" -ne 0 ] |
2752 |
-then |
2753 |
- usage |
2754 |
-fi |
2755 |
- |
2756 |
-source /etc/profile || exit 1 |
2757 |
-source /etc/init.d/functions.sh || exit 1 |
2758 |
- |
2759 |
-AWKDIR="$(portageq envvar PORTDIR)/sys-devel/gcc/files/awk" |
2760 |
- |
2761 |
-if [ ! -r "${AWKDIR}/scanforssp.awk" ] |
2762 |
-then |
2763 |
- eerror "${0##*/}: ${AWKDIR}/scanforssp.awk does not exist!" |
2764 |
- exit 1 |
2765 |
-fi |
2766 |
- |
2767 |
-einfo "Scanning system for __guard@GCC symbols..." |
2768 |
-/bin/gawk -f "${AWKDIR}/scanforssp.awk" |
2769 |
- |
2770 |
-exit $? |
2771 |
- |
2772 |
- |
2773 |
-# vim:ts=4 |
2774 |
|
2775 |
diff --git a/sys-devel/gcc/gcc-4.7.3.ebuild b/sys-devel/gcc/gcc-4.7.3.ebuild |
2776 |
deleted file mode 100644 |
2777 |
index de584db..0000000 |
2778 |
--- a/sys-devel/gcc/gcc-4.7.3.ebuild |
2779 |
+++ /dev/null |
2780 |
@@ -1,71 +0,0 @@ |
2781 |
-# Copyright 1999-2013 Gentoo Foundation |
2782 |
-# Distributed under the terms of the GNU General Public License v2 |
2783 |
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.7.3.ebuild,v 1.2 2013/05/20 10:56:06 aballier Exp $ |
2784 |
- |
2785 |
-PATCH_VER="1.0" |
2786 |
-UCLIBC_VER="1.0" |
2787 |
- |
2788 |
-# Hardened gcc 4 stuff |
2789 |
-PIE_VER="0.5.5" |
2790 |
-SPECS_VER="0.2.0" |
2791 |
-SPECS_GCC_VER="4.4.3" |
2792 |
-# arch/libc configurations known to be stable with {PIE,SSP}-by-default |
2793 |
-PIE_GLIBC_STABLE="x86 amd64 ppc ppc64 arm ia64" |
2794 |
-PIE_UCLIBC_STABLE="x86 arm amd64 ppc ppc64" |
2795 |
-SSP_STABLE="amd64 x86 ppc ppc64 arm" |
2796 |
-# uclibc need tls and nptl support for SSP support |
2797 |
-# uclibc need to be >= 0.9.33 |
2798 |
-SSP_UCLIBC_STABLE="x86 amd64 ppc ppc64 arm" |
2799 |
-#end Hardened stuff |
2800 |
- |
2801 |
-inherit toolchain |
2802 |
- |
2803 |
-DESCRIPTION="The GNU Compiler Collection" |
2804 |
- |
2805 |
-LICENSE="GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.3+" |
2806 |
- |
2807 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 -amd64-fbsd -x86-fbsd" |
2808 |
- |
2809 |
-RDEPEND="" |
2810 |
-DEPEND="${RDEPEND} |
2811 |
- elibc_glibc? ( >=sys-libs/glibc-2.8 ) |
2812 |
- >=${CATEGORY}/binutils-2.18" |
2813 |
- |
2814 |
-if [[ ${CATEGORY} != cross-* ]] ; then |
2815 |
- PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )" |
2816 |
-fi |
2817 |
- |
2818 |
-src_unpack() { |
2819 |
- if has_version '<sys-libs/glibc-2.12' ; then |
2820 |
- ewarn "Your host glibc is too old; disabling automatic fortify." |
2821 |
- ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315" |
2822 |
- EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch" |
2823 |
- fi |
2824 |
- |
2825 |
- # drop the x32 stuff once 4.7 goes stable |
2826 |
- if [[ ${CTARGET} != x86_64* ]] || ! has x32 $(get_all_abis TARGET) ; then |
2827 |
- EPATCH_EXCLUDE+=" 90_all_gcc-4.7-x32.patch" |
2828 |
- fi |
2829 |
- |
2830 |
- toolchain_src_unpack |
2831 |
- |
2832 |
- if use rap; then |
2833 |
- epatch "${FILESDIR}"/gcc-4.7-rap.patch |
2834 |
- prefix_gcc_dynamic_loader |
2835 |
- fi |
2836 |
- |
2837 |
- use vanilla && return 0 |
2838 |
- |
2839 |
- [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch |
2840 |
-} |
2841 |
- |
2842 |
-pkg_setup() { |
2843 |
- toolchain_pkg_setup |
2844 |
- |
2845 |
- if use lto ; then |
2846 |
- ewarn |
2847 |
- ewarn "LTO support is still experimental and unstable." |
2848 |
- ewarn "Any bugs resulting from the use of LTO will not be fixed." |
2849 |
- ewarn |
2850 |
- fi |
2851 |
-} |
2852 |
|
2853 |
diff --git a/sys-devel/gcc/gcc-4.9.2.ebuild b/sys-devel/gcc/gcc-4.9.2.ebuild |
2854 |
deleted file mode 100644 |
2855 |
index 89592c6..0000000 |
2856 |
--- a/sys-devel/gcc/gcc-4.9.2.ebuild |
2857 |
+++ /dev/null |
2858 |
@@ -1,54 +0,0 @@ |
2859 |
-# Copyright 1999-2014 Gentoo Foundation |
2860 |
-# Distributed under the terms of the GNU General Public License v2 |
2861 |
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.9.2.ebuild,v 1.1 2014/11/01 07:56:35 vapier Exp $ |
2862 |
- |
2863 |
-EAPI="4" |
2864 |
- |
2865 |
-PATCH_VER="1.0" |
2866 |
-UCLIBC_VER="1.0" |
2867 |
- |
2868 |
-# Hardened gcc 4 stuff |
2869 |
-PIE_VER="0.6.1" |
2870 |
-SPECS_VER="0.2.0" |
2871 |
-SPECS_GCC_VER="4.4.3" |
2872 |
-# arch/libc configurations known to be stable with {PIE,SSP}-by-default |
2873 |
-PIE_GLIBC_STABLE="x86 amd64 mips ppc ppc64 arm ia64" |
2874 |
-PIE_UCLIBC_STABLE="x86 arm amd64 mips ppc ppc64" |
2875 |
-SSP_STABLE="amd64 x86 mips ppc ppc64 arm" |
2876 |
-# uclibc need tls and nptl support for SSP support |
2877 |
-# uclibc need to be >= 0.9.33 |
2878 |
-SSP_UCLIBC_STABLE="x86 amd64 mips ppc ppc64 arm" |
2879 |
-#end Hardened stuff |
2880 |
- |
2881 |
-inherit eutils toolchain |
2882 |
- |
2883 |
-KEYWORDS="~x86 ~amd64 ~arm" |
2884 |
- |
2885 |
-RDEPEND="" |
2886 |
-DEPEND="${RDEPEND} |
2887 |
- elibc_glibc? ( >=sys-libs/glibc-2.8 ) |
2888 |
- >=${CATEGORY}/binutils-2.20" |
2889 |
- |
2890 |
-if [[ ${CATEGORY} != cross-* ]] ; then |
2891 |
- PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )" |
2892 |
-fi |
2893 |
- |
2894 |
-src_prepare() { |
2895 |
- if has_version '<sys-libs/glibc-2.12' ; then |
2896 |
- ewarn "Your host glibc is too old; disabling automatic fortify." |
2897 |
- ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315" |
2898 |
- EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch" |
2899 |
- fi |
2900 |
- |
2901 |
- if use rap; then |
2902 |
- epatch "${FILESDIR}"/${P}-rap.patch |
2903 |
- prefix_gcc_dynamic_loader |
2904 |
- fi |
2905 |
- EXTRA_ECONF="${EXTRA_ECONF} $(use_with rap dynamic-linker-prefix ${EPREFIX})" |
2906 |
- |
2907 |
- toolchain_src_prepare |
2908 |
- |
2909 |
- use vanilla && return 0 |
2910 |
- #Use -r1 for newer piepatchet that use DRIVER_SELF_SPECS for the hardened specs. |
2911 |
- [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env-r1.patch |
2912 |
-} |
2913 |
|
2914 |
diff --git a/sys-devel/gcc/gcc-5.3.0.ebuild b/sys-devel/gcc/gcc-5.3.0.ebuild |
2915 |
deleted file mode 100644 |
2916 |
index 48a7567..0000000 |
2917 |
--- a/sys-devel/gcc/gcc-5.3.0.ebuild |
2918 |
+++ /dev/null |
2919 |
@@ -1,46 +0,0 @@ |
2920 |
-# Copyright 1999-2016 Gentoo Foundation |
2921 |
-# Distributed under the terms of the GNU General Public License v2 |
2922 |
-# $Id$ |
2923 |
- |
2924 |
-EAPI="4" |
2925 |
- |
2926 |
-PATCH_VER="1.1" |
2927 |
-UCLIBC_VER="1.0" |
2928 |
- |
2929 |
-# Hardened gcc 4 stuff |
2930 |
-PIE_VER="0.6.5" |
2931 |
-SPECS_VER="0.2.0" |
2932 |
-SPECS_GCC_VER="4.4.3" |
2933 |
-# arch/libc configurations known to be stable with {PIE,SSP}-by-default |
2934 |
-PIE_GLIBC_STABLE="x86 amd64 mips ppc ppc64 arm ia64" |
2935 |
-PIE_UCLIBC_STABLE="x86 arm amd64 mips ppc ppc64" |
2936 |
-SSP_STABLE="amd64 x86 mips ppc ppc64 arm" |
2937 |
-# uclibc need tls and nptl support for SSP support |
2938 |
-# uclibc need to be >= 0.9.33 |
2939 |
-SSP_UCLIBC_STABLE="x86 amd64 mips ppc ppc64 arm" |
2940 |
-#end Hardened stuff |
2941 |
- |
2942 |
-inherit toolchain |
2943 |
- |
2944 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
2945 |
- |
2946 |
-RDEPEND="" |
2947 |
-DEPEND="${RDEPEND} |
2948 |
- elibc_glibc? ( >=sys-libs/glibc-2.8 ) |
2949 |
- !multislot? ( !<${CATEGORY}/gcc-4.9 ) |
2950 |
- >=${CATEGORY}/binutils-2.20" |
2951 |
- |
2952 |
-if [[ ${CATEGORY} != cross-* ]] ; then |
2953 |
- PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )" |
2954 |
-fi |
2955 |
- |
2956 |
-src_prepare() { |
2957 |
- if has_version '<sys-libs/glibc-2.12' ; then |
2958 |
- ewarn "Your host glibc is too old; disabling automatic fortify." |
2959 |
- ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315" |
2960 |
- EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch" |
2961 |
- fi |
2962 |
- is_crosscompile && EPATCH_EXCLUDE+=" 05_all_gcc-spec-env.patch" |
2963 |
- |
2964 |
- toolchain_src_prepare |
2965 |
-} |
2966 |
|
2967 |
diff --git a/sys-devel/gcc/metadata.xml b/sys-devel/gcc/metadata.xml |
2968 |
deleted file mode 100644 |
2969 |
index 3fe3ae1..0000000 |
2970 |
--- a/sys-devel/gcc/metadata.xml |
2971 |
+++ /dev/null |
2972 |
@@ -1,34 +0,0 @@ |
2973 |
-<?xml version="1.0" encoding="UTF-8"?> |
2974 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
2975 |
-<pkgmetadata> |
2976 |
- <herd>toolchain</herd> |
2977 |
- <use> |
2978 |
- <flag name="d">Enable support for the D programming language</flag> |
2979 |
- <flag name="fixed-point">Enable fixed-point arithmetic support for MIPS targets |
2980 |
- in gcc (Warning: significantly increases compile time!)</flag> |
2981 |
- <flag name="go">Build the GCC Go language frontend.</flag> |
2982 |
- <flag name="graphite">Add support for the framework for loop |
2983 |
- optimizations based on a polyhedral intermediate representation</flag> |
2984 |
- <flag name="gtk">Useful only when building GCJ, this enables Abstract Window Toolkit |
2985 |
- (AWT) peer support on top of GTK+</flag> |
2986 |
- <flag name="ip28">Enable building a compiler capable of building a kernel |
2987 |
- for SGI Indigo2 Impact R10000 (IP28)</flag> |
2988 |
- <flag name="ip32r10k">Enable building a compiler capable of building an |
2989 |
- experimental kernel for SGI O2 w/ R1x000 CPUs (IP32)</flag> |
2990 |
- <flag name="libssp">Build SSP support into a dedicated library rather than use the |
2991 |
- code in the C library (DO NOT ENABLE THIS IF YOU DON'T KNOW WHAT IT DOES)</flag> |
2992 |
- <flag name="lto">Add support for link-time optimizations (unsupported, use |
2993 |
- at your own risk).</flag> |
2994 |
- <flag name="mudflap">Add support for mudflap, a pointer use checking library</flag> |
2995 |
- <flag name="multislot">Allow for SLOTs to include minor version (3.3.4 |
2996 |
- instead of just 3.3)</flag> |
2997 |
- <flag name="n32">Enable n32 ABI support on mips</flag> |
2998 |
- <flag name="n64">Enable n64 ABI support on mips</flag> |
2999 |
- <flag name="nopie">Disable PIE support (NOT FOR GENERAL USE)</flag> |
3000 |
- <flag name="nossp">Disable SSP support (NOT FOR GENERAL USE)</flag> |
3001 |
- <flag name="objc">Build support for the Objective C code language</flag> |
3002 |
- <flag name="objc++">Build support for the Objective C++ language</flag> |
3003 |
- <flag name="objc-gc">Build support for the Objective C code language Garbage |
3004 |
- Collector</flag> |
3005 |
- </use> |
3006 |
-</pkgmetadata> |