From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 890B013826A for ; Thu, 26 May 2016 04:05:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5EE4414220; Thu, 26 May 2016 04:05:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2227A2240D9 for ; Thu, 26 May 2016 04:05:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BAC8D340A2B for ; Thu, 26 May 2016 04:05:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 082AF1897 for ; Thu, 26 May 2016 04:05:02 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1464020961.8786eb0d8eaf9eb1cde16ec775b9a779dca642e4.heroxbd@gentoo> Subject: [gentoo-commits] proj/android:master commit in: sys-devel/gcc/files/, sys-devel/gcc/, sys-devel/gcc/files/awk/ X-VCS-Repository: proj/android X-VCS-Files: sys-devel/gcc/Manifest sys-devel/gcc/files/awk/fixlafiles.awk sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la sys-devel/gcc/files/awk/scanforssp.awk sys-devel/gcc/files/c89 sys-devel/gcc/files/c99 sys-devel/gcc/files/fix_libtool_files.sh sys-devel/gcc/files/gcc-4.7-rap.patch sys-devel/gcc/files/gcc-4.9-extra-specs.patch sys-devel/gcc/files/gcc-4.9.2-rap.patch sys-devel/gcc/files/gcc-configure-LANG.patch sys-devel/gcc/files/gcc-configure-texinfo.patch sys-devel/gcc/files/gcc-spec-env-r1.patch sys-devel/gcc/files/gcc-spec-env.patch sys-devel/gcc/files/interix-3.5-stdint.h sys-devel/gcc/files/mkinfodir sys-devel/gcc/files/no-libs-for-startfile.patch sys-devel/gcc/files/pro-police-docs.patch sys-devel/gcc/files/scan_libgcc_linked_ssp.sh sys-devel/gcc/gcc-4.7.3.ebuild sys-devel/gcc/gcc-4.9.2.ebuild sys-devel/gcc/gcc-5.3.0.ebuild sys-devel/gcc/metadata.xml X-VCS-Directories: sys-devel/gcc/files/ sys-devel/gcc/ sys-devel/gcc/files/awk/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: 8786eb0d8eaf9eb1cde16ec775b9a779dca642e4 X-VCS-Branch: master Date: Thu, 26 May 2016 04:05:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 079e5975-3cbb-44ec-8b66-fac442db04fb X-Archives-Hash: e1c66e4f334b9d0e9e5e42b18a7895c7 commit: 8786eb0d8eaf9eb1cde16ec775b9a779dca642e4 Author: Benda Xu gentoo org> AuthorDate: Mon May 23 16:29:21 2016 +0000 Commit: Benda XU gentoo org> CommitDate: Mon May 23 16:29:21 2016 +0000 URL: https://gitweb.gentoo.org/proj/android.git/commit/?id=8786eb0d sys-devel/gcc: not needed, implemented by profile tricks. sys-devel/gcc/Manifest | 60 --- sys-devel/gcc/files/awk/fixlafiles.awk | 314 ------------- sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la | 335 -------------- sys-devel/gcc/files/awk/scanforssp.awk | 225 ---------- sys-devel/gcc/files/c89 | 20 - sys-devel/gcc/files/c99 | 21 - sys-devel/gcc/files/fix_libtool_files.sh | 69 --- sys-devel/gcc/files/gcc-4.7-rap.patch | 37 -- sys-devel/gcc/files/gcc-4.9-extra-specs.patch | 117 ----- sys-devel/gcc/files/gcc-4.9.2-rap.patch | 535 ----------------------- sys-devel/gcc/files/gcc-configure-LANG.patch | 64 --- sys-devel/gcc/files/gcc-configure-texinfo.patch | 16 - sys-devel/gcc/files/gcc-spec-env-r1.patch | 87 ---- sys-devel/gcc/files/gcc-spec-env.patch | 42 -- sys-devel/gcc/files/interix-3.5-stdint.h | 301 ------------- sys-devel/gcc/files/mkinfodir | 233 ---------- sys-devel/gcc/files/no-libs-for-startfile.patch | 15 - sys-devel/gcc/files/pro-police-docs.patch | 74 ---- sys-devel/gcc/files/scan_libgcc_linked_ssp.sh | 42 -- sys-devel/gcc/gcc-4.7.3.ebuild | 71 --- sys-devel/gcc/gcc-4.9.2.ebuild | 54 --- sys-devel/gcc/gcc-5.3.0.ebuild | 46 -- sys-devel/gcc/metadata.xml | 34 -- 23 files changed, 2812 deletions(-) diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest deleted file mode 100644 index e1153b7..0000000 --- a/sys-devel/gcc/Manifest +++ /dev/null @@ -1,60 +0,0 @@ -AUX 4.7.1/solaris-searchpath.patch 1232 SHA256 43cdf7f7c8f491d4800fa9b0fb03fcc9f5e5a2d690c23302727f5c8006bac34c SHA512 15967513a71706a27eb8c96bd7f53f347c7e97be834601be494b85aec3ed92d5c48d4611dc6478d3d58a63284c357ee91b4d8c18fe8fbd8727723d3a2960abdd WHIRLPOOL 488e0046afb68534817cc2f89de6ded52875991144e9eb12a02f0e3310e8b644e0be5ff9f501fefee4ce2f43ea135ce195c59711c8664e361b3733a062e69efb -AUX awk/fixlafiles.awk 7999 SHA256 637433406921f5f6fba2e19c4f89064c57e830657a1dc9a9de79709722355d80 SHA512 df7c3be2c005c23b8ff56fd44775fd8b8b0b8cb0a900bb5b78e44f1ad10f12676f01195d3bec1c25e9dc21f9369ac212be899e1c7bd3e912383fcb86d960ca1b WHIRLPOOL e825985ee96c46f5f64f1ee541c2c3865df385f07615279e91dedf5b95cebce9a454322730971bff619548fe8ba30433b6e550c4b109026c90112fef091991b2 -AUX awk/fixlafiles.awk-no_gcc_la 8812 SHA256 db7e27bc744ed56c37062a56f8d2173662b5900ad55beea1dae6f4a1c4f31503 SHA512 b6335cc84e39a2bb276dacca6eff7e7b20a67e406781fe79b955629455af59bd376e042fb6e2e751415b422967c44327d68f731abdf9d5c06c6f718a3dd1150d WHIRLPOOL 9d4b4a661923e379fc9ee1b37b3710b9751677b839b668a8c229116fd15644d4e066a27094668e82856a24deba058a9d229014343ebe271bdfbb50c6c799849d -AUX awk/scanforssp.awk 5830 SHA256 236a2a7eea1ba540ca3be82b0fe2cdefd9ac76b061440918ffe52664edbbb98a SHA512 27e5c1575714cfcd2e707f316ff11f57852faea661dc84c4b3614add2a88877a6ddefcc62b850c54964ccb296864a8f1023de08986f2948fae5c2dbe52805792 WHIRLPOOL 60a9b298f3d8b71ab8efb8de380116d9ce8f88384d38b7ebc2b2a2442a3a7b0f16175a3e0b47b6576688a584615eeb225de50766becea057151d41a3bc5f8af2 -AUX c89 412 SHA256 29ad5dd697135c2892067e780447894dc1cd071708157e46d21773ab99c5022c SHA512 71d33a147339d8d70a62aa22a95d3e70e445d8435d6ac05893f7da19ae851b89bea851f6ce213fbd22470f13572ae13b83cf02f0621333f07d7b0c68a79b7924 WHIRLPOOL d9707a2be8da7a709b54fcb1154cfa05e479f8c3bdd6173822ee1f1bc265b2a0d04741c0685bfb0db68e1e4297fb032d2f8ff94da88014575d947054474d8295 -AUX c99 446 SHA256 057b348cf5be9b4fb9db99a4549f6433c89d21e5f91dc5e46b0b4dc6b70432f5 SHA512 bf3b0eb1125d5e89b433954fcbf805cd86dec5a6eeb23df685ebf3ff83a610573f2ffcec65d893244c845936a73918387cba026710c65c854b2c94a78b007989 WHIRLPOOL b888038b96615c7a0363555b407a3de2c1f17e34428fa16dfbf56fcf68875d6bcdecbc61b545d7f71842ff1909a3ffeff17165fa7f56b48f95adae22f5f8bff1 -AUX fix_libtool_files.sh 1796 SHA256 8e8447697a2602651be788611fd04d09fee252243397dacc462b7e1fcfbf7c5b SHA512 b2207b17a011cdbe1dbec015619b8cae3bd80d748025c0cace99dd5ecba346568a2ac58c4b05c2eca7395c312d34721557686911e2cbaf57bf5d4cf6aef11da2 WHIRLPOOL bf2f90de987dc0b4ded6256826321e2a26152f8934910b896e8400d88b15f38c04b7a586dd892602c13fb2bea6518d6952754a2aec3244e76300a456e0a78a39 -AUX gcc-3.4.6-aix-largefiles.patch 9483 SHA256 e4aa602d8f34f8b1e4d109e8b561f09c9488475b66fb46d036566036fdda39cd SHA512 14b024ecd37894d059e72e1328c3e2709d69da2438be9532ecd235330b5749e64cbcd0937d871a4abbc436f0a829450b8c246062b09fadbab3cd066d6ba7752e WHIRLPOOL 5f00f37c75fa1c8a8c478d334ef98d27827770aca996614864686a9f4c72a705db1c663081488a69a0e9b3b3d27ca8d40f63ed4aeef502379cb6c931a5464977 -AUX gcc-4.1.2-darwin-fpic.patch 619 SHA256 468cd067347194cd00175a08d88960ba5b8b96b7462e5df4dde65340a4ed0a0e SHA512 8a0533365dd806f5922db836314d3b4c4fb6e7b175b1cc58afce9225c4a02b99327d18c50ed6baddedfb833d73634d966a886617061377347fa69032eaf96f06 WHIRLPOOL 6025a4ba1e5e46959158f3fa5cfedeafc3a2dad5ef995c113cc33a4000e84cdef8f032475eadd5f9737b9f6dc036c1425e6f5dbc64e32e0c6dfe8869857f0dbd -AUX gcc-4.1.2-freebsd.patch 204 SHA256 de33014a03741e46d027f7210f96221b3db45fd4161abf6c54c62342918b22f0 SHA512 1f550dbac6532a46c9eea70f7560d83d4239d96d788a704f6624e275f83c2ad9cbba67c148e01e5d833b6b7fb42e29c7082815b9f4f2c3b5f73122245d956583 WHIRLPOOL 95494bf1c3b0faa4464cec1343e505025b11b172e6db58e3cae30780704db3377965dfedc8bceb1aa20d4b2cfe69aa24b5d1f41c35d76020f23f61463541385d -AUX gcc-4.2-ia64-hpux-always-pthread.patch 868 SHA256 5a0f38a7df257ccba771b16336682f363e70bbb8c07d72a0b4d3f7f173f413f8 SHA512 d92ec8072309fdece588b4874b4a555d9afcf78302492de0ffb167b46038f9fe1e0d64c65a63cacec9d0672c76984165e517a3e3d3aba1b34894ed58c063a5f3 WHIRLPOOL 2c8f03ba53fbbc9dc5df19a25b883826a4a939d8ccc443d6c83cc8187c871f40471e434b30da297e2426e80d3e68590370a3f4692ed2468137c4e8f4821e3724 -AUX gcc-4.2-pa-hpux-libgcc_s-soname.patch 483 SHA256 6bf38ec9e85b6b4da839e1781ddd06ba689d1b5ad8257e5c8052289343b664c3 SHA512 66b7f1888918d132fd751be5d00f30bb4646b279ac803cb76a00a5388e33fc7b0792689d049c8a3526652ef77dd32a759c2f43f5e1ede42e4cbfc892c717d6f2 WHIRLPOOL 18cf4d80c86b4eb3bc835f00fd27cf55664646a47733666821b6426378507d3c6fc1192f4559c2a62eff501b835b531fb66c3b7e09bdf7752af170b4764b13be -AUX gcc-4.2-rap.patch 1250 SHA256 1b458c52b2d81a031882547f5784721ea00012ad5377f3557ef176eaa80fd936 SHA512 3ae8db2bd956cb42dc121653506d286f7e098524e5a3b2ca28cacd7622af7c555e1a3fb5fe0a33e02801271a8c9b4bb0a83d86593633f176eb12425b2be198f2 WHIRLPOOL eeb41d50970d1843c9c96c2c31b9f7b6fb33fdecb6f280a35f320b71e582d7f5811db6dcde534de4768f3e4162403276a5d081c9d1c7af930d7ffb9acd490c2f -AUX gcc-4.2.3-aix-largefiles.patch 9519 SHA256 b9b035ec252a118c1725a69900a73ae4c3f22f08350038504face1b9438446af SHA512 bac988d25176a302b3ab2272f0f89b1d37fdebc49f15a7d01fd985d9a7e5adbaf270cb5dceb02298a3e8e420e54ffa906f8c8cdf65fe255eb9f67b721c3bfae0 WHIRLPOOL 794aa70c42af00fc4ad013b4b7450bf2ccc9200c55067e59a9636b6ec642d65e2dd0d123723d8d94a67492e161e7ca0ef2393638d70d4a5e54434546c0226121 -AUX gcc-4.2.3-mint.patch 786101 SHA256 2420dda14ee894b95f322dee1452fc4fde25cdbe77c4b416b0d77d276f1c67bc SHA512 b12bc5c70c9cd6f9fa15f94132e972405f6693d001f4cbb5c902edba4e8a3de6bc1beb3746984fa5b1c268f5f904f6ffee82ac67ea6201cd7a48afe30257c1ce WHIRLPOOL 4656603088dd4e84fbf76ad764721985f7d2075b68d3576ea22aaf75546ecde5071e93d2f54aabae1ea9096e47770c42977616ebd1bb6a219d74229e3a5ce31c -AUX gcc-4.2.3-mint2.patch 19829 SHA256 7c7a5147d74cff334b4946cfe5f7a3ecb99f2c9204ccc39c989424b4c161eda5 SHA512 93f1e7249174127c6492918951be87eee6a180f930c6ed14d5846fcf7dda6aff3ebcdf22d85cdb01e5d0f7b0084995bc6f87aee11ac6efe727fa62f0d9a0b5f5 WHIRLPOOL 08cd3ecaa0740afc8dc480c1f1253690f6441588c61c2af0b1af82ca995417cdf7b83d85f487e3dd8be346d39b42bd6a1cc8585e70c19f9ab8ec2cb031437257 -AUX gcc-4.2.4-aix-largefiles.patch 9524 SHA256 911d9525bac879c79af5c4ae83be366138d36de4c7ef3c86c441cb9d3cdb2173 SHA512 bff5af082a12ea4e5a9ec8a43ed1159aa3d10df0eaff686bac949bc446c2805fd6b7072263c72afb7bd6f68851e0bbe3df688dc82ff34f5fddaa11aef8abd3f3 WHIRLPOOL ff28805b8d16b0b634f021c154dd599bea8d436eaa58f5857a4877a6bb1a56a7a03119de34abc30166bc2c27df7fa76c489ac233810b3c9a1f4084aba904def2 -AUX gcc-4.2.4-interix-all-source.patch 532 SHA256 b357fbfb172d99b8958356e1e5fd5125bb53e9c343aeebf87a4407794e1ff13c SHA512 ba190fb1c520207d4887ae461804098d42f6795983f38e84be1ef84b197e256be68e566f24f69278c8a0f64101cc9f69016c456077c8d941b00b1339e98b0647 WHIRLPOOL 4120a250798a95c90c0e212774ce22419f8d744d514779134f0a7fc03a4b0bf8d90c6a5de2c4483cf8cc767a3c96cfe93c28bf18fd8ab4d2e8699a8e5cbba505 -AUX gcc-4.2.4-interix-long-double.patch 650 SHA256 f47f8da2b4e7b77cf88d263e9cd753796bb182ea415ed5f6e1c99f675bab7482 SHA512 e67e7e3bf12fd8da28aad4e728556c08c5fbeaf134f7ce49bb183a3d8e6892107c295d6ef61b945a09eda1c94db3b721c1fb5b629cc8d373cc639780a2390f2e WHIRLPOOL 6c2d1aeb1333efe5adf3674097a9963d47779dc300c2e7f7b32877f66ee1d82cfe0d8d24599cec031f4947f68f9847c4bc00a3ded503d54a0f2cfc896e21fcc3 -AUX gcc-4.2.4-interix-x64-support.patch 661 SHA256 b22854396741d2eea33b9b3ffea66dcc54e17211e5e93b3cb54b488edf250cbf SHA512 6e0e7616267fa015b0dedaa94524a7dfe0254412b97f41ebfe1cc70e4a410672a8adc0d05939d3ea863ff8b99bf7aad18c728fcd00461eaaaeddf155ef3e70de WHIRLPOOL 5e1de94145964062eaa04d40bf92e7aecc1ec61db88558999c955c689409e1bae658d983223e12a0fd256ef960c125788a8114bf5d6e79c68965ef3a99266462 -AUX gcc-4.2.4-linux-x86-on-amd64.patch 1867 SHA256 36dc1698a26d08156498ac20298b51eef0378dcd3e08e9a2976e7d58f1eab730 SHA512 c9b2e48394b801ee86c09196c558d6b343defcc7af50dd1234c451c7be00051db2dbf4668e2f210ef7fe7d58e23f14ddd144fd7f57c05d8f68f5e6e7279bcf58 WHIRLPOOL 4e5ce608f91690b5257cc4f0da8ac8c1767ebcbc5817973297cebf2f5919c65ea45a07e68c726c9ef4f77ecf43f5c055edc9f5e8788c5a2323635ae7b159830a -AUX gcc-4.4.1-interix-avoid-bs.patch 1916 SHA256 3c3c7019b3164ed463ddbee41131ff7503caef25d958540ce10ffc895ef0b3ed SHA512 b3d0eaa8a5683663d2a3d7d99a57c60d8f5f4a67d7b9ea4a75ef427284e671760a8ddc10d0ad264100c922703221cc0b663adc06a20905d2339d0baf773d5a41 WHIRLPOOL 844bd4a057fc8cf12bce157b34943da81597babf184b8eb991b6f1dd19f3fc9d78e8240f918b6807f7ce99eb72efbf5af38554f770c470293bdc3c79fab30ca6 -AUX gcc-4.4.1-interix.patch 12986 SHA256 33953e755b4de1e5b5d272b3e35a8d63a68a16457e6fe8b10df9eb65e4ca98d3 SHA512 3194dd9477b3a1cff15b0e5034d8f8e0eb33e6ae861a4b2ead725ca25fc129e347cccc8e8300bdf8c60350e359852696727b12bd04351eaf4cbc3165a66ec5ce WHIRLPOOL 3669bf6cb5cc465ab6acdb7f2c755081b34c95f59a0fdb60ea29d5203d5c55ddb33b0ae9f5788be51214edce214b12cc2f71c5725810642b20abd9524b4200a2 -AUX gcc-4.4.1-linux-x86-on-amd64.patch 1559 SHA256 cf300a35076e42ab530d3c6b4a81fb0ebaf0174bfba5e26cf565d63cef5fd670 SHA512 53c929926837487678d80acfbfe24b37a7aec8af0def837d2c699a1df4c9839d54cc91de4f33c696aa114d52059e245aa9614b86fdfd5fe1c5c1a1715dc1cfdb WHIRLPOOL 4bb0644b6d147b9bb69f94212b414b108f35f1c6d4b8d3dbd41319aca0ccd70ceb9e2ca947f180ab2d1f7ff1408065024199e89e4796bbef226960ee58901d56 -AUX gcc-4.7-rap.patch 1913 SHA256 75842d968d21d9916d41c4e75be12387d818221465fb2335546418c744b2eee1 SHA512 aee8bc93aebd9a217b53cd4c6d6fd79780eb77ef490164d35a056d08d0cc5b550ed7b6e298f963cbe61511caf2b03d47ff5df50a6de95b86c104dfac3ed0f273 WHIRLPOOL 7702b0cefb958f6fb7cef5bb0e1f056412d5f972e3a4653735f33b56245db7d984d7c21a5e47282d6283efadefb76bc850877d151d15bcd3f081aba1360a0d7d -AUX gcc-4.9-extra-specs.patch 3894 SHA256 942654807a350bdfc1f587766238bea0caabe4d804e48a8705ea5faa56701641 SHA512 32a477d66b85793cdd6c51a1dee29393914b5ecd5db4022387457ff01e871a1efd1ad77be3b05275cdf96e0ae822a7d353ed40ad1476326c60e9bdd9054930cc WHIRLPOOL 47bf1ed50db265235f5f5cae5e45831c1059a2c26fa93d6ce86299c5986da2c38b10b2ca39e59ba8c796716f4e88eadf85f84c5b4a6b5acf25dc56e5a86c182a -AUX gcc-4.9.2-rap.patch 21922 SHA256 09c77c4b535a653157a9bb6f282f6e92e5e4aa4aae0e3e9d3d40e079962e442c SHA512 d0c59eacda40f9969b5b94e8e7e8c514df7645aac83d9be434da78b42edbb6816aea7b36502c11af2c6fa8fce5ba412e181a14f6153601b6236f634b52e8aac7 WHIRLPOOL 86ee9f8d3df2db93e0229f7bf385dd8ed648ce09affe2993b0d532b9251cbec47e6f2135383138947c0ac0699c3f9479b06d4f6cedd7078359bbe79b82d6b075 -AUX gcc-configure-LANG.patch 2052 SHA256 63de6d2dcfe14f21d147abeb1390405b9220c03f8e968f482d4b4c1cf279c88b SHA512 a694c7ac2f45cc657097ff5b0cf1356ac88a9c06035c9ba15167e9d444844d0d8a478eb1b9b62195dd063774f79697b9148b9cdb6c261640b472c291061b2129 WHIRLPOOL 3cc1ec912fb192ff1058de5b93e49a994ba30d1501a932290dd5b3df1cd783875621cda56edeb41894cd5fa10c04917e693a40a60be8d742ddd7992bf5d8afeb -AUX gcc-configure-texinfo.patch 337 SHA256 74b73a7ecec2d88889876b4db480cd173632f49d5396bb8e5b3c93673f9b5b98 SHA512 a15fba8bf2ff02bdeca54d6f186bfa08c1079c6a8ba0a3beef154483ce5c1b8c497e7ffeec32371968f0037e0ff8384609eb0c367d0155a4e5a7eef8aad084d5 WHIRLPOOL 39d008aad06f7621e4e5db15f5e85a59e583b43f8d247029bd4944466bb60a9795bda157d185c45c329294078e282703a243aad5c468d90c77665dd6336870d4 -AUX gcc-spec-env-r1.patch 3148 SHA256 da0a6442eb42bce58cbdc7858b110a2e65fc5bd5b4b780b9b491033de6e302fa SHA512 ecae71577543772cfe1711f1b4a8815c0b5d706ebd01edacd1f07586637d4805e25771f970a6e6d1bb696d4b1b5ef3e0036088a96a9f6beff7ddaee704175d16 WHIRLPOOL 3535605998eabccdee71ba396ed5cefbb8b0a8cb073101f6444c7d01233f3b3904c1b29f4daf0a3417c68de8dbd62a0b7dc367cacfcbfa0c4ee1b69b7df8c6fb -AUX gcc-spec-env.patch 1544 SHA256 64b01f29fb853fee5ecda998b66eeaa7ec86ff1fc3b21432bfd69eb543c93e6a SHA512 ce9c1f923e2c6d17347ec2d3d8482351a9644194b2753627389294d43bb4f11b9c2ef41eda1b46ad83d09901a0bedebd5b6b8a57a198646030ab61e8d2d8cb48 WHIRLPOOL b88c9c18e20868b3ff535c3390408ebe8f1304bcec6e70b6472781f684671265860dff4335f2301d3b4d3b73395283b29673f0f5da62414e1094cfcb8130e8d8 -AUX gcj-4.2.4-iconvlink.patch 721 SHA256 eb28194b567fb4d0f2a767647f787c2eef3cbce5507d85a6200cc4afd0bcc859 SHA512 4b57fb3aa3b461c27a01723712b2ea993732a2c55ec0c98157a90b82d5228f85f60e4d369a4fedca33632987405283a8ccd08b372824d2533de93cdc260dcf9f WHIRLPOOL 3e562653c51d3505952b9d527af0f9d4c98402260890c4edc9b8a8b83d0f0a68a015de99126736973475e30ca95ebce097e66f15735dd6f5ed9b5c918d0c8557 -AUX gcj-4.3.1-iconvlink.patch 753 SHA256 8918aab615ade4b9cec301f61b27de9ddadd158ac1250a206a1e5973ce35c9a6 SHA512 c985f2887d2ca1b4a9c655e0686d642487cf6d457b653b6ae4c00e3a75b35a75c6324e3eac67a8a508e8ce5272c0005cde3bf574dbf4815444683033ec52ab81 WHIRLPOOL 04e019c0bc96e369a0546d2ab5d902e806a3abf60a4aa8acb77f9ec8de3613ebeb6ccbd23a7debf738e61e3d25c8f74325b7184bea61ddd1b15e464ec4e0a1d4 -AUX interix-3.5-stdint.h 6310 SHA256 8b1cd7e249faee17ca0d9a1ee2fccb004e46046f38279303fa7515b69db76523 SHA512 9ef0fe18eb9e603109808536135b6ef7e350998dc9e4fda77ecea69792c9701117dbcb8b4a85c56fa2b3898e34b41c8865993ccdcfda8a737bb34f98e7f9270f WHIRLPOOL 11b439c0085ce2e10b7ab75fbb92ea411b5148a3e24697a347c54ce39853cb4a3e8753588e0beee537511860c25412f4c54d3f79c81dff50b24ebc5977899149 -AUX mkinfodir 7324 SHA256 0565353e767e253207adb8b5c9be9ba215a628447e075a4dc7bb3183ed099d2a SHA512 a05f9130d98e4cb4d3254b757de06d772d0a965ac4b5a9a15082b1cb694a2fd32c9c8f550745a9423ba3cfdd1c5e87b6d568a809301772a24cc6e1a414d5f98b WHIRLPOOL 4001ae3f7fb666a84e12432a1a41eacf62ebf922181c279e4d06dad32e44d0b499d13e098e794fdd19a9cff5c438a28e5e9e125fb78e72bb913fa5ddd8e44bae -AUX no-libs-for-startfile.patch 460 SHA256 b7f722ae86f0ffb45bd0d9c6db1e65e8a52c85d1bc3c203aad26efa4db74fa90 SHA512 8875e8833d733c7f0db9ff2bd97954a92041890efb592e0b03ed13bb35a16bc2e85fe685a00becde9ac402c40b76aba194f6b21a4869f488202ebba85da37acb WHIRLPOOL 457c7d0d81894721fdf6df5f899b57858511d7e5994bf2c0b1ba8dba82ded41a73c17c581b98c3eec7eb88fafe4c1951897dd7074897f40b19f6d1b1e9e56ef7 -AUX pro-police-docs.patch 3287 SHA256 ec012aed77285545b9d993cba1bc5fdb402c8dc9a17040f48b8b354746ede627 SHA512 1ba939ff035b33dbbeca2bca6b4240ac0408bb1648eebc4a5d890f0c7926dd0184e5b29f73412d20bf862977c172dcbdfd908c156a367ddaeada5774c94befd0 WHIRLPOOL 48a31408fc03bc178a9799b5a5668d5ae2b0f02d51ef75f5f86e30ca6912c2c3e01364a67c3986918e3a7e3c082d931cb8fb22b6c0db8c8a41fb8da967ad129e -AUX scan_libgcc_linked_ssp.sh 885 SHA256 0de8bae299e3333d3bba7af7f85427952f18b906b1a4832232ad15e73a3ddfa2 SHA512 a09e5ce34a404ea6b382a6f596b439936dccf9cb87381d04868ec35993a889df296b9f9141779adf897f1987bf32c76f10f487aecd83a9a48a9b32b906494160 WHIRLPOOL 5446233ed31d9f07ef4a636f76c3dd0423e8b176b17884305b8df0eb33aa0e57bc1b5be5d2e2b5a2fc7d37de3b445bf98e0311a03cb4d48628b00e77cfd987ab -AUX solaris-i386-ld-emulation-4.2.patch 1495 SHA256 7bed8ae44ce900f6350a0d16c5ca5aa0b41793a78f6f0197ca29e7c34c1cb856 SHA512 cff400cdec0c5d7593bb4a72efc71a390b2a01c8763e7f1ea9006346a28dad91c2611585cd6f7d8a0f6c57b387d844eb0ff41204e9abb7cc1ab6a4a9ecfc752c WHIRLPOOL b4d88caaf4621cb52698412f78b1623df6d8afe38037a4f3726778c8a1152a3656172f50e775d71b72ef064091bb97ee4d2220785b58c7e19e2ff2fd11e1f3d0 -AUX solaris-i386-ld-emulation.patch 1437 SHA256 41e6cc6817b887298c25dec992009023c30fdcf4221a1a4569ed4a1041d20f12 SHA512 5b2edeae26069e10c4c3f9d05a154f0ad0c9740e35b2d3e8f46256c6341d096afa42fbd4276f290d9544caafc6060448547de15ac57a398919dcadaca5c035bd WHIRLPOOL 96c4a0178043176a287db8cfbfb84ec3c9ad6682fcbdd79b06947e659eed159839cc55307f819d6363d4afc279e2acfc5d6d5f0424ed9e9c6f263c38c313215a -AUX solaris-searchpath.patch 3051 SHA256 1b4ad2967727b821fdc6bbc324f27540a5db8cbe17124fbe833ca6f97104a479 SHA512 ac2cb1c8fe9cd40926332f77647724b6c02776f310bf6f29d6e8c975d0ad792480790921f2baecd60bcd3717a426ce7f4f5732bc3d8ce45fa559700fc90c0926 WHIRLPOOL 1fc994aa2df98e3f0bdafda71d0dce247518dc02ceb3374f5e680eb13b53779ccef2b73cae09564008aa3d2410cb39766c233538743842b4a1df17c6247d428d -AUX stubs/gcc-3.3-htb-stub.patch 2195 SHA256 36fd59370c87ac60c2fa1e98fc4a43dfc17ad8188d730b8c16fb680e83f7e9c2 SHA512 054adc5a51cd9b285336395d273605bab2a2de5ae7d6b91abbbb375df385df4c8916f5da4759e00970e629d0b7da84e3873bcf71b9101cd3a246b17c1617fff6 WHIRLPOOL ecff251e9ed6317f302db7c514821bb44055ec76a7e74008e2bc599b2b4951a90dfd079f97169e2125229788670dfa198ba0a8600be678c0bc49b6c213539038 -AUX stubs/gcc-3.3-ssp-stub.patch 1735 SHA256 935863cad4820d7cf35b124efdeafeeab7e67a01da1cef161ef590f18d643beb SHA512 a248fb60691827fe93bc1c7b78221c1ad89482c88cec3d113dbd7539e137955022ab474b24e13f8044e3d9d31dabbb238fbe09ba259369f1eaf1d90b26002821 WHIRLPOOL cfccd55b68bd24bd927b5b102da7380b4bb59b054c2126a40cadf5a9b45734996292be57b7e58b3434027efa230f5dda56ea11d7678615e1a0a31449df6c8f6b -AUX stubs/gcc-3.4-htb-stub.patch 722 SHA256 0768dcafc35be6d35c9aa0106b0c8b87932e6b2ec7a82547b8cc7fc9c8b0e1f4 SHA512 9cdefcc2a8c8b048a8040befc15554fdc2fbd7d29364f96b49dddd4336527b26ae5c480318e12c48738d5f62e643c174dcb2ee6c98b29c207a25bcbbacf491fb WHIRLPOOL fec25cf06344ed41afa00fdefc27b08b935232ed05bf2b6517cb4fc82ca3b626f06b5b64b041297b61d88af0f9594c6caf2889b2b912205e87f3816920d6235d -AUX stubs/gcc-3.4-ssp-stub.patch 1068 SHA256 259b08fc6ba1a5fcc6848c1a0742e9b90dd43985c61fab4ea2e9e79ec795d982 SHA512 d797117e2663c5e0d3dfbc983e5f943a0724fbf7b28359451c12572d7af8cfe7667afe36aa6db1fd831da681be8492100231f0913bae662898d40a42adb8d56f WHIRLPOOL d96c065c8a85adca2915f965975a7a33221c0109354f22b1e3c4cbf00b264bb5b178888476ff56f022453749565e41b02ebe91f092762164dd5c225e208e7b8c -AUX stubs/gcc-4.0-htb-stub.patch 722 SHA256 e9b63d3644c0c10e871d5bd94ceae55bec0726b76e9a7c43c83daf6c840dfb5c SHA512 a7eaff57c2ec6a6947ef5d938320638dd9206c2e274431251c3be3928caeca941a679e74b6238880db589fe5b00cb6d1da644e6f06d02b331b5646cebaacd330 WHIRLPOOL 9b30fbd1dac7143491d79d3821370c11c4a79dab1f6294ab5a60578605e4d2e86d51730da6d48ee08df0618bb0deddf6d2da36b91a5b632cef14dbd2178c042c -AUX stubs/gcc-4.0-ssp-stub.patch 1068 SHA256 259b08fc6ba1a5fcc6848c1a0742e9b90dd43985c61fab4ea2e9e79ec795d982 SHA512 d797117e2663c5e0d3dfbc983e5f943a0724fbf7b28359451c12572d7af8cfe7667afe36aa6db1fd831da681be8492100231f0913bae662898d40a42adb8d56f WHIRLPOOL d96c065c8a85adca2915f965975a7a33221c0109354f22b1e3c4cbf00b264bb5b178888476ff56f022453749565e41b02ebe91f092762164dd5c225e208e7b8c -DIST ecj-4.5.jar 1470676 SHA256 98fd128f1d374d9e42fd9d4836bdd249c6d511ebc6c0df17fbc1b9df96c3d781 SHA512 d4e1bf7538ace56e3d69fa91da5bbd16c272923b4de0a9d8dee23ea2b75f9f38c603de72fc4061df49285c450b63f3df211cee5270e9fffc5447445d1a9c9e4e WHIRLPOOL db54206cfd5eba935e707b8d36ebac40f3c4ed3c1f06ede794288cbdd9c7da9d90c0898e8c98b383af276ea4c1b40c861ebd9e1fc1dce712946184321339d3ad -DIST gcc-4.4.3-specs-0.2.0.tar.bz2 2004 SHA256 f6c7cb99beead66dd4d06f7004c5731a9360330cbe878ce79792c618e008eed2 SHA512 779ecb0a064d2138b54569c8ae501975b8a6b72e5a3acbf8597619a8db77ee42ef9b0e62608d5192a15e4393e7dfc009bb50b994782236faa744b2c46b5fe517 WHIRLPOOL 8a1e45aad9d306cb19de93c63b5854a97e629d90852feb6861dcfca042b6257705304fc13ad65655a4cb227d36b83fc6063648c94f270821574ee0e85307094e -DIST gcc-4.7.3-patches-1.0.tar.bz2 39969 SHA256 c9a5d7c6da7d056f7fca15b33eb7f399bb7ed5a2d0a892b97e0c7609146a2a24 SHA512 d5c3151eca135bb08511955d81c7727adbf8fc33043b64a4431b0fe95d2cac1bf3c5410fa9616373d6b3d932604195ff29f6321e61a3de69a7704f1d1cb1759f WHIRLPOOL 315578ef5a7226ed66c4831b25c79647120453dc169dc8ecd291e099500ae52284ffa451164522d6d55d11c440a7aa353a283c07e28c103c522df0c2e2f43fff -DIST gcc-4.7.3-piepatches-v0.5.5.tar.bz2 15378 SHA256 b6f6b6709e7b13f6c05090f3bf68f3a64db19d52593a870cc7717c5c128b05a2 SHA512 d0189d2e4049d471dedaddcba319fe2c2b29855f7b33e84b26051504ead2936c852ef7870a1d19d755bb343c9b121b0ce5295665ab4ff1e448436bd448c08e1f WHIRLPOOL ccceedb41d48da69f5a423b6b73436c9fbb7b1e382456abfcef954f25666e1b7caf926bc5eb977e934502359a356d623c439d80825e87d9fe46b5ae78a74bde3 -DIST gcc-4.7.3-uclibc-patches-1.0.tar.bz2 3013 SHA256 731c518f31db8debd08bea92db8e3bf1e9962552909407452dc2ac3c491cf11c SHA512 6119159300e76be87732f2a44b1a9388228235d7832370dbae531c2c96694ea42ed4c75acf7abca98ec0035fbc50a8bf84225574505358c2739e64b0f3fd6a95 WHIRLPOOL 4a874a5684937907720aa5a4a1dbc237aa7d985292befd1c591cf0789c71e0da22ced5b7f7e049731bc2d6496e959cbe3c9010047ceb1b05675e61865004c71a -DIST gcc-4.7.3.tar.bz2 82904224 SHA256 2f7c37eb4fc14422ff2358a9ef59c974a75ab41204ef0e49fc34ab1d8981a9c3 SHA512 5671a2dd3b6ac0d23f305cb11a796aebd823c1462b873136b412e660966143f4e07439bd8926c1443b78442beb6ae370ef91d819ec615920294875b722b7b0bd WHIRLPOOL cb3408e3e251833f38ae7cf2388a1ddce864614fe1c68de9729a1a9a1f8f028ab92c0f2b863e7fa3ac16dbf443306ac864e74c9cce90690230c081ee2ac309d3 -DIST gcc-4.9.2-patches-1.0.tar.bz2 18213 SHA256 e4e9a665381beb4018779a14d5124528a9d5df0e0772f3b7639390d6bda51515 SHA512 27deba0db6a500b160829fdcf5fc9a70be4b4fbd45c89d18dd2d0808d42803657693d0ed0f2b664e020a0d2ac39cdfe550e397eb4c2a6f64220cae1e7a16ff20 WHIRLPOOL 7e04ed92038f19a9b00fe0022c2c7ce3df8621fccca95cb2da37333a5edcc0857efe96aed68f5c4b51db19ecd23ec1194412f1bc24730cea30db7b342c12dfdf -DIST gcc-4.9.2-piepatches-v0.6.1.tar.bz2 14185 SHA256 590d11ea5723812fff3239c5eaed4b040b26a92586de0e42a84438f742eaac0b SHA512 89560e96bc205e848936acc4d3423ff5e1ea5ee478848edfe2b992585cea0df21eb102b1f1bee55c10568d4ca54bb3f4e8ae72aa695e34a908abfda3585fb992 WHIRLPOOL e6db4a2e5fdf762bd4f0fa70d630499bf6789a0c3b7ca193b455bb22f95f5f2983358ba9f28bd85b571a3a44a691ca797762302a1f2ea63ce170752f7e44128b -DIST gcc-4.9.2-uclibc-patches-1.0.tar.bz2 2540 SHA256 3ca63cba5edb01367352fcd558890a838630deb4c30f82f4c7e8074ad75e57fc SHA512 69f6f80e23efee0b937fca0f2056e17b4fe643817d2394bbfd16cbb453d74c76a0bb8727815f689a795897d9cd5e06ecc74d3d9ad45175fe837ad008eee09706 WHIRLPOOL 3946513e83960fe891267e103e434cae0616cd45b5e7eaff5f4f671741c1445941cf80b7497231cf50f137941c01859dbbac0a95745fb7ae663a3ee512bd7162 -DIST gcc-4.9.2.tar.bz2 89939747 SHA256 2020c98295856aa13fda0f2f3a4794490757fc24bcca918d52cc8b4917b972dd SHA512 e96cba06d572dbe7f382a2b00fd9297dcf9f9219d46a9ad0bd904dc36d5e7db3335e422640b79a27fed6fde91b0731732b94a0e2fbcd47344d6779f8ba1f4f9c WHIRLPOOL c4afdd0ec98e6f903044f1d3061fd96cf1e9bcbe2f90c388f5bc9ff8b2493b94367e84fdff7c2075ba37e2f950ecf2dba7c11786c653c2c7e86a5e8ff7d98e85 -EBUILD gcc-4.7.3.ebuild 2006 SHA256 b1578b13fdbbd1ad3a492e5e0647c963b539b241d97f692c82e5702a28c93832 SHA512 8ecd14ec0e22e2f7f491848c69509d5bf22042dc762e093006d90d87c72981fd0f2fad4a2d728136a0712b0c2d00cadf9264aa8ac7992b721182e682d04d8fe6 WHIRLPOOL 02edd5aa9da56a12ee8097f9b881da257d2ec35cb8c358ecdbd8ed467cdbe228358a97f50de7366d42cba5133d6f3592ee86592933344c05ade29be7aefc9fe5 -EBUILD gcc-4.9.2.ebuild 1598 SHA256 7460ca1434afd83ad6864690c59f18547dce9fcacde30dfdd1ebee505b632ca8 SHA512 9f1dc10c94f774a2c58c96aa877834ea6ce213393dbe04f5065cfafbb4c4194f0856890be7900183cf42f2c952928d19dd0da7a7bf02a9a5353c336fc193cfc1 WHIRLPOOL 464d86c27265b5ab19b9af8608a44d7322d546302f91279d0e7b9432ac7bace7170c1034cf5a36e629cdd28aeb998060e74891309518252afe1da5001dc8254b -MISC metadata.xml 2017 SHA256 b8397e7ce9649b9086d020ee865f1ccd616b338cdae5be3d57494fd15748d132 SHA512 231a34104c4c0fc8f2a2733572236d7638bc9e7241a6d60b90601f24204c2a7ae5d61d351c75179dce05b4e1b7e367b9ef4f8c6d19c58d3695f5e6cb15ab519a WHIRLPOOL 01599d282637b293265f57c05a91447434d8bb33be54d6e89b8739e0f549b2045e4bc9fb6df8c7a6d0e7d6899b818b6f18454906a73edd529fc9ee57f212cce7 diff --git a/sys-devel/gcc/files/awk/fixlafiles.awk b/sys-devel/gcc/files/awk/fixlafiles.awk deleted file mode 100644 index a49af35..0000000 --- a/sys-devel/gcc/files/awk/fixlafiles.awk +++ /dev/null @@ -1,314 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/fixlafiles.awk,v 1.15 2008/02/19 05:47:29 vapier Exp $ - -# -# Helper functions -# -function printn(string) { - printf("%s", string) -} -function einfo(string) { - printf(" \033[32;01m*\033[0m %s\n", string) -} -function einfon(string) { - printf(" \033[32;01m*\033[0m %s", string) -} -function ewarn(string) { - printf(" \033[33;01m*\033[0m %s\n", string) -} -function ewarnn(string) { - printf(" \033[33;01m*\033[0m %s", string) -} -function eerror(string) { - printf(" \033[31;01m*\033[0m %s\n", string) -} - -# -# assert(condition, errmsg) -# assert that a condition is true. Otherwise exit. -# -function assert(condition, string) { - if (! condition) { - printf("%s:%d: assertion failed: %s\n", - FILENAME, FNR, string) > "/dev/stderr" - _assert_exit = 1 - exit 1 - } -} - -# -# system(command, return) -# wrapper that normalizes return codes ... -# -function dosystem(command, ret) { - ret = 0 - ret = system(command) - if (ret == 0) - return 1 - else - return 0 -} - -BEGIN { - # - # Get our variables from environment - # - OLDVER = ENVIRON["OLDVER"] - OLDCHOST = ENVIRON["OLDCHOST"] - - if (OLDVER == "") { - eerror("Could not get OLDVER!"); - exit 1 - } - - # Setup some sane defaults - LIBCOUNT = 2 - HAVE_GCC34 = 0 - DIRLIST[1] = "@GENTOO_PORTAGE_EPREFIX@/lib" - DIRLIST[2] = "@GENTOO_PORTAGE_EPREFIX@/usr/lib" - - # - # Walk /etc/ld.so.conf to discover all our library paths - # - pipe = "cat @GENTOO_PORTAGE_EPREFIX@/etc/ld.so.conf | sort 2>/dev/null" - while(((pipe) | getline ldsoconf_data) > 0) { - if (ldsoconf_data !~ /^[[:space:]]*#/) { - if (ldsoconf_data == "") continue - - # Remove any trailing comments - sub(/#.*$/, "", ldsoconf_data) - # Remove any trailing spaces - sub(/[[:space:]]+$/, "", ldsoconf_data) - - # If there's more than one path per line, split - # it up as if they were sep lines - split(ldsoconf_data, nodes, /[:,[:space:]]/) - - # Now add the rest from ld.so.conf - for (x in nodes) { - # wtf does this line do ? - sub(/=.*/, "", nodes[x]) - # Prune trailing / - sub(/\/$/, "", nodes[x]) - - if (nodes[x] == "") continue - - # - # Drop the directory if its a child directory of - # one that was already added ... - # For example, if we have: - # /usr/lib /usr/libexec /usr/lib/mozilla /usr/lib/nss - # We really just want to save /usr/lib /usr/libexec - # - CHILD = 0 - for (y in DIRLIST) { - if (nodes[x] ~ "^" DIRLIST[y] "(/|$)") { - CHILD = 1 - break - } - } - if (CHILD) continue - - DIRLIST[++LIBCOUNT] = nodes[x] - } - } - } - close(pipe) - - # - # Get line from gcc's output containing CHOST - # - pipe = "gcc -print-file-name=libgcc.a 2>/dev/null" - if ((!((pipe) | getline TMP_CHOST)) || (TMP_CHOST == "")) { - close(pipe) - - # If we fail to get the CHOST, see if we can get the CHOST - # portage thinks we are using ... - pipe = "@GENTOO_PORTAGE_EPREFIX@/usr/bin/portageq envvar 'CHOST'" - assert(((pipe) | getline CHOST), "(" pipe ") | getline CHOST") - } else { - # Check pre gcc-3.4.x versions - CHOST = gensub("^.+lib/gcc-lib/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST) - - if (CHOST == TMP_CHOST || CHOST == "") { - # Check gcc-3.4.x or later - CHOST = gensub("^.+lib/gcc/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST); - - if (CHOST == TMP_CHOST || CHOST == "") - CHOST = "" - else - HAVE_GCC34 = 1 - } - } - close(pipe) - - if (CHOST == "") { - eerror("Could not get gcc's CHOST!") - exit 1 - } - - if (OLDCHOST != "") - if (OLDCHOST == CHOST) - OLDCHOST = "" - - GCCLIBPREFIX_OLD = "@GENTOO_PORTAGE_EPREFIX@/usr/lib/gcc-lib/" - GCCLIBPREFIX_NEW = "@GENTOO_PORTAGE_EPREFIX@/usr/lib/gcc/" - - if (HAVE_GCC34) - GCCLIBPREFIX = GCCLIBPREFIX_NEW - else - GCCLIBPREFIX = GCCLIBPREFIX_OLD - - GCCLIB = GCCLIBPREFIX CHOST - - if (OLDCHOST != "") { - OLDGCCLIB1 = GCCLIBPREFIX_OLD OLDCHOST - OLDGCCLIB2 = GCCLIBPREFIX_NEW OLDCHOST - } - - # Get current gcc's version - pipe = "gcc -dumpversion" - assert(((pipe) | getline NEWVER), "(" pipe ") | getline NEWVER)") - close(pipe) - - if (NEWVER == "") { - eerror("Could not get gcc's version!") - exit 1 - } - - # Nothing to do ? - if ((OLDVER == NEWVER) && (OLDCHOST == "")) - exit 0 - - # - # Ok, now let's scan for the .la files and actually fix them up - # - for (x = 1; x <= LIBCOUNT; x++) { - # Do nothing if the target dir is gcc's internal library path - if (DIRLIST[x] ~ GCCLIBPREFIX_OLD || - DIRLIST[x] ~ GCCLIBPREFIX_NEW) - continue - - einfo(" [" x "/" LIBCOUNT "] Scanning " DIRLIST[x] " ...") - - pipe = "find " DIRLIST[x] "/ -name '*.la' 2>/dev/null" - while (((pipe) | getline la_files) > 0) { - - # Do nothing if the .la file is located in gcc's internal lib path - if (la_files ~ GCCLIBPREFIX_OLD || - la_files ~ GCCLIBPREFIX_NEW) - continue - - CHANGED = 0 - CHOST_CHANGED = 0 - - # See if we need to fix the .la file - while ((getline la_data < (la_files)) > 0) { - if (OLDCHOST != "") { - if ((gsub(OLDGCCLIB1 "[/[:space:]]+", - GCCLIB, la_data) > 0) || - (gsub(OLDGCCLIB2 "[/[:space:]]+", - GCCLIB, la_data) > 0)) { - CHANGED = 1 - CHOST_CHANGED = 1 - } - } - if (OLDVER != NEWVER) { - if ((gsub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "[/[:space:]]*", - GCCLIB "/" NEWVER, la_data) > 0) || - (gsub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "[/[:space:]]*", - GCCLIB "/" NEWVER, la_data) > 0)) - CHANGED = 1 - } - } - close(la_files) - - # Do the actual changes in a second loop, as we can then - # verify that CHOST_CHANGED among things is correct ... - if (CHANGED) { - ewarnn(" FIXING: " la_files " ...") - - if (CHANGED) - printn("[") - - # Clear the temp file (removing rather than '>foo' is better - # out of a security point of view?) - dosystem("rm -f " la_files ".new") - - while ((getline la_data < (la_files)) > 0) { - if (OLDCHOST != "") { - tmpstr = gensub(OLDGCCLIB1 "([/[:space:]]+)", - GCCLIB "\\1", "g", la_data) - tmpstr = gensub(OLDGCCLIB2 "([/[:space:]]+)", - GCCLIB "\\1", "g", tmpstr) - - if (la_data != tmpstr) { - printn("c") - la_data = tmpstr - } - - if (CHOST_CHANGED > 0) { - # We try to be careful about CHOST changes outside - # the gcc library path (meaning we cannot match it - # via /GCCLIBPREFIX CHOST/) ... - - # Catch: - # - # dependency_libs=' -L/usr/CHOST/{bin,lib}' - # - gsub("-L@GENTOO_PORTAGE_EPREFIX@/usr/" OLDCHOST "/", - "-L@GENTOO_PORTAGE_EPREFIX@/usr/" CHOST "/", la_data) - # Catch: - # - # dependency_libs=' -L/usr/lib/gcc-lib/CHOST/VER/../../../../CHOST/lib' - # - la_data = gensub("(" GCCLIB "/[^[:space:]]+)/" OLDCHOST "/", - "\\1/" CHOST "/", "g", la_data) - } - } - - if (OLDVER != NEWVER) { - # Catch: - # - # dependency_libs=' -L/usr/lib/gcc/CHOST/VER' - # - tmpstr = gensub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "([/[:space:]]+)", - GCCLIB "/" NEWVER "\\1", "g", la_data) - tmpstr = gensub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "([/[:space:]]+)", - GCCLIB "/" NEWVER "\\1", "g", tmpstr) - - if (la_data != tmpstr) { - # Catch: - # - # dependency_libs=' -L/usr/lib/gcc-lib/../../CHOST/lib' - # - # in cases where we have gcc34 - tmpstr = gensub(GCCLIBPREFIX_OLD "(../../" CHOST "/lib)", - GCCLIBPREFIX "\\1", "g", tmpstr) - tmpstr = gensub(GCCLIBPREFIX_NEW "(../../" CHOST "/lib)", - GCCLIBPREFIX "\\1", "g", tmpstr) - printn("v") - la_data = tmpstr - } - } - - print la_data >> (la_files ".new") - } - - if (CHANGED) - print "]" - - close(la_files) - close(la_files ".new") - - assert(dosystem("mv -f " la_files ".new " la_files), - "dosystem(\"mv -f " la_files ".new " la_files "\")") - } - } - - close(pipe) - } -} - -# vim:ts=4 diff --git a/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la b/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la deleted file mode 100644 index 0c95253..0000000 --- a/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la +++ /dev/null @@ -1,335 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $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 $ - -# -# Helper functions -# -function printn(string) { - printf("%s", string) -} -function einfo(string) { - printf(" \033[32;01m*\033[0m %s\n", string) -} -function einfon(string) { - printf(" \033[32;01m*\033[0m %s", string) -} -function ewarn(string) { - printf(" \033[33;01m*\033[0m %s\n", string) -} -function ewarnn(string) { - printf(" \033[33;01m*\033[0m %s", string) -} -function eerror(string) { - printf(" \033[31;01m*\033[0m %s\n", string) -} - -# -# assert(condition, errmsg) -# assert that a condition is true. Otherwise exit. -# -function assert(condition, string) { - if (! condition) { - printf("%s:%d: assertion failed: %s\n", - FILENAME, FNR, string) > "/dev/stderr" - _assert_exit = 1 - exit 1 - } -} - -# -# system(command, return) -# wrapper that normalizes return codes ... -# -function dosystem(command, ret) { - ret = 0 - ret = system(command) - if (ret == 0) - return 1 - else - return 0 -} - -# -# parse_ld_conf(config_file) -# -function parse_ld_conf(conf, pipe, ldsoconf_data, CHILD, y) { - pipe = "cd @GENTOO_PORTAGE_EPREFIX@/etc; cat " conf " | sort 2>/dev/null" - while(((pipe) | getline ldsoconf_data) > 0) { - if (ldsoconf_data ~ /^[[:space:]]*#/) - continue - if (ldsoconf_data == "") - continue - - # Handle the "include" keyword - if (ldsoconf_data ~ /^include /) { - sub(/^include /, "", ldsoconf_data) - parse_ld_conf(ldsoconf_data) - continue - } - - # Remove any trailing comments - sub(/#.*$/, "", ldsoconf_data) - # Remove any trailing spaces - sub(/[[:space:]]+$/, "", ldsoconf_data) - # Eat duplicate slashes - sub(/\/\//, "/", ldsoconf_data) - # Prune trailing / - sub(/\/$/, "", ldsoconf_data) - - # - # Drop the directory if its a child directory of - # one that was already added ... - # For example, if we have: - # /usr/lib /usr/libexec /usr/lib/mozilla /usr/lib/nss - # We really just want to save /usr/lib /usr/libexec - # - CHILD = 0 - for (y in DIRLIST) { - if (ldsoconf_data ~ "^" DIRLIST[y] "(/|$)") { - CHILD = 1 - break - } - } - if (CHILD) continue - - DIRLIST[++LIBCOUNT] = ldsoconf_data - } - close(pipe) -} - -BEGIN { - # - # Get our variables from environment - # - OLDVER = ENVIRON["OLDVER"] - OLDCHOST = ENVIRON["OLDCHOST"] - - if (OLDVER == "") { - eerror("Could not get OLDVER!"); - exit 1 - } - - # Setup some sane defaults - LIBCOUNT = 2 - HAVE_GCC34 = 0 - DIRLIST[1] = "@GENTOO_PORTAGE_EPREFIX@/lib" - DIRLIST[2] = "@GENTOO_PORTAGE_EPREFIX@/usr/lib" - - # - # Walk /etc/ld.so.conf to discover all our library paths - # - parse_ld_conf("@GENTOO_PORTAGE_EPREFIX@/etc/ld.so.conf") - - # - # Get line from gcc's output containing CHOST - # - pipe = "gcc -print-file-name=libgcc.a 2>/dev/null" - if ((!((pipe) | getline TMP_CHOST)) || (TMP_CHOST == "")) { - close(pipe) - - # If we fail to get the CHOST, see if we can get the CHOST - # portage thinks we are using ... - pipe = "@GENTOO_PORTAGE_EPREFIX@/usr/bin/portageq envvar 'CHOST'" - assert(((pipe) | getline CHOST), "(" pipe ") | getline CHOST") - } else { - # Check pre gcc-3.4.x versions - CHOST = gensub("^.+lib/gcc-lib/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST) - - if (CHOST == TMP_CHOST || CHOST == "") { - # Check gcc-3.4.x or later - CHOST = gensub("^.+lib/gcc/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST); - - if (CHOST == TMP_CHOST || CHOST == "") - CHOST = "" - else - HAVE_GCC34 = 1 - } - } - close(pipe) - - if (CHOST == "") { - eerror("Could not get gcc's CHOST!") - exit 1 - } - - if (OLDCHOST != "") - if (OLDCHOST == CHOST) - OLDCHOST = "" - - GCCLIBPREFIX_OLD = "@GENTOO_PORTAGE_EPREFIX@/usr/lib/gcc-lib/" - GCCLIBPREFIX_NEW = "@GENTOO_PORTAGE_EPREFIX@/usr/lib/gcc/" - - if (HAVE_GCC34) - GCCLIBPREFIX = GCCLIBPREFIX_NEW - else - GCCLIBPREFIX = GCCLIBPREFIX_OLD - - GCCLIB = GCCLIBPREFIX CHOST - - if (OLDCHOST != "") { - OLDGCCLIB1 = GCCLIBPREFIX_OLD OLDCHOST - OLDGCCLIB2 = GCCLIBPREFIX_NEW OLDCHOST - } - - # Get current gcc's version - pipe = "gcc -dumpversion" - assert(((pipe) | getline NEWVER), "(" pipe ") | getline NEWVER)") - close(pipe) - - if (NEWVER == "") { - eerror("Could not get gcc's version!") - exit 1 - } - - # Nothing to do ? - # NB: Do not check for (OLDVER == NEWVER) anymore, as we might need to - # replace libstdc++.la .... - if ((OLDVER == "") && (OLDCHOST == "")) - exit 0 - - # - # Ok, now let's scan for the .la files and actually fix them up - # - for (x = 1; x <= LIBCOUNT; x++) { - # Do nothing if the target dir is gcc's internal library path - if (DIRLIST[x] ~ GCCLIBPREFIX_OLD || - DIRLIST[x] ~ GCCLIBPREFIX_NEW) - continue - - einfo(" [" x "/" LIBCOUNT "] Scanning " DIRLIST[x] " ...") - - pipe = "find " DIRLIST[x] "/ -name '*.la' 2>/dev/null" - while (((pipe) | getline la_files) > 0) { - - # Do nothing if the .la file is located in gcc's internal lib path - if (la_files ~ GCCLIBPREFIX_OLD || - la_files ~ GCCLIBPREFIX_NEW) - continue - - CHANGED = 0 - CHOST_CHANGED = 0 - - # See if we need to fix the .la file - while ((getline la_data < (la_files)) > 0) { - if (OLDCHOST != "") { - if ((gsub(OLDGCCLIB1 "[/[:space:]]+", - GCCLIB, la_data) > 0) || - (gsub(OLDGCCLIB2 "[/[:space:]]+", - GCCLIB, la_data) > 0)) { - CHANGED = 1 - CHOST_CHANGED = 1 - } - } - if (OLDVER != NEWVER) { - if ((gsub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "[/[:space:]]*", - GCCLIB "/" NEWVER, la_data) > 0) || - (gsub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "[/[:space:]]*", - GCCLIB "/" NEWVER, la_data) > 0)) - CHANGED = 1 - } - # We now check if we have libstdc++.la, as we remove the - # libtool linker scripts for gcc ... - # We do this last, as we only match the new paths - if (gsub(GCCLIB "/" NEWVER "/libstdc\\+\\+\\.la", - "-lstdc++", la_data) > 0) - CHANGED = 1 - } - close(la_files) - - # Do the actual changes in a second loop, as we can then - # verify that CHOST_CHANGED among things is correct ... - if (CHANGED) { - ewarnn(" FIXING: " la_files " ...[") - - # Clear the temp file (removing rather than '>foo' is better - # out of a security point of view?) - dosystem("rm -f " la_files ".new") - - while ((getline la_data < (la_files)) > 0) { - if (OLDCHOST != "") { - tmpstr = gensub(OLDGCCLIB1 "([/[:space:]]+)", - GCCLIB "\\1", "g", la_data) - tmpstr = gensub(OLDGCCLIB2 "([/[:space:]]+)", - GCCLIB "\\1", "g", tmpstr) - - if (la_data != tmpstr) { - printn("c") - la_data = tmpstr - } - - if (CHOST_CHANGED > 0) { - # We try to be careful about CHOST changes outside - # the gcc library path (meaning we cannot match it - # via /GCCLIBPREFIX CHOST/) ... - - # Catch: - # - # dependency_libs=' -L/usr/CHOST/{bin,lib}' - # - gsub("-L@GENTOO_PORTAGE_EPREFIX@/usr/" OLDCHOST "/", - "-L@GENTOO_PORTAGE_EPREFIX@/usr/" CHOST "/", la_data) - # Catch: - # - # dependency_libs=' -L/usr/lib/gcc-lib/CHOST/VER/../../../../CHOST/lib' - # - la_data = gensub("(" GCCLIB "/[^[:space:]]+)/" OLDCHOST "/", - "\\1/" CHOST "/", "g", la_data) - } - } - - if (OLDVER != NEWVER) { - # Catch: - # - # dependency_libs=' -L/usr/lib/gcc/CHOST/VER' - # - tmpstr = gensub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "([/[:space:]]+)", - GCCLIB "/" NEWVER "\\1", "g", la_data) - tmpstr = gensub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "([/[:space:]]+)", - GCCLIB "/" NEWVER "\\1", "g", tmpstr) - - if (la_data != tmpstr) { - # Catch: - # - # dependency_libs=' -L/usr/lib/gcc-lib/../../CHOST/lib' - # - # in cases where we have gcc34 - tmpstr = gensub(GCCLIBPREFIX_OLD "(../../" CHOST "/lib)", - GCCLIBPREFIX "\\1", "g", tmpstr) - tmpstr = gensub(GCCLIBPREFIX_NEW "(../../" CHOST "/lib)", - GCCLIBPREFIX "\\1", "g", tmpstr) - printn("v") - la_data = tmpstr - } - } - - # We now check if we have libstdc++.la, as we remove the - # libtool linker scripts for gcc and any referencese in any - # libtool linker scripts. - # We do this last, as we only match the new paths - tmpstr = gensub(GCCLIB "/" NEWVER "/libstdc\\+\\+\\.la", - "-lstdc++", "g", la_data); - if (la_data != tmpstr) { - printn("l") - la_data = tmpstr - } - - print la_data >> (la_files ".new") - } - - if (CHANGED) - print "]" - - close(la_files) - close(la_files ".new") - - assert(dosystem("mv -f " la_files ".new " la_files), - "dosystem(\"mv -f " la_files ".new " la_files "\")") - } - } - - close(pipe) - } -} - -# vim:ts=4 diff --git a/sys-devel/gcc/files/awk/scanforssp.awk b/sys-devel/gcc/files/awk/scanforssp.awk deleted file mode 100644 index e8a1fe8..0000000 --- a/sys-devel/gcc/files/awk/scanforssp.awk +++ /dev/null @@ -1,225 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# Author: Martin Schlemmer -# Contributor: Ned Ludd -# Contributor: Natanael Copa -# Contributor: Carter Smithhart -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/scanforssp.awk,v 1.7 2004/07/15 00:59:02 agriffis Exp $ - - -# Does not seem to be used in this script. -function printn(string) -{ - printf("%s", string) -} - -function einfo(string) -{ - printf(" %s %s%s", "\033[32;01m*\033[0m", string, "\n") -} - -# Does not seem to be used in this script. -function einfon(string) -{ - printf(" %s %s" , "\033[32;01m*\033[0m", string) -} - -function ewarn(string) -{ - printf(" %s %s%s" , "\033[33;01m*\033[0m", string, "\n") -} - -# Does not seem to be used in this script. -function ewarnn(string) -{ - printf("%s %s" , "\032[33;01m*\033[0m", string) -} - -function eerror(string) -{ - printf(" %s %s%s" , "\033[31;01m*\033[0m", string, "\n") -} - - # These are private, else wierd things - # might happen ... -function iself(scan_files, scan_file_pipe, scan_data) { - # Can we open() a file and read() 4 bytes? - scan_file_pipe = ("head -c 4 " scan_files " 2>/dev/null | tail -c 3") - scan_file_pipe | getline scan_data - close(scan_file_pipe) - return ((scan_data == "ELF") ? 0 : 1) -} - -BEGIN { - # Do we have etcat ? - pipe = ("which etcat 2>/dev/null") - if ((((pipe) | getline etcat_data) > 0) && (etcat_data != "")) - auto_etcat = 1 - else - auto_etcat = 0 - - # Fix bug that causes script to fail when pipe is not closed. Closes bug #36792 - close(pipe) - - DIRCOUNT = 0 - # Add the two default library paths - DIRLIST[1] = "/lib" - DIRLIST[2] = "/usr/lib" - - # Walk /etc/ld.so.conf line for line and get any library paths - pipe = ("cat /etc/ld.so.conf 2>/dev/null | sort") - while(((pipe) | getline ldsoconf_data) > 0) { - - if (ldsoconf_data !~ /^[[:space:]]*#/) { - - if (ldsoconf_data == "") continue - - # Remove any trailing comments - sub(/#.*$/, "", ldsoconf_data) - # Remove any trailing spaces - sub(/[[:space:]]+$/, "", ldsoconf_data) - - split(ldsoconf_data, nodes, /[:,[:space:]]/) - - # Now add the rest from ld.so.conf - for (x in nodes) { - - sub(/=.*/, "", nodes[x]) - sub(/\/$/, "", nodes[x]) - - if (nodes[x] == "") continue - - CHILD = 0 - - # Drop the directory if its a child directory of - # one that was already added ... - for (y in DIRLIST) { - - if (nodes[x] ~ "^" DIRLIST[y]) { - - CHILD = 1 - break - } - } - - if (CHILD) continue - - DIRLIST[++DIRCOUNT + 2] = nodes[x] - } - } - } - -# We have no guarantee that ld.so.conf have more library paths than -# the default, and its better scan files only in /lib and /usr/lib -# than nothing at all ... -# -# exit_val = close(pipe) -# if (exit_val != 0) -# print(exit_val " - " ERRNO) -# -# if (DIRCOUNT == 0) { -# eerror("Could not read from /etc/ld.so.conf!") -# exit 1 -# } - - # Correct DIRCOUNT, as we already added /lib and /usr/lib - DIRCOUNT += 2 - - # Add all the dirs in $PATH - split(ENVIRON["PATH"], TMPPATHLIST, ":") - count = asort(TMPPATHLIST, PATHLIST) - for (x = 1;x <= count;x++) { - - ADDED = 0 - - # Already added? - for (dnode in DIRLIST) - if (PATHLIST[x] == DIRLIST[dnode]) - ADDED = 1 - - if (ADDED) - continue - - # Valid? If so, add it ... - if (((PATHLIST[x] != "") && (PATHLIST[x] != "/") && (PATHLIST[x] != "."))) - DIRLIST[++DIRCOUNT] = PATHLIST[x] - - } - - GCCLIBPREFIX = "/usr/lib/gcc-lib/" - - for (x = 1;x <= DIRCOUNT;x++) { - - # Do nothing if the target dir is gcc's internal library path - if (DIRLIST[x] ~ GCCLIBPREFIX) continue - - einfo(" Scanning " ((x <= 9) ? "0"x : x)" of " DIRCOUNT " " DIRLIST[x] "...") - - pipe = ("find " DIRLIST[x] "/ -type f -perm -1 2>/dev/null") - while ( (pipe | getline scan_files) > 0) { - - #print scan_files - # Do nothing if the file is located in gcc's internal lib path ... - if (scan_files ~ GCCLIBPREFIX) continue - # Or if its hardend files ... - if (scan_files ~ "/lib/libgcc-3" ) continue - # Or not a elf image ... - if (iself(scan_files)) continue - - scan_file_pipe = ("readelf -s " scan_files " 2>&1") - while (((scan_file_pipe) | getline scan_data) > 0) { - bad = 0; - if (scan_data ~ /__guard@GCC/ || scan_data ~ /__guard@@GCC/) { - bad = 1; - print - - # 194: 00000000 32 OBJECT GLOBAL DEFAULT UND __guard@GCC_3.0 (3) - # 59: 00008ee0 32 OBJECT GLOBAL DEFAULT 22 __guard@@GCC_3.0 - split(scan_data, scan_data_nodes) - ewarn("Found " scan_data_nodes[8] " in " scan_files "!") - print - } - if (scan_data ~ /readelf: Error: Unable to seek/) { - bad = 1; - print - ewarn("Error executing readelf. Bad block? Filesystem error? in " scan_files) - print - } - - if (bad) { - - if (auto_etcat) { - - # Use etcat that comes with gentoolkit if auto_etcat is true. - etcat_pipe = ("etcat belongs " scan_files) - (etcat_pipe) | getline etcat_belongs - - while(((etcat_pipe) | getline etcat_belongs) > 0) - eerror(etcat_belongs != "" ? "Please emerge '>=" etcat_belongs "'": "") - close(etcat_pipe) - } else { - - eerror("You need to remerge package that above file belongs to!") - eerror("To find out what package it is, please emerge gentoolkit,") - eerror("and then run:") - print - print " # etcat belongs " scan_files - } - - print - - close(scan_file_pipe) - close(pipe) - exit(1) - } - } - close(scan_file_pipe) - } - close(pipe) - } - - exit(0) -} - - -# vim:ts=4 diff --git a/sys-devel/gcc/files/c89 b/sys-devel/gcc/files/c89 deleted file mode 100644 index cee0325..0000000 --- a/sys-devel/gcc/files/c89 +++ /dev/null @@ -1,20 +0,0 @@ -#! /bin/sh - -# Call the appropriate C compiler with options to accept ANSI/ISO C -# The following options are the same (as of gcc-2.95): -# -ansi -# -std=c89 -# -std=iso9899:1990 - -for i; do - case "$i" in - -ansi|-std=c89|-std=iso9899:1990) - ;; - -std=*) - echo >&2 "`basename $0` called with non ANSI/ISO C90 option $i" - exit 1 - ;; - esac -done - -exec gcc -std=c89 -pedantic -U_FORTIFY_SOURCE "$@" diff --git a/sys-devel/gcc/files/c99 b/sys-devel/gcc/files/c99 deleted file mode 100644 index c954209..0000000 --- a/sys-devel/gcc/files/c99 +++ /dev/null @@ -1,21 +0,0 @@ -#! /bin/sh - -# Call the appropriate C compiler with options to accept ANSI/ISO C -# The following options are the same (as of gcc-3.3): -# -std=c99 -# -std=c9x -# -std=iso9899:1999 -# -std=iso9899:199x - -for i; do - case "$i" in - -std=c9[9x]|-std=iso9899:199[9x]) - ;; - -ansi|-std=*) - echo >&2 "`basename $0` called with non ANSI/ISO C99 option $i" - exit 1 - ;; - esac -done - -exec gcc -std=c99 -pedantic -U_FORTIFY_SOURCE ${1+"$@"} diff --git a/sys-devel/gcc/files/fix_libtool_files.sh b/sys-devel/gcc/files/fix_libtool_files.sh deleted file mode 100644 index 4a89bae..0000000 --- a/sys-devel/gcc/files/fix_libtool_files.sh +++ /dev/null @@ -1,69 +0,0 @@ -#!@GENTOO_PORTAGE_EPREFIX@/bin/sh -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/fix_libtool_files.sh,v 1.17 2014/05/20 08:00:40 rhill Exp $ - -usage() { -cat << "USAGE_END" -Usage: fix_libtool_files.sh [--oldarch ] - - Where is the version number of the - previous gcc version. For example, if you updated to - gcc-3.2.1, and you had gcc-3.2 installed, run: - - # fix_libtool_files.sh 3.2 - - If you updated to gcc-3.2.3, and the old CHOST was i586-pc-linux-gnu - but you now have CHOST as i686-pc-linux-gnu, run: - - # fix_libtool_files.sh 3.2 --oldarch i586-pc-linux-gnu - - Note that if only the CHOST and not the version changed, you can run - it with the current version and the '--oldarch ' arguments, - and it will do the expected: - - # fix_libtool_files.sh `gcc -dumpversion` --oldarch i586-pc-linux-gnu - -USAGE_END - exit 1 -} - -case $2 in ---oldarch) [ $# -ne 3 ] && usage ;; -*) [ $# -ne 1 ] && usage ;; -esac - -ARGV1=$1 -ARGV2=$2 -ARGV3=$3 - -. "@GENTOO_PORTAGE_EPREFIX@"/etc/profile || exit 1 -. "@GENTOO_PORTAGE_EPREFIX@"/etc/init.d/functions.sh || exit 1 - -# Prefix: no! -#if [ ${EUID:-0} -ne 0 ] ; then -# eerror "${0##*/}: Must be root." -# exit 1 -#fi - -# make sure the files come out sane -umask 0022 - -OLDCHOST= -[ "${ARGV2}" = "--oldarch" ] && OLDCHOST=${ARGV3} - -AWKDIR="@GENTOO_PORTAGE_EPREFIX@/usr/share/gcc-data" - -if [ ! -r "${AWKDIR}/fixlafiles.awk" ] ; then - eerror "${0##*/}: ${AWKDIR}/fixlafiles.awk does not exist!" - exit 1 -fi - -OLDVER=${ARGV1} - -export OLDVER OLDCHOST - -einfo "Scanning libtool files for hardcoded gcc library paths..." -exec gawk -f "${AWKDIR}/fixlafiles.awk" - -# vim:ts=4 diff --git a/sys-devel/gcc/files/gcc-4.7-rap.patch b/sys-devel/gcc/files/gcc-4.7-rap.patch deleted file mode 100644 index 36d925a..0000000 --- a/sys-devel/gcc/files/gcc-4.7-rap.patch +++ /dev/null @@ -1,37 +0,0 @@ -Index: gcc-4.7.2/gcc/config/i386/linux64.h -=================================================================== ---- gcc-4.7.2.orig/gcc/config/i386/linux64.h -+++ gcc-4.7.2/gcc/config/i386/linux64.h -@@ -28,6 +28,6 @@ see the files COPYING3 and COPYING.RUNTI - #define GNU_USER_LINK_EMULATION64 "elf_x86_64" - #define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64" - --#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" --#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2" --#define GLIBC_DYNAMIC_LINKERX32 "/libx32/ld-linux-x32.so.2" -+#define GLIBC_DYNAMIC_LINKER32 "@GENTOO_PORTAGE_EPREFIX@/lib/ld-linux.so.2" -+#define GLIBC_DYNAMIC_LINKER64 "@GENTOO_PORTAGE_EPREFIX@/lib64/ld-linux-x86-64.so.2" -+#define GLIBC_DYNAMIC_LINKERX32 "@GENTOO_PORTAGE_EPREFIX@/libx32/ld-linux-x32.so.2" -Index: gcc-4.7.2/gcc/config/arm/linux-eabi.h -=================================================================== ---- gcc-4.7.2.orig/gcc/config/arm/linux-eabi.h -+++ gcc-4.7.2/gcc/config/arm/linux-eabi.h -@@ -69,8 +69,8 @@ - GLIBC_DYNAMIC_LINKER_DEFAULT and TARGET_DEFAULT_FLOAT_ABI. */ - - #undef GLIBC_DYNAMIC_LINKER --#define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT "/lib/ld-linux.so.3" --#define GLIBC_DYNAMIC_LINKER_HARD_FLOAT "/lib/ld-linux-armhf.so.3" -+#define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT "@GENTOO_PORTAGE_EPREFIX@/lib/ld-linux.so.3" -+#define GLIBC_DYNAMIC_LINKER_HARD_FLOAT "@GENTOO_PORTAGE_EPREFIX@/lib/ld-linux-armhf.so.3" - #define GLIBC_DYNAMIC_LINKER_DEFAULT GLIBC_DYNAMIC_LINKER_SOFT_FLOAT - - #define GLIBC_DYNAMIC_LINKER \ ---- a/gcc/config/i386/linux.h 2011-06-04 03:30:39.000000000 +0900 -+++ b/gcc/config/i386/linux.h.new 2013-07-16 19:55:09.610399047 +0900 -@@ -21,4 +21,4 @@ along with GCC; see the file COPYING3. - . */ - - #define GNU_USER_LINK_EMULATION "elf_i386" --#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" -+#define GLIBC_DYNAMIC_LINKER "@GENTOO_PORTAGE_EPREFIX@/lib/ld-linux.so.2" diff --git a/sys-devel/gcc/files/gcc-4.9-extra-specs.patch b/sys-devel/gcc/files/gcc-4.9-extra-specs.patch deleted file mode 100644 index 98f65d8..0000000 --- a/sys-devel/gcc/files/gcc-4.9-extra-specs.patch +++ /dev/null @@ -1,117 +0,0 @@ -diff --git a/gcc/Makefile.in b/gcc/Makefile.in -index 6ddc853..5d91333 100644 ---- a/gcc/Makefile.in -+++ b/gcc/Makefile.in -@@ -2059,7 +2059,8 @@ DRIVER_DEFINES = \ - @TARGET_SYSTEM_ROOT_DEFINE@ \ - $(VALGRIND_DRIVER_DEFINES) \ - `test "X$${SHLIB}" = "X" || test "@enable_shared@" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` \ -- -DCONFIGURE_SPECS="\"@CONFIGURE_SPECS@\"" -+ -DCONFIGURE_SPECS="\"@CONFIGURE_SPECS@\"" \ -+ -DCONFIGURE_EXTRA_SPECS="@CONFIGURE_EXTRA_SPECS@" - - gcc.o: gcc.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) intl.h multilib.h \ - Makefile $(lang_specs_files) specs.h prefix.h $(GCC_H) $(FLAGS_H) \ -diff --git a/gcc/configure b/gcc/configure -index 1e9be8e..8cab7d3 100755 ---- a/gcc/configure -+++ b/gcc/configure -@@ -757,6 +757,7 @@ SET_MAKE - REPORT_BUGS_TEXI - REPORT_BUGS_TO - PKGVERSION -+CONFIGURE_EXTRA_SPECS - CONFIGURE_SPECS - CROSS_SYSTEM_HEADER_DIR - TARGET_SYSTEM_ROOT_DEFINE -@@ -891,6 +892,7 @@ with_native_system_header_dir - with_build_sysroot - with_sysroot - with_specs -+with_extra_specs - with_pkgversion - with_bugurl - enable_languages -@@ -1662,6 +1664,11 @@ Optional Packages: - use sysroot as the system root during the build - --with-sysroot[=DIR] search for usr/lib, usr/include, et al, within DIR - --with-specs=SPECS add SPECS to driver command-line processing -+ --with-extra-specs=LIST A list of specs used to override the default. It -+ should be a suitable initializer for an array of -+ structures, each containing two strings, without the -+ outermost pair of surrounding braces. Do not use it -+ if you do not know what it is. - --with-pkgversion=PKG Use PKG in the version string in place of "GCC" - --with-bugurl=URL Direct users to URL to report a bug - --with-multilib-list select multilibs (AArch64, SH and x86-64 only) -@@ -7324,6 +7331,17 @@ fi - - - -+# Check whether --with-extra-specs was given. -+if test "${with_extra_specs+set}" = set; then : -+ withval=$with_extra_specs; CONFIGURE_EXTRA_SPECS=$withval -+else -+ CONFIGURE_EXTRA_SPECS= -+ -+fi -+ -+ -+ -+ - - # Check whether --with-pkgversion was given. - if test "${with_pkgversion+set}" = set; then : -@@ -17894,7 +17912,7 @@ else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF --#line 17897 "configure" -+#line 17915 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H -@@ -18000,7 +18018,7 @@ else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF --#line 18003 "configure" -+#line 18021 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H -diff --git a/gcc/configure.ac b/gcc/configure.ac -index 116ba13..590ca64 100644 ---- a/gcc/configure.ac -+++ b/gcc/configure.ac -@@ -813,6 +813,17 @@ AC_ARG_WITH(specs, - ) - AC_SUBST(CONFIGURE_SPECS) - -+AC_ARG_WITH(extra-specs, -+ [AS_HELP_STRING([--with-extra-specs=LIST], -+ [A list of specs used to override the default. It should be a suitable \ -+ initializer for an array of structures, each containing two strings, \ -+ without the outermost pair of surrounding braces. Do not use it if you \ -+ do not know what it is.])], -+ [CONFIGURE_EXTRA_SPECS=$withval], -+ [CONFIGURE_EXTRA_SPECS=] -+) -+AC_SUBST(CONFIGURE_EXTRA_SPECS) -+ - ACX_PKGVERSION([GCC]) - ACX_BUGURL([http://gcc.gnu.org/bugs.html]) - -diff --git a/gcc/gcc.c b/gcc/gcc.c -index 7c15cf3..778ae7d 100644 ---- a/gcc/gcc.c -+++ b/gcc/gcc.c -@@ -1318,7 +1318,7 @@ struct spec_list_1 - const char *const ptr; - }; - --static const struct spec_list_1 extra_specs_1[] = { EXTRA_SPECS }; -+static const struct spec_list_1 extra_specs_1[] = { EXTRA_SPECS, CONFIGURE_EXTRA_SPECS }; - static struct spec_list *extra_specs = (struct spec_list *) 0; - #endif - diff --git a/sys-devel/gcc/files/gcc-4.9.2-rap.patch b/sys-devel/gcc/files/gcc-4.9.2-rap.patch deleted file mode 100644 index 136a689..0000000 --- a/sys-devel/gcc/files/gcc-4.9.2-rap.patch +++ /dev/null @@ -1,535 +0,0 @@ -Index: gcc-4.9.2/gcc/config/i386/linux64.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/i386/linux64.h -+++ gcc-4.9.2/gcc/config/i386/linux64.h -@@ -27,6 +27,6 @@ see the files COPYING3 and COPYING.RUNTI - #define GNU_USER_LINK_EMULATION64 "elf_x86_64" - #define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64" - --#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" --#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2" --#define GLIBC_DYNAMIC_LINKERX32 "/libx32/ld-linux-x32.so.2" -+#define GLIBC_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.2" -+#define GLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "/lib64/ld-linux-x86-64.so.2" -+#define GLIBC_DYNAMIC_LINKERX32 DYNAMIC_LINKER_PREFIX "/libx32/ld-linux-x32.so.2" -Index: gcc-4.9.2/gcc/config/arm/linux-eabi.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/arm/linux-eabi.h -+++ gcc-4.9.2/gcc/config/arm/linux-eabi.h -@@ -68,8 +68,8 @@ - GLIBC_DYNAMIC_LINKER_DEFAULT and TARGET_DEFAULT_FLOAT_ABI. */ - - #undef GLIBC_DYNAMIC_LINKER --#define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT "/lib/ld-linux.so.3" --#define GLIBC_DYNAMIC_LINKER_HARD_FLOAT "/lib/ld-linux-armhf.so.3" -+#define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.3" -+#define GLIBC_DYNAMIC_LINKER_HARD_FLOAT DYNAMIC_LINKER_PREFIX "/lib/ld-linux-armhf.so.3" - #define GLIBC_DYNAMIC_LINKER_DEFAULT GLIBC_DYNAMIC_LINKER_SOFT_FLOAT - - #define GLIBC_DYNAMIC_LINKER \ -Index: gcc-4.9.2/gcc/config/i386/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/i386/linux.h -+++ gcc-4.9.2/gcc/config/i386/linux.h -@@ -20,4 +20,4 @@ along with GCC; see the file COPYING3. - . */ - - #define GNU_USER_LINK_EMULATION "elf_i386" --#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.2" -Index: gcc-4.9.2/gcc/config.in -=================================================================== ---- gcc-4.9.2.orig/gcc/config.in -+++ gcc-4.9.2/gcc/config.in -@@ -39,6 +39,12 @@ - #endif - - -+/* root directory of the dynamic linker */ -+#ifndef USED_FOR_TARGET -+#undef DYNAMIC_LINKER_PREFIX -+#endif -+ -+ - /* Define if you want assertions enabled. This is a cheap check. */ - #ifndef USED_FOR_TARGET - #undef ENABLE_ASSERT_CHECKING -Index: gcc-4.9.2/gcc/configure -=================================================================== ---- gcc-4.9.2.orig/gcc/configure -+++ gcc-4.9.2/gcc/configure -@@ -894,6 +894,7 @@ enable_objc_gc - with_dwarf2 - enable_shared - with_native_system_header_dir -+with_dynamic_linker_prefix - with_build_sysroot - with_sysroot - with_specs -@@ -1682,6 +1683,8 @@ Optional Packages: - --with-native-system-header-dir=dir - use dir as the directory to look for standard - system header files in. Defaults to /usr/include. -+ --with-dynamic-linker-prefix=dir -+ use dir as the root directory of the dynamic linker. - --with-build-sysroot=sysroot - use sysroot as the system root during the build - --with-sysroot[=DIR] search for usr/lib, usr/include, et al, within DIR -@@ -7154,6 +7157,22 @@ fi - - - -+# Check whether --with-dynamic-linker-prefix was given. -+if test "${with_dynamic_linker_prefix+set}" = set; then : -+ withval=$with_dynamic_linker_prefix; if test x"$withval" != x ; then -+ DYNAMIC_LINKER_PREFIX="$withval" -+ fi -+else -+ DYNAMIC_LINKER_PREFIX= -+fi -+ -+ -+cat >>confdefs.h <<_ACEOF -+#define DYNAMIC_LINKER_PREFIX "$DYNAMIC_LINKER_PREFIX" -+_ACEOF -+ -+ -+ - # Check whether --with-build-sysroot was given. - if test "${with_build_sysroot+set}" = set; then : - withval=$with_build_sysroot; if test x"$withval" != x ; then -@@ -17936,7 +17955,7 @@ else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF --#line 17939 "configure" -+#line 17958 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H -@@ -18042,7 +18061,7 @@ else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF --#line 18045 "configure" -+#line 18064 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H -Index: gcc-4.9.2/gcc/configure.ac -=================================================================== ---- gcc-4.9.2.orig/gcc/configure.ac -+++ gcc-4.9.2/gcc/configure.ac -@@ -751,6 +751,16 @@ AC_ARG_WITH([native-system-header-dir], - configured_native_system_header_dir="${withval}" - ], [configured_native_system_header_dir=]) - -+AC_ARG_WITH([dynamic-linker-prefix], -+ [AS_HELP_STRING([--with-dynamic-linker-prefix=dir], -+ [use dir as the root directory of the dynamic linker.])], -+ [if test x"$withval" != x ; then -+ DYNAMIC_LINKER_PREFIX="$withval" -+ fi], -+ [DYNAMIC_LINKER_PREFIX=]) -+AC_DEFINE_UNQUOTED(DYNAMIC_LINKER_PREFIX, "$DYNAMIC_LINKER_PREFIX", -+ [root directory of the dynamic linker]) -+ - AC_ARG_WITH(build-sysroot, - [AS_HELP_STRING([--with-build-sysroot=sysroot], - [use sysroot as the system root during the build])], -Index: gcc-4.9.2/gcc/config/aarch64/aarch64-linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/aarch64/aarch64-linux.h -+++ gcc-4.9.2/gcc/config/aarch64/aarch64-linux.h -@@ -21,7 +21,7 @@ - #ifndef GCC_AARCH64_LINUX_H - #define GCC_AARCH64_LINUX_H - --#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64%{mbig-endian:_be}.so.1" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux-aarch64%{mbig-endian:_be}.so.1" - - #define CPP_SPEC "%{pthread:-D_REENTRANT}" - -Index: gcc-4.9.2/gcc/config/alpha/linux-elf.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/alpha/linux-elf.h -+++ gcc-4.9.2/gcc/config/alpha/linux-elf.h -@@ -24,7 +24,7 @@ along with GCC; see the file COPYING3. - { "elf_dynamic_linker", ELF_DYNAMIC_LINKER }, - - #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" --#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" -+#define UCLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-uClibc.so.0" - #if DEFAULT_LIBC == LIBC_UCLIBC - #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" - #elif DEFAULT_LIBC == LIBC_GLIBC -Index: gcc-4.9.2/gcc/config/arm/linux-elf.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/arm/linux-elf.h -+++ gcc-4.9.2/gcc/config/arm/linux-elf.h -@@ -62,7 +62,7 @@ - - #define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc" - --#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.2" - - #define LINUX_TARGET_LINK_SPEC "%{h*} \ - %{static:-Bstatic} \ -Index: gcc-4.9.2/gcc/config/c6x/uclinux-elf.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/c6x/uclinux-elf.h -+++ gcc-4.9.2/gcc/config/c6x/uclinux-elf.h -@@ -36,7 +36,7 @@ - #define STARTFILE_SPEC \ - "%{!shared:crt1%O%s} crti%O%s %{shared|pie:crtbeginS.o%s;:crtbegin.o%s}" - --#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" -+#define UCLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-uClibc.so.0" - - #undef LINK_SPEC - #define LINK_SPEC ENDIAN_LINK_SPEC \ -Index: gcc-4.9.2/gcc/config/cris/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/cris/linux.h -+++ gcc-4.9.2/gcc/config/cris/linux.h -@@ -102,7 +102,7 @@ along with GCC; see the file COPYING3. - #undef CRIS_DEFAULT_CPU_VERSION - #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG - --#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" - - #undef CRIS_LINK_SUBTARGET_SPEC - #define CRIS_LINK_SUBTARGET_SPEC \ -Index: gcc-4.9.2/gcc/config/freebsd-spec.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/freebsd-spec.h -+++ gcc-4.9.2/gcc/config/freebsd-spec.h -@@ -128,9 +128,9 @@ is built with the --enable-threads confi - #endif - - #if FBSD_MAJOR < 6 --#define FBSD_DYNAMIC_LINKER "/usr/libexec/ld-elf.so.1" -+#define FBSD_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/usr/libexec/ld-elf.so.1" - #else --#define FBSD_DYNAMIC_LINKER "/libexec/ld-elf.so.1" -+#define FBSD_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/libexec/ld-elf.so.1" - #endif - - /* NOTE: The freebsd-spec.h header is included also for various -Index: gcc-4.9.2/gcc/config/frv/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/frv/linux.h -+++ gcc-4.9.2/gcc/config/frv/linux.h -@@ -34,7 +34,7 @@ - #define ENDFILE_SPEC \ - "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s" - --#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" - - #undef LINK_SPEC - #define LINK_SPEC "\ -Index: gcc-4.9.2/gcc/config/i386/gnu.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/i386/gnu.h -+++ gcc-4.9.2/gcc/config/i386/gnu.h -@@ -22,7 +22,7 @@ along with GCC. If not, see . */ - - #define GNU_USER_LINK_EMULATION "elf_i386_fbsd" --#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" -Index: gcc-4.9.2/gcc/config/ia64/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/ia64/linux.h -+++ gcc-4.9.2/gcc/config/ia64/linux.h -@@ -55,7 +55,7 @@ do { \ - /* Define this for shared library support because it isn't in the main - linux.h file. */ - --#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-ia64.so.2" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux-ia64.so.2" - - #undef LINK_SPEC - #define LINK_SPEC "\ -Index: gcc-4.9.2/gcc/config/knetbsd-gnu.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/knetbsd-gnu.h -+++ gcc-4.9.2/gcc/config/knetbsd-gnu.h -@@ -32,4 +32,4 @@ along with GCC; see the file COPYING3. - - - #undef GNU_USER_DYNAMIC_LINKER --#define GNU_USER_DYNAMIC_LINKER "/lib/ld.so.1" -+#define GNU_USER_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" -Index: gcc-4.9.2/gcc/config/kopensolaris-gnu.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/kopensolaris-gnu.h -+++ gcc-4.9.2/gcc/config/kopensolaris-gnu.h -@@ -31,4 +31,4 @@ along with GCC; see the file COPYING3. - while (0) - - #undef GNU_USER_DYNAMIC_LINKER --#define GNU_USER_DYNAMIC_LINKER "/lib/ld.so.1" -+#define GNU_USER_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" -Index: gcc-4.9.2/gcc/config/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/linux.h -+++ gcc-4.9.2/gcc/config/linux.h -@@ -73,11 +73,11 @@ see the files COPYING3 and COPYING.RUNTI - GLIBC_DYNAMIC_LINKER must be defined for each target using them, or - GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets - supporting both 32-bit and 64-bit compilation. */ --#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" -+#define UCLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-uClibc.so.0" - #define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0" - #define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0" - #define UCLIBC_DYNAMIC_LINKERX32 "/lib/ldx32-uClibc.so.0" --#define BIONIC_DYNAMIC_LINKER "/system/bin/linker" -+#define BIONIC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/system/bin/linker" - #define BIONIC_DYNAMIC_LINKER32 "/system/bin/linker" - #define BIONIC_DYNAMIC_LINKER64 "/system/bin/linker64" - #define BIONIC_DYNAMIC_LINKERX32 "/system/bin/linkerx32" -Index: gcc-4.9.2/gcc/config/m32r/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/m32r/linux.h -+++ gcc-4.9.2/gcc/config/m32r/linux.h -@@ -37,7 +37,7 @@ - When the -shared link option is used a final link is not being - done. */ - --#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.2" - - #undef LINK_SPEC - #if TARGET_LITTLE_ENDIAN -Index: gcc-4.9.2/gcc/config/m68k/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/m68k/linux.h -+++ gcc-4.9.2/gcc/config/m68k/linux.h -@@ -71,7 +71,7 @@ along with GCC; see the file COPYING3. - When the -shared link option is used a final link is not being - done. */ - --#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" - - #undef LINK_SPEC - #define LINK_SPEC "-m m68kelf %{shared} \ -Index: gcc-4.9.2/gcc/config/microblaze/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/microblaze/linux.h -+++ gcc-4.9.2/gcc/config/microblaze/linux.h -@@ -25,7 +25,7 @@ - #undef TLS_NEEDS_GOT - #define TLS_NEEDS_GOT 1 - --#define DYNAMIC_LINKER "/lib/ld.so.1" -+#define DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" - #undef SUBTARGET_EXTRA_SPECS - #define SUBTARGET_EXTRA_SPECS \ - { "dynamic_linker", DYNAMIC_LINKER } -Index: gcc-4.9.2/gcc/config/mips/linux64.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/mips/linux64.h -+++ gcc-4.9.2/gcc/config/mips/linux64.h -@@ -38,7 +38,7 @@ along with GCC; see the file COPYING3. - #define UCLIBC_DYNAMIC_LINKERN32 \ - "%{mnan=2008:/lib32/ld-uClibc-mipsn8.so.0;:/lib32/ld-uClibc.so.0}" - --#define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32" -+#define BIONIC_DYNAMIC_LINKERN32 DYNAMIC_LINKER_PREFIX "/system/bin/linker32" - #define GNU_USER_DYNAMIC_LINKERN32 \ - CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32, \ - BIONIC_DYNAMIC_LINKERN32) -Index: gcc-4.9.2/gcc/config/mn10300/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/mn10300/linux.h -+++ gcc-4.9.2/gcc/config/mn10300/linux.h -@@ -32,7 +32,7 @@ - #undef ASM_SPEC - #define ASM_SPEC "" - --#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" - - #undef LINK_SPEC - #define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \ -Index: gcc-4.9.2/gcc/config/nios2/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/nios2/linux.h -+++ gcc-4.9.2/gcc/config/nios2/linux.h -@@ -26,7 +26,7 @@ - } \ - while (0) - --#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-nios2.so.1" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux-nios2.so.1" - - #undef LINK_SPEC - #define LINK_SPEC LINK_SPEC_ENDIAN \ -Index: gcc-4.9.2/gcc/config/pa/pa-linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/pa/pa-linux.h -+++ gcc-4.9.2/gcc/config/pa/pa-linux.h -@@ -40,7 +40,7 @@ along with GCC; see the file COPYING3. - /* Define this for shared library support because it isn't in the main - linux.h file. */ - --#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" - - #undef LINK_SPEC - #define LINK_SPEC "\ -Index: gcc-4.9.2/gcc/config/rs6000/freebsd64.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/rs6000/freebsd64.h -+++ gcc-4.9.2/gcc/config/rs6000/freebsd64.h -@@ -154,8 +154,8 @@ extern int dot_symbols; - { "link_os_freebsd_spec32", LINK_OS_FREEBSD_SPEC32 }, \ - { "link_os_freebsd_spec64", LINK_OS_FREEBSD_SPEC64 }, - --#define FREEBSD_DYNAMIC_LINKER32 "/libexec/ld-elf32.so.1" --#define FREEBSD_DYNAMIC_LINKER64 "/libexec/ld-elf.so.1" -+#define FREEBSD_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/libexec/ld-elf32.so.1" -+#define FREEBSD_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "/libexec/ld-elf.so.1" - - #define LINK_OS_FREEBSD_SPEC_DEF32 "\ - %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \ -Index: gcc-4.9.2/gcc/config/rs6000/linux64.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/rs6000/linux64.h -+++ gcc-4.9.2/gcc/config/rs6000/linux64.h -@@ -367,14 +367,14 @@ extern int dot_symbols; - #undef LINK_OS_DEFAULT_SPEC - #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)" - --#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1" -+#define GLIBC_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" - #ifdef LINUX64_DEFAULT_ABI_ELFv2 --#define GLIBC_DYNAMIC_LINKER64 "%{mabi=elfv1:/lib64/ld64.so.1;:/lib64/ld64.so.2}" -+#define GLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "%{mabi=elfv1:/lib64/ld64.so.1;:/lib64/ld64.so.2}" - #else --#define GLIBC_DYNAMIC_LINKER64 "%{mabi=elfv2:/lib64/ld64.so.2;:/lib64/ld64.so.1}" -+#define GLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "%{mabi=elfv2:/lib64/ld64.so.2;:/lib64/ld64.so.1}" - #endif --#define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0" --#define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0" -+#define UCLIBC_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/lib/ld-uClibc.so.0" -+#define UCLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "/lib/ld64-uClibc.so.0" - #if DEFAULT_LIBC == LIBC_UCLIBC - #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" - #elif DEFAULT_LIBC == LIBC_GLIBC -Index: gcc-4.9.2/gcc/config/rs6000/sysv4.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/rs6000/sysv4.h -+++ gcc-4.9.2/gcc/config/rs6000/sysv4.h -@@ -761,8 +761,8 @@ ENDIAN_SELECT(" -mbig", " -mlittle", DEF - - #define LINK_START_LINUX_SPEC "" - --#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" --#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" -+#define UCLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-uClibc.so.0" - #if DEFAULT_LIBC == LIBC_UCLIBC - #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" - #elif !defined (DEFAULT_LIBC) || DEFAULT_LIBC == LIBC_GLIBC -Index: gcc-4.9.2/gcc/config/s390/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/s390/linux.h -+++ gcc-4.9.2/gcc/config/s390/linux.h -@@ -60,8 +60,8 @@ along with GCC; see the file COPYING3. - #define MULTILIB_DEFAULTS { "m31" } - #endif - --#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1" --#define GLIBC_DYNAMIC_LINKER64 "/lib/ld64.so.1" -+#define GLIBC_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" -+#define GLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "/lib/ld64.so.1" - - #undef LINK_SPEC - #define LINK_SPEC \ -Index: gcc-4.9.2/gcc/config/sh/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/sh/linux.h -+++ gcc-4.9.2/gcc/config/sh/linux.h -@@ -43,7 +43,7 @@ along with GCC; see the file COPYING3. - - #define TARGET_ASM_FILE_END file_end_indicate_exec_stack - --#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.2" - - #undef SUBTARGET_LINK_EMUL_SUFFIX - #define SUBTARGET_LINK_EMUL_SUFFIX "_linux" -Index: gcc-4.9.2/gcc/config/sparc/linux64.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/sparc/linux64.h -+++ gcc-4.9.2/gcc/config/sparc/linux64.h -@@ -92,8 +92,8 @@ along with GCC; see the file COPYING3. - When the -shared link option is used a final link is not being - done. */ - --#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" --#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux.so.2" -+#define GLIBC_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.2" -+#define GLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "/lib64/ld-linux.so.2" - - #ifdef SPARC_BI_ARCH - -Index: gcc-4.9.2/gcc/config/sparc/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/sparc/linux.h -+++ gcc-4.9.2/gcc/config/sparc/linux.h -@@ -83,7 +83,7 @@ extern const char *host_detect_local_cpu - When the -shared link option is used a final link is not being - done. */ - --#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.2" - - #undef LINK_SPEC - #define LINK_SPEC "-m elf32_sparc %{shared:-shared} \ -Index: gcc-4.9.2/gcc/config/xtensa/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/xtensa/linux.h -+++ gcc-4.9.2/gcc/config/xtensa/linux.h -@@ -44,7 +44,7 @@ along with GCC; see the file COPYING3. - %{mlongcalls:--longcalls} \ - %{mno-longcalls:--no-longcalls}" - --#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" - - #undef LINK_SPEC - #define LINK_SPEC \ diff --git a/sys-devel/gcc/files/gcc-configure-LANG.patch b/sys-devel/gcc/files/gcc-configure-LANG.patch deleted file mode 100644 index d1b1b03..0000000 --- a/sys-devel/gcc/files/gcc-configure-LANG.patch +++ /dev/null @@ -1,64 +0,0 @@ -The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in -option parsing, it may break. - -http://bugs.gentoo.org/103483 - ---- configure -+++ configure -@@ -54,6 +54,19 @@ - infodir='${prefix}/info' - mandir='${prefix}/man' - -+# NLS nuisances. -+for as_var in \ -+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ -+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ -+ LC_TELEPHONE LC_TIME -+do -+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then -+ eval $as_var=C; export $as_var -+ else -+ unset $as_var -+ fi -+done -+ - # Initialize some other variables. - subdirs= - MFLAGS= MAKEFLAGS= -@@ -452,16 +463,6 @@ - esac - done - --# NLS nuisances. --# Only set these to C if already set. These must not be set unconditionally --# because not all systems understand e.g. LANG=C (notably SCO). --# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! --# Non-C LC_CTYPE values break the ctype check. --if test "${LANG+set}" = set; then LANG=C; export LANG; fi --if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi --if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi --if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi -- - # confdefs.h avoids OS command line length limits that DEFS can exceed. - rm -rf conftest* confdefs.h - # AIX cpp loses on an empty file, so make sure it contains at least a newline. -@@ -1850,6 +1850,19 @@ - # Compiler output produced by configure, useful for debugging - # configure, is in ./config.log if it exists. - -+# NLS nuisances. -+for as_var in \ -+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ -+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ -+ LC_TELEPHONE LC_TIME -+do -+ if (set +x; test -z "`(eval \$as_var=C; export \$as_var) 2>&1`"); then -+ eval \$as_var=C; export \$as_var -+ else -+ unset \$as_var -+ fi -+done -+ - ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" - for ac_option - do diff --git a/sys-devel/gcc/files/gcc-configure-texinfo.patch b/sys-devel/gcc/files/gcc-configure-texinfo.patch deleted file mode 100644 index ddc098d..0000000 --- a/sys-devel/gcc/files/gcc-configure-texinfo.patch +++ /dev/null @@ -1,16 +0,0 @@ -Chances are quite good that the installed makeinfo is sufficient. -So ignore false positives where the makeinfo installed is so new -that it violates the cheesy version grep. - -http://bugs.gentoo.org/198182 - ---- configure -+++ configure -@@ -3573,6 +3573,6 @@ - : - else -- MAKEINFO="$MISSING makeinfo" -+ : - fi - ;; - diff --git a/sys-devel/gcc/files/gcc-spec-env-r1.patch b/sys-devel/gcc/files/gcc-spec-env-r1.patch deleted file mode 100644 index a589268..0000000 --- a/sys-devel/gcc/files/gcc-spec-env-r1.patch +++ /dev/null @@ -1,87 +0,0 @@ -2013-08-22 Magnus Granberg - - * gcc/gcc.c (main): Add support for external spec file via the GCC_SPECS env var - and move the process of the user specifed specs. - - This allows us to easily control pie/ssp defaults with gcc-config profiles. - Original patch by Rob Holland - Extended to support multiple entries separated by ':' by Kevin F. Quinn - Modified to use getenv instead of poisoned GET_ENVIRONMENT by Ryan Hill - Modified to process the GCC_SPECS env var befor DRIVER_SELF_SPECS by Magnus Granberg - ---- gcc-4.8-20130210/gcc/gcc.c 2013-02-05 16:55:31.000000000 +0100 -+++ gcc-4.8-20130210-work/gcc/gcc.c 2013-07-26 02:32:14.625089864 +0200 -@@ -6427,6 +6428,48 @@ main (int argc, char **argv) - do_option_spec (option_default_specs[i].name, - option_default_specs[i].spec); - -+#if !(defined (__MSDOS__) || defined (OS2) || defined (VMS) || defined (WIN32)) -+ /* Add specs listed in GCC_SPECS. Note; in the process of separating -+ * each spec listed, the string is overwritten at token boundaries -+ * (':') with '\0', an effect of strtok_r(). -+ */ -+ specs_file = getenv ("GCC_SPECS"); -+ if (specs_file && (strlen(specs_file) > 0)) -+ { -+ char *spec, *saveptr; -+ for (spec=strtok_r(specs_file,":",&saveptr); -+ spec!=NULL; -+ spec=strtok_r(NULL,":",&saveptr)) -+ { -+ struct user_specs *user = (struct user_specs *) -+ xmalloc (sizeof (struct user_specs)); -+ user->next = (struct user_specs *) 0; -+ user->filename = spec; -+ if (user_specs_tail) -+ user_specs_tail->next = user; -+ else -+ user_specs_head = user; -+ user_specs_tail = user; -+ } -+ } -+#endif -+ /* Process any user specified specs in the order given on the command -+ * line. */ -+ for (uptr = user_specs_head; uptr; uptr = uptr->next) -+ { -+ char *filename = find_a_file (&startfile_prefixes, uptr->filename, -+ R_OK, true); -+ read_specs (filename ? filename : uptr->filename, false, true); -+ } -+ /* Process any user self specs. */ -+ { -+ struct spec_list *sl; -+ for (sl = specs; sl; sl = sl->next) -+ if (sl->name_len == sizeof "self_spec" - 1 -+ && !strcmp (sl->name, "self_spec")) -+ do_self_spec (*sl->ptr_spec); -+ } -+ - /* Process DRIVER_SELF_SPECS, adding any new options to the end - of the command line. */ - -@@ -6535,24 +6578,6 @@ main (int argc, char **argv) - PREFIX_PRIORITY_LAST, 0, 1); - } - -- /* Process any user specified specs in the order given on the command -- line. */ -- for (uptr = user_specs_head; uptr; uptr = uptr->next) -- { -- char *filename = find_a_file (&startfile_prefixes, uptr->filename, -- R_OK, true); -- read_specs (filename ? filename : uptr->filename, false, true); -- } -- -- /* Process any user self specs. */ -- { -- struct spec_list *sl; -- for (sl = specs; sl; sl = sl->next) -- if (sl->name_len == sizeof "self_spec" - 1 -- && !strcmp (sl->name, "self_spec")) -- do_self_spec (*sl->ptr_spec); -- } -- - if (compare_debug) - { - enum save_temps save; diff --git a/sys-devel/gcc/files/gcc-spec-env.patch b/sys-devel/gcc/files/gcc-spec-env.patch deleted file mode 100644 index 57e7567..0000000 --- a/sys-devel/gcc/files/gcc-spec-env.patch +++ /dev/null @@ -1,42 +0,0 @@ - Add support for external spec file via the GCC_SPECS env var. This - allows us to easily control pie/ssp defaults with gcc-config profiles. - - Original patch by Rob Holland - Extended to support multiple entries separated by ':' by Kevin F. Quinn - Modified to use getenv instead of poisoned GET_ENVIRONMENT by Ryan Hill - ---- gcc-4/gcc/gcc.c -+++ gcc-4/gcc/gcc.c -@@ -6482,6 +6482,32 @@ - - /* Process any user specified specs in the order given on the command - line. */ -+#if !(defined (__MSDOS__) || defined (OS2) || defined (VMS) || defined (WIN32)) -+ /* Add specs listed in GCC_SPECS. Note; in the process of separating -+ * each spec listed, the string is overwritten at token boundaries -+ * (':') with '\0', an effect of strtok_r(). -+ */ -+ specs_file = getenv ("GCC_SPECS"); -+ if (specs_file && (strlen(specs_file) > 0)) -+ { -+ char *spec, *saveptr; -+ for (spec=strtok_r(specs_file,":",&saveptr); -+ spec!=NULL; -+ spec=strtok_r(NULL,":",&saveptr)) -+ { -+ struct user_specs *user = (struct user_specs *) -+ xmalloc (sizeof (struct user_specs)); -+ -+ user->next = (struct user_specs *) 0; -+ user->filename = spec; -+ if (user_specs_tail) -+ user_specs_tail->next = user; -+ else -+ user_specs_head = user; -+ user_specs_tail = user; -+ } -+ } -+#endif - for (uptr = user_specs_head; uptr; uptr = uptr->next) - { - char *filename = find_a_file (&startfile_prefixes, uptr->filename, diff --git a/sys-devel/gcc/files/interix-3.5-stdint.h b/sys-devel/gcc/files/interix-3.5-stdint.h deleted file mode 100644 index ee9289f..0000000 --- a/sys-devel/gcc/files/interix-3.5-stdint.h +++ /dev/null @@ -1,301 +0,0 @@ -/* - * Copyright (c) 2002 Caldera International, Inc. All Rights Reserved. - * - * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF - * Caldera International, Inc. - * - * The copyright notice above does not evidence any actual or intended - * publication of such source code. - */ - -#ifndef _STDINT_H -#define _STDINT_H - -#ifndef _SIZE_T_DEFINED -#if defined (lp64) || defined(_WIN64) -typedef unsigned __int64 size_t; -#else -typedef unsigned int size_t; -#endif -#define _SIZE_T_DEFINED -#define _SIZE_T -#endif/*_SIZE_T_DEFINED*/ - -#ifndef _SSIZE_T_DEFINED -#if (defined(lp64) || defined(_WIN64)) -typedef __int64 ssize_t; -#else -typedef int ssize_t; -#endif -#define _SSIZE_T_DEFINED -#endif/*_SIZE_T_DEFINED*/ - - -#ifndef _INT8_T -#define _INT8_T -typedef signed char int8_t; -#endif -#ifndef _INT_LEAST8_T -#define _INT_LEAST8_T -typedef char int_least8_t; -#endif -#ifndef _INT_FAST8_T -#define _INT_FAST8_T -typedef int int_fast8_t; -#endif - -#ifndef _UINT8_T -#define _UINT8_T -typedef unsigned char uint8_t; -#endif -#ifndef _UINT_LEAST8_T -#define _UINT_LEAST8_T -typedef unsigned char uint_least8_t; -#endif -#ifndef _UINT_FAST8_T -#define _UINT_FAST8_T -typedef unsigned int uint_fast8_t; -#endif - -#ifndef _INT16_T -#define _INT16_T -typedef short int16_t; -#endif -#ifndef _INT_LEAST16_T -#define _INT_LEAST16_T -typedef short int_least16_t; -#endif -#ifndef _INT_FAST16_T -#define _INT_FAST16_T -typedef int int_fast16_t; -#endif - -#ifndef _UINT16_T -#define _UINT16_T -typedef unsigned short uint16_t; -#endif -#ifndef _UINT_LEAST16_T -#define _UINT_LEAST16_T -typedef unsigned short uint_least16_t; -#endif -#ifndef _UINT_FAST16_T -#define _UINT_FAST16_T -typedef unsigned int uint_fast16_t; -#endif - -#ifndef _INT32_T -#define _INT32_T -typedef int int32_t; -#endif -#ifndef _INT_LEAST32_T -#define _INT_LEAST32_T -typedef int int_least32_t; -#endif -#ifndef _INT_FAST32_T -#define _INT_FAST32_T -typedef int int_fast32_t; -#endif - -#ifndef _UINT32_T -#define _UINT32_T -typedef unsigned int uint32_t; -#endif -#ifndef _UINT_LEAST32_T -#define _UINT_LEAST32_T -typedef unsigned int uint_least32_t; -#endif -#ifndef _UINT_FAST32_T -#define _UINT_FAST32_T -typedef unsigned int uint_fast32_t; -#endif - -#if defined(lp64) - -#ifndef _INT64_T -#define _INT64_T -typedef long int64_t; -#endif -#ifndef _INT_LEAST64_T -#define _INT_LEAST64_T -typedef long int_least64_t; -#endif -#ifndef _INT_FAST64_T -#define _INT_FAST64_T -typedef long int_fast64_t; -#endif - -#ifndef _UINT64_T -#define _UINT64_T -typedef unsigned long uint64_t; -#endif -#ifndef _UINT_LEAST64_T -#define _UINT_LEAST64_T -typedef unsigned long uint_least64_t; -#endif -#ifndef _UINT_FAST64_T -#define _UINT_FAST64_T -typedef unsigned long uint_fast64_t; -#endif - -#else /*!#model(lp64)*/ - -#ifndef _INT64_T -#define _INT64_T -typedef long long int64_t; -#endif -#ifndef _INT_LEAST64_T -#define _INT_LEAST64_T -typedef long long int_least64_t; -#endif -#ifndef _INT_FAST64_T -#define _INT_FAST64_T -typedef long long int_fast64_t; -#endif - -#ifndef _UINT64_T -#define _UINT64_T -typedef unsigned long long uint64_t; -#endif -#ifndef _UINT_LEAST64_T -#define _UINT_LEAST64_T -typedef unsigned long long uint_least64_t; -#endif -#ifndef _UINT_FAST64_T -#define _UINT_FAST64_T -typedef unsigned long long uint_fast64_t; -#endif - -#endif /*#model(lp64)*/ - -#ifndef _INTPTR_T -#define _INTPTR_T -typedef ssize_t intptr_t; -#endif - -#ifndef _UINTPTR_T -#define _UINTPTR_T -typedef size_t uintptr_t; -#endif - -#ifndef _INTMAX_T -#define _INTMAX_T -#ifdef __GNUC__ -typedef long long int intmax_t; -#else -typedef __int64 intmax_t; -#endif /*__GNUC__*/ -#endif - -#ifndef _UINTMAX_T -#define _UINTMAX_T -#ifdef __GNUC__ -typedef unsigned long long int uintmax_t; -#else -typedef unsigned __int64 uintmax_t; -#endif /*__GNUC__*/ -#endif - -#if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) - -#define INT8_MAX 0x7f -#define INT16_MAX 0x7fff -#define INT32_MAX 0x7fffffff -#define INT64_MAX 0x7fffffffffffffff - -#define INT8_MIN (-INT8_MAX - 1) -#define INT16_MIN (-INT16_MAX - 1) -#define INT32_MIN (-INT32_MAX - 1) -#define INT64_MIN (-INT64_MAX - 1) - -#define UINT8_MAX 0xff -#define UINT16_MAX 0xffff -#define UINT32_MAX 0xffffffff -#define UINT64_MAX 0xffffffffffffffff - -#define INT_LEAST8_MIN INT8_MIN -#define INT_LEAST16_MIN INT16_MIN -#define INT_LEAST32_MIN INT32_MIN -#define INT_LEAST64_MIN INT64_MIN - -#define INT_LEAST8_MAX INT8_MAX -#define INT_LEAST16_MAX INT16_MAX -#define INT_LEAST32_MAX INT32_MAX -#define INT_LEAST64_MAX INT64_MAX - -#define UINT_LEAST8_MAX UINT8_MAX -#define UINT_LEAST16_MAX UINT16_MAX -#define UINT_LEAST32_MAX UINT32_MAX -#define UINT_LEAST64_MAX UINT64_MAX - -#define INT_FAST8_MIN INT32_MIN -#define INT_FAST16_MIN INT32_MIN -#define INT_FAST32_MIN INT32_MIN -#define INT_FAST64_MIN INT64_MIN - -#define INT_FAST8_MAX INT32_MAX -#define INT_FAST16_MAX INT32_MAX -#define INT_FAST32_MAX INT32_MAX -#define INT_FAST64_MAX INT64_MAX - -#define UINT_FAST8_MAX UINT32_MAX -#define UINT_FAST16_MAX UINT32_MAX -#define UINT_FAST32_MAX UINT32_MAX -#define UINT_FAST64_MAX UINT64_MAX - -#if defined(lp64) - -#define INTPTR_MIN INT64_MIN -#define INTPTR_MAX INT64_MAX -#define UINTPTR_MAX UINT64_MAX - -#define PTRDIFF_MIN INT64_MIN -#define PTRDIFF_MAX INT64_MAX - -#define SIZE_MAX INT64_MAX - -#else /*!#model(lp64)*/ - -#define INTPTR_MIN INT32_MIN -#define INTPTR_MAX INT32_MAX -#define UINTPTR_MAX UINT32_MAX - -#define PTRDIFF_MIN INT32_MIN -#define PTRDIFF_MAX INT32_MAX - -#define SIZE_MAX INT32_MAX - -#endif /*#model(lp64)*/ - -#define INTMAX_MIN INT64_MIN -#define INTMAX_MAX INT64_MAX -#define UINTMAX_MAX UINT64_MAX - -#define SIG_ATOMIC_MIN INT32_MIN -#define SIG_ATOMIC_MAX INT32_MAX - -#define WCHAR_MIN INT32_MIN -#define WCHAR_MAX INT32_MAX - -#define WINT_MIN INT32_MIN -#define WINT_MAX INT32_MAX - -#endif /*!defined(__cplusplus) || defined(__STDC_LIMIT_MACROS)*/ - -#if !defined(__cplusplus) || defined(__STDC_CONSTANT_MACROS) - -#define INT8_C(v) v -#define INT16_C(v) v -#define INT32_C(v) v -#define INT64_C(v) v##LL - -#define UINT8_C(v) v##U -#define UINT16_C(v) v##U -#define UINT32_C(v) v##U -#define UINT64_C(v) v##ULL - -#define INTMAX_C(v) v##LL -#define UINTMAX_C(v) v##ULL - -#endif /*!defined(__cplusplus) || defined(__STDC_CONSTANT_MACROS)*/ - -#endif /*_STDINT_H*/ diff --git a/sys-devel/gcc/files/mkinfodir b/sys-devel/gcc/files/mkinfodir deleted file mode 100644 index a62840e..0000000 --- a/sys-devel/gcc/files/mkinfodir +++ /dev/null @@ -1,233 +0,0 @@ -#!/bin/bash -# $Id: mkinfodir,v 1.1 2001/09/01 07:56:19 drobbins Exp $ -# Generate the top-level Info node, given a directory of Info files -# and (optionally) a skeleton file. The output will be suitable for a -# top-level dir file. The skeleton file contains info topic names in the -# order they should appear in the output. There are three special -# lines that alter the behavior: a line consisting of just "--" causes -# the next line to be echoed verbatim to the output. A line -# containing just "%%" causes all the remaining filenames (wildcards -# allowed) in the rest of the file to be ignored. A line containing -# just "!!" exits the script when reached (unless preceded by a line -# containing just "--"). Once the script reaches the end of the -# skeleton file, it goes through the remaining files in the directory -# in order, putting their entries at the end. The script will use the -# ENTRY information in each info file if it exists. Otherwise it will -# make a minimal entry. - -# sent by Jeffrey Osier , who thinks it came from -# zoo@winternet.com (david d `zoo' zuhn) - -# modified 7 April 1995 by Joe Harrington to -# take special flags - -INFODIR=$1 -if [ $# = 2 ] ; then - SKELETON=$2 -else - SKELETON=/dev/null -fi - -skip= - -if [ $# -gt 2 ] ; then - echo usage: $0 info-directory [ skeleton-file ] 1>&2 - exit 1 -elif [ -z "${INFODIR}" ] ; then - INFODIR="%%DEFAULT_INFO_DIR%%" -else - true -fi - -if [ ! -d ${INFODIR} ] ; then - echo "$0: first argument must specify a directory" - exit 1 -fi - -### output the dir header -echo "-*- Text -*-" -echo "This file was generated automatically by $0." -echo "This version was generated on `date`" -echo "by `whoami`@`hostname` for `(cd ${INFODIR}; pwd)`" - -cat << moobler -\$Id: mkinfodir,v 1.1 2001/09/01 07:56:19 drobbins Exp $ -This is the file .../info/dir, which contains the topmost node of the -Info hierarchy. The first time you invoke Info you start off -looking at that node, which is (dir)Top. - -File: dir Node: Top This is the top of the INFO tree - - This (the Directory node) gives a menu of major topics. - Typing "q" exits, "?" lists all Info commands, "d" returns here, - "h" gives a primer for first-timers, - "mEmacs" visits the Emacs topic, etc. - - In Emacs, you can click mouse button 2 on a menu item or cross reference - to select it. - -* Menu: The list of major topics begins on the next line. - -moobler - -### go through the list of files in the skeleton. If an info file -### exists, grab the ENTRY information from it. If an entry exists -### use it, otherwise create a minimal dir entry. -### -### Then remove that file from the list of existing files. If any -### additional files remain (ones that don't have a skeleton entry), -### then generate entries for those in the same way, putting the info for -### those at the end.... - -infofiles=`(cd ${INFODIR}; /bin/ls | grep -v '\-[0-9]*\.gz$' | grep -v '\-[0-9]*$' | egrep -v '^dir$|^dir\.info$|^dir\.orig$')` - -# echoing gets clobbered by backquotes; we do it the hard way... -lines=`wc $SKELETON | awk '{print $1}'` -line=1 -while [ $lines -ge $line ] ; do - # Read one line from the file. This is so that we can echo lines with - # whitespace and quoted characters in them. - fileline=`awk NR==$line $SKELETON` - - # flag fancy features - if [ ! -z "$echoline" ] ; then # echo line - echo "$fileline" - fileline= - echoline= - elif [ "${fileline}" = "--" ] ; then # should we echo the next line? - echoline=1 - elif [ "${fileline}" = "%%" ] ; then # eliminate remaining files from dir? - skip=1 - elif [ "${fileline}" = "!!" ] ; then # quit now - exit 0 - fi - - # handle files if they exist - for file in $fileline"" ; do # expand wildcards ("" handles blank lines) - - fname= - - if [ -z "$echoline" -a ! -z "$file" ] ; then - - # Find the file to operate upon. Check both possible names. - infoname=`echo $file | sed 's/\.gz$//'` - infoname=`echo $infoname | sed 's/\.info$//'` - noext= - ext= - if [ -f ${INFODIR}/$infoname ] ; then - noext=$infoname - fi - if [ -f ${INFODIR}/${infoname}.info ] ; then - ext=${infoname}.info - fi - if [ -f ${INFODIR}/${infoname}.info.gz ] ; then - ext=${infoname}.info.gz - fi - # If it exists with both names take what was said in the file. - if [ ! -z "$ext" -a ! -z "$noext" ]; then - fname=$file - warn="### Warning: $ext and $noext both exist! Using ${file}. ###" - elif [ ! \( -z "$ext" -a -z "$noext" \) ]; then - # just take the name if it exists only once - fname=${noext}${ext} - fi - - # if we found something and aren't skipping, do the entry - if [ ! -z "$fname" ] ; then - if [ -z "$skip" ] ; then - - if [ ! -z "$warn" ] ; then # issue any warning - echo $warn - warn= - fi - if [ "${fname##*.}" = "gz" ] ; then - entry=`zcat ${INFODIR}/${fname} | sed -e '1,/START-INFO-DIR-ENTRY/d' \ - -e '/END-INFO-DIR-ENTRY/,$d' ` - else - entry=`sed -e '1,/START-INFO-DIR-ENTRY/d' \ - -e '/END-INFO-DIR-ENTRY/,$d' ${INFODIR}/$fname` - fi - if [ ! -z "${entry}" ] ; then - echo "${entry}" - else - echo "* ${infoname}: (${infoname})." - fi - fi - - # remove the name from the directory listing - infofiles=`echo "" ${infofiles} "" | sed -e "s/ ${fname} / /" -e "s/ / /g"` - - fi - - fi - - done - - line=`expr $line + 1` -done - -if [ -z "${infofiles}" ] ; then - exit 0 -elif [ $lines -gt 0 ]; then - echo -fi - -# Sort remaining files by INFO-DIR-SECTION. -prevsect= -filesectdata=`(cd ${INFODIR}; fgrep INFO-DIR-SECTION /dev/null ${infofiles} | \ - fgrep -v 'INFO-DIR-SECTION Miscellaneous' | \ - sort -t: -k2 -k1 | tr ' ' '_')` -for sectdata in ${filesectdata}; do - file=`echo ${sectdata} | cut -d: -f1` - section=`sed -n -e 's/^INFO-DIR-SECTION //p' ${INFODIR}/${file}` - infofiles=`echo "" ${infofiles} "" | sed -e "s/ ${file} / /" -e "s/ / /g"` - - if [ "${prevsect}" != "${section}" ] ; then - if [ ! -z "${prevsect}" ] ; then - echo "" - fi - echo "${section}" - prevsect="${section}" - fi - infoname=`echo $file | sed 's/\.gz$//'` - infoname=`echo $infoname | sed 's/\.info$//'` - if [ "${file##*.}" = "gz" ] ; then - entry=`zcat ${INFODIR}/$file | sed -e '1,/START-INFO-DIR-ENTRY/d' \ - -e '/END-INFO-DIR-ENTRY/,$d' ` - else - entry=`sed -e '1,/START-INFO-DIR-ENTRY/d' \ - -e '/END-INFO-DIR-ENTRY/,$d' ${INFODIR}/$file` - fi - if [ ! -z "${entry}" ] ; then - echo "${entry}" - elif [ ! -d "${INFODIR}/${file}" ] ; then - echo "* ${infoname}: (${infoname})." - fi -done - -# Process miscellaneous files. -for file in ${infofiles}; do - if [ ! -z "${prevsect}" ] ; then - echo "" - echo "Miscellaneous" - prevsect="" - fi - - infoname=`echo $file | sed 's/\.gz$//'` - infoname=`echo $infoname | sed 's/\.info$//'` - if [ "${file##*.}" = "gz" ] ; then - entry=`zcat ${INFODIR}/${file} | sed -e '1,/START-INFO-DIR-ENTRY/d' \ - -e '/END-INFO-DIR-ENTRY/,$d'` - else - entry=`sed -e '1,/START-INFO-DIR-ENTRY/d' \ - -e '/END-INFO-DIR-ENTRY/,$d' ${INFODIR}/$file` - fi - - - if [ ! -z "${entry}" ] ; then - echo "${entry}" - elif [ ! -d "${INFODIR}/${file}" ] ; then - echo "* ${infoname}: (${infoname})." - fi -done - diff --git a/sys-devel/gcc/files/no-libs-for-startfile.patch b/sys-devel/gcc/files/no-libs-for-startfile.patch deleted file mode 100644 index cebf26a..0000000 --- a/sys-devel/gcc/files/no-libs-for-startfile.patch +++ /dev/null @@ -1,15 +0,0 @@ -* do not generate multilib paths, since adding those dirs, e.g. - /usr/lib/amd64 or /usr/lib64, screws up Prefix badly (in %D) - see also: http://article.gmane.org/gmane.linux.gentoo.alt/3575 - ---- gcc/gcc.c -+++ gcc/gcc.c -@@ -4740,7 +4740,7 @@ - #endif - info.separate_options = false; - -- for_each_path (&startfile_prefixes, true, 0, spec_path, &info); -+ for_each_path (&startfile_prefixes, false, 0, spec_path, &info); - } - break; - diff --git a/sys-devel/gcc/files/pro-police-docs.patch b/sys-devel/gcc/files/pro-police-docs.patch deleted file mode 100644 index 091ea44..0000000 --- a/sys-devel/gcc/files/pro-police-docs.patch +++ /dev/null @@ -1,74 +0,0 @@ -Index: gcc/doc/invoke.texi -=================================================================== -RCS file: /cvsroot/gcc/gcc/gcc/doc/invoke.texi,v -retrieving revision 1.364 -diff -c -3 -p -r1.364 invoke.texi -*** gcc/doc/invoke.texi 21 Nov 2003 11:42:58 -0000 1.364 ---- gcc/doc/invoke.texi 22 Nov 2003 08:12:35 -0000 -*************** in the following sections. -*** 228,234 **** - -Wno-multichar -Wnonnull -Wpacked -Wpadded @gol - -Wparentheses -Wpointer-arith -Wredundant-decls @gol - -Wreturn-type -Wsequence-point -Wshadow @gol -! -Wsign-compare -Wstrict-aliasing @gol - -Wswitch -Wswitch-default -Wswitch-enum @gol - -Wsystem-headers -Wtrigraphs -Wundef -Wuninitialized @gol - -Wunknown-pragmas -Wunreachable-code @gol ---- 228,234 ---- - -Wno-multichar -Wnonnull -Wpacked -Wpadded @gol - -Wparentheses -Wpointer-arith -Wredundant-decls @gol - -Wreturn-type -Wsequence-point -Wshadow @gol -! -Wsign-compare -Wstack-protector -Wstrict-aliasing @gol - -Wswitch -Wswitch-default -Wswitch-enum @gol - -Wsystem-headers -Wtrigraphs -Wundef -Wuninitialized @gol - -Wunknown-pragmas -Wunreachable-code @gol -*************** in the following sections. -*** 681,686 **** ---- 681,687 ---- - -fshort-double -fshort-wchar @gol - -fverbose-asm -fpack-struct -fstack-check @gol - -fstack-limit-register=@var{reg} -fstack-limit-symbol=@var{sym} @gol -+ -fstack-protector -fstack-protector-all @gol - -fargument-alias -fargument-noalias @gol - -fargument-noalias-global -fleading-underscore @gol - -ftls-model=@var{model} @gol -*************** effectively. Often, the problem is that -*** 3014,3019 **** ---- 3015,3024 ---- - complex; GCC will refuse to optimize programs when the optimization - itself is likely to take inordinate amounts of time. - -+ @item -Wstack-protector -+ @opindex Wstack-protector -+ Warn when not issuing stack smashing protection for some reason -+ - @item -Werror - @opindex Werror - Make all warnings into errors. -*************** and grows downwards, you can use the fla -*** 11474,11479 **** ---- 11479,11502 ---- - @option{-fstack-limit-symbol=__stack_limit} and - @option{-Wl,--defsym,__stack_limit=0x7ffe0000} to enforce a stack limit - of 128KB@. Note that this may only work with the GNU linker. -+ -+ @item -fstack-protector -+ @item -fstack-protector-all -+ @opindex fstack-protector -+ @opindex fstack-protector-all -+ @opindex fno-stack-protector -+ Generate code to protect an application from a stack smashing -+ attack. The features are (1) the insertion of random value next to the -+ frame pointer to detect the integrity of the stack, (2) the reordering -+ of local variables to place buffers after pointers to avoid the -+ corruption of pointers that could be used to further corrupt arbitrary -+ memory locations, (3) the copying of pointers in function arguments to -+ an area preceding local variable buffers to prevent the corruption of -+ pointers that could be used to further corrupt arbitrary memory -+ locations, and the (4) omission of instrumentation code from some -+ functions to decrease the performance overhead. If the integrity -+ would be broken, the program is aborted. If no-stack-protector is -+ specified, instrumentation codes are generated at every functions. - - @cindex aliasing of parameters - @cindex parameters, aliased diff --git a/sys-devel/gcc/files/scan_libgcc_linked_ssp.sh b/sys-devel/gcc/files/scan_libgcc_linked_ssp.sh deleted file mode 100644 index 35119e5..0000000 --- a/sys-devel/gcc/files/scan_libgcc_linked_ssp.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# Author: Martin Schlemmer -# $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 $ - -usage() { -cat << "USAGE_END" -Usage: can_libgcc_linked_ssp.sh - - This scans the system for files that contains the __guard symbol, that was - linked against libgcc. - - -USAGE_END - - exit 1 -} - -if [ "$#" -ne 0 ] -then - usage -fi - -source /etc/profile || exit 1 -source /etc/init.d/functions.sh || exit 1 - -AWKDIR="$(portageq envvar PORTDIR)/sys-devel/gcc/files/awk" - -if [ ! -r "${AWKDIR}/scanforssp.awk" ] -then - eerror "${0##*/}: ${AWKDIR}/scanforssp.awk does not exist!" - exit 1 -fi - -einfo "Scanning system for __guard@GCC symbols..." -/bin/gawk -f "${AWKDIR}/scanforssp.awk" - -exit $? - - -# vim:ts=4 diff --git a/sys-devel/gcc/gcc-4.7.3.ebuild b/sys-devel/gcc/gcc-4.7.3.ebuild deleted file mode 100644 index de584db..0000000 --- a/sys-devel/gcc/gcc-4.7.3.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.7.3.ebuild,v 1.2 2013/05/20 10:56:06 aballier Exp $ - -PATCH_VER="1.0" -UCLIBC_VER="1.0" - -# Hardened gcc 4 stuff -PIE_VER="0.5.5" -SPECS_VER="0.2.0" -SPECS_GCC_VER="4.4.3" -# arch/libc configurations known to be stable with {PIE,SSP}-by-default -PIE_GLIBC_STABLE="x86 amd64 ppc ppc64 arm ia64" -PIE_UCLIBC_STABLE="x86 arm amd64 ppc ppc64" -SSP_STABLE="amd64 x86 ppc ppc64 arm" -# uclibc need tls and nptl support for SSP support -# uclibc need to be >= 0.9.33 -SSP_UCLIBC_STABLE="x86 amd64 ppc ppc64 arm" -#end Hardened stuff - -inherit toolchain - -DESCRIPTION="The GNU Compiler Collection" - -LICENSE="GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.3+" - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 -amd64-fbsd -x86-fbsd" - -RDEPEND="" -DEPEND="${RDEPEND} - elibc_glibc? ( >=sys-libs/glibc-2.8 ) - >=${CATEGORY}/binutils-2.18" - -if [[ ${CATEGORY} != cross-* ]] ; then - PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )" -fi - -src_unpack() { - if has_version '=glibc-2.12 #362315" - EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch" - fi - - # drop the x32 stuff once 4.7 goes stable - if [[ ${CTARGET} != x86_64* ]] || ! has x32 $(get_all_abis TARGET) ; then - EPATCH_EXCLUDE+=" 90_all_gcc-4.7-x32.patch" - fi - - toolchain_src_unpack - - if use rap; then - epatch "${FILESDIR}"/gcc-4.7-rap.patch - prefix_gcc_dynamic_loader - fi - - use vanilla && return 0 - - [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch -} - -pkg_setup() { - toolchain_pkg_setup - - if use lto ; then - ewarn - ewarn "LTO support is still experimental and unstable." - ewarn "Any bugs resulting from the use of LTO will not be fixed." - ewarn - fi -} diff --git a/sys-devel/gcc/gcc-4.9.2.ebuild b/sys-devel/gcc/gcc-4.9.2.ebuild deleted file mode 100644 index 89592c6..0000000 --- a/sys-devel/gcc/gcc-4.9.2.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.9.2.ebuild,v 1.1 2014/11/01 07:56:35 vapier Exp $ - -EAPI="4" - -PATCH_VER="1.0" -UCLIBC_VER="1.0" - -# Hardened gcc 4 stuff -PIE_VER="0.6.1" -SPECS_VER="0.2.0" -SPECS_GCC_VER="4.4.3" -# arch/libc configurations known to be stable with {PIE,SSP}-by-default -PIE_GLIBC_STABLE="x86 amd64 mips ppc ppc64 arm ia64" -PIE_UCLIBC_STABLE="x86 arm amd64 mips ppc ppc64" -SSP_STABLE="amd64 x86 mips ppc ppc64 arm" -# uclibc need tls and nptl support for SSP support -# uclibc need to be >= 0.9.33 -SSP_UCLIBC_STABLE="x86 amd64 mips ppc ppc64 arm" -#end Hardened stuff - -inherit eutils toolchain - -KEYWORDS="~x86 ~amd64 ~arm" - -RDEPEND="" -DEPEND="${RDEPEND} - elibc_glibc? ( >=sys-libs/glibc-2.8 ) - >=${CATEGORY}/binutils-2.20" - -if [[ ${CATEGORY} != cross-* ]] ; then - PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )" -fi - -src_prepare() { - if has_version '=glibc-2.12 #362315" - EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch" - fi - - if use rap; then - epatch "${FILESDIR}"/${P}-rap.patch - prefix_gcc_dynamic_loader - fi - EXTRA_ECONF="${EXTRA_ECONF} $(use_with rap dynamic-linker-prefix ${EPREFIX})" - - toolchain_src_prepare - - use vanilla && return 0 - #Use -r1 for newer piepatchet that use DRIVER_SELF_SPECS for the hardened specs. - [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env-r1.patch -} diff --git a/sys-devel/gcc/gcc-5.3.0.ebuild b/sys-devel/gcc/gcc-5.3.0.ebuild deleted file mode 100644 index 48a7567..0000000 --- a/sys-devel/gcc/gcc-5.3.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="4" - -PATCH_VER="1.1" -UCLIBC_VER="1.0" - -# Hardened gcc 4 stuff -PIE_VER="0.6.5" -SPECS_VER="0.2.0" -SPECS_GCC_VER="4.4.3" -# arch/libc configurations known to be stable with {PIE,SSP}-by-default -PIE_GLIBC_STABLE="x86 amd64 mips ppc ppc64 arm ia64" -PIE_UCLIBC_STABLE="x86 arm amd64 mips ppc ppc64" -SSP_STABLE="amd64 x86 mips ppc ppc64 arm" -# uclibc need tls and nptl support for SSP support -# uclibc need to be >= 0.9.33 -SSP_UCLIBC_STABLE="x86 amd64 mips ppc ppc64 arm" -#end Hardened stuff - -inherit toolchain - -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" - -RDEPEND="" -DEPEND="${RDEPEND} - elibc_glibc? ( >=sys-libs/glibc-2.8 ) - !multislot? ( !<${CATEGORY}/gcc-4.9 ) - >=${CATEGORY}/binutils-2.20" - -if [[ ${CATEGORY} != cross-* ]] ; then - PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )" -fi - -src_prepare() { - if has_version '=glibc-2.12 #362315" - EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch" - fi - is_crosscompile && EPATCH_EXCLUDE+=" 05_all_gcc-spec-env.patch" - - toolchain_src_prepare -} diff --git a/sys-devel/gcc/metadata.xml b/sys-devel/gcc/metadata.xml deleted file mode 100644 index 3fe3ae1..0000000 --- a/sys-devel/gcc/metadata.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - toolchain - - Enable support for the D programming language - Enable fixed-point arithmetic support for MIPS targets - in gcc (Warning: significantly increases compile time!) - Build the GCC Go language frontend. - Add support for the framework for loop - optimizations based on a polyhedral intermediate representation - Useful only when building GCJ, this enables Abstract Window Toolkit - (AWT) peer support on top of GTK+ - Enable building a compiler capable of building a kernel - for SGI Indigo2 Impact R10000 (IP28) - Enable building a compiler capable of building an - experimental kernel for SGI O2 w/ R1x000 CPUs (IP32) - Build SSP support into a dedicated library rather than use the - code in the C library (DO NOT ENABLE THIS IF YOU DON'T KNOW WHAT IT DOES) - Add support for link-time optimizations (unsupported, use - at your own risk). - Add support for mudflap, a pointer use checking library - Allow for SLOTs to include minor version (3.3.4 - instead of just 3.3) - Enable n32 ABI support on mips - Enable n64 ABI support on mips - Disable PIE support (NOT FOR GENERAL USE) - Disable SSP support (NOT FOR GENERAL USE) - Build support for the Objective C code language - Build support for the Objective C++ language - Build support for the Objective C code language Garbage - Collector - - From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AC412138262 for ; Mon, 23 May 2016 16:30:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47C8321C028; Mon, 23 May 2016 16:30:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 97E0821C028 for ; Mon, 23 May 2016 16:30:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D2C36340836 for ; Mon, 23 May 2016 16:30:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CA6E4328 for ; Mon, 23 May 2016 16:29:56 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1464020961.8786eb0d8eaf9eb1cde16ec775b9a779dca642e4.heroxbd@gentoo> Subject: [gentoo-commits] dev/heroxbd:master commit in: sys-devel/gcc/files/, sys-devel/gcc/files/awk/, sys-devel/gcc/ X-VCS-Repository: dev/heroxbd X-VCS-Files: sys-devel/gcc/Manifest sys-devel/gcc/files/awk/fixlafiles.awk sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la sys-devel/gcc/files/awk/scanforssp.awk sys-devel/gcc/files/c89 sys-devel/gcc/files/c99 sys-devel/gcc/files/fix_libtool_files.sh sys-devel/gcc/files/gcc-4.7-rap.patch sys-devel/gcc/files/gcc-4.9-extra-specs.patch sys-devel/gcc/files/gcc-4.9.2-rap.patch sys-devel/gcc/files/gcc-configure-LANG.patch sys-devel/gcc/files/gcc-configure-texinfo.patch sys-devel/gcc/files/gcc-spec-env-r1.patch sys-devel/gcc/files/gcc-spec-env.patch sys-devel/gcc/files/interix-3.5-stdint.h sys-devel/gcc/files/mkinfodir sys-devel/gcc/files/no-libs-for-startfile.patch sys-devel/gcc/files/pro-police-docs.patch sys-devel/gcc/files/scan_libgcc_linked_ssp.sh sys-devel/gcc/gcc-4.7.3.ebuild sys-devel/gcc/gcc-4.9.2.ebuild sys-devel/gcc/gcc-5.3.0.ebuild sys-devel/gcc/metadata.xml X-VCS-Directories: sys-devel/gcc/ sys-devel/gcc/files/awk/ sys-devel/gcc/files/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: 8786eb0d8eaf9eb1cde16ec775b9a779dca642e4 X-VCS-Branch: master Date: Mon, 23 May 2016 16:29:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b7abd479-8117-421f-b740-120ab788598b X-Archives-Hash: 7f77cdffc7d34c06c516225c2484816a Message-ID: <20160523162956.ESxd3nhauuRSEe_nH7q5kzML_ZHmKUIYCeH8iJoHSx0@z> commit: 8786eb0d8eaf9eb1cde16ec775b9a779dca642e4 Author: Benda Xu gentoo org> AuthorDate: Mon May 23 16:29:21 2016 +0000 Commit: Benda XU gentoo org> CommitDate: Mon May 23 16:29:21 2016 +0000 URL: https://gitweb.gentoo.org/dev/heroxbd.git/commit/?id=8786eb0d sys-devel/gcc: not needed, implemented by profile tricks. sys-devel/gcc/Manifest | 60 --- sys-devel/gcc/files/awk/fixlafiles.awk | 314 ------------- sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la | 335 -------------- sys-devel/gcc/files/awk/scanforssp.awk | 225 ---------- sys-devel/gcc/files/c89 | 20 - sys-devel/gcc/files/c99 | 21 - sys-devel/gcc/files/fix_libtool_files.sh | 69 --- sys-devel/gcc/files/gcc-4.7-rap.patch | 37 -- sys-devel/gcc/files/gcc-4.9-extra-specs.patch | 117 ----- sys-devel/gcc/files/gcc-4.9.2-rap.patch | 535 ----------------------- sys-devel/gcc/files/gcc-configure-LANG.patch | 64 --- sys-devel/gcc/files/gcc-configure-texinfo.patch | 16 - sys-devel/gcc/files/gcc-spec-env-r1.patch | 87 ---- sys-devel/gcc/files/gcc-spec-env.patch | 42 -- sys-devel/gcc/files/interix-3.5-stdint.h | 301 ------------- sys-devel/gcc/files/mkinfodir | 233 ---------- sys-devel/gcc/files/no-libs-for-startfile.patch | 15 - sys-devel/gcc/files/pro-police-docs.patch | 74 ---- sys-devel/gcc/files/scan_libgcc_linked_ssp.sh | 42 -- sys-devel/gcc/gcc-4.7.3.ebuild | 71 --- sys-devel/gcc/gcc-4.9.2.ebuild | 54 --- sys-devel/gcc/gcc-5.3.0.ebuild | 46 -- sys-devel/gcc/metadata.xml | 34 -- 23 files changed, 2812 deletions(-) diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest deleted file mode 100644 index e1153b7..0000000 --- a/sys-devel/gcc/Manifest +++ /dev/null @@ -1,60 +0,0 @@ -AUX 4.7.1/solaris-searchpath.patch 1232 SHA256 43cdf7f7c8f491d4800fa9b0fb03fcc9f5e5a2d690c23302727f5c8006bac34c SHA512 15967513a71706a27eb8c96bd7f53f347c7e97be834601be494b85aec3ed92d5c48d4611dc6478d3d58a63284c357ee91b4d8c18fe8fbd8727723d3a2960abdd WHIRLPOOL 488e0046afb68534817cc2f89de6ded52875991144e9eb12a02f0e3310e8b644e0be5ff9f501fefee4ce2f43ea135ce195c59711c8664e361b3733a062e69efb -AUX awk/fixlafiles.awk 7999 SHA256 637433406921f5f6fba2e19c4f89064c57e830657a1dc9a9de79709722355d80 SHA512 df7c3be2c005c23b8ff56fd44775fd8b8b0b8cb0a900bb5b78e44f1ad10f12676f01195d3bec1c25e9dc21f9369ac212be899e1c7bd3e912383fcb86d960ca1b WHIRLPOOL e825985ee96c46f5f64f1ee541c2c3865df385f07615279e91dedf5b95cebce9a454322730971bff619548fe8ba30433b6e550c4b109026c90112fef091991b2 -AUX awk/fixlafiles.awk-no_gcc_la 8812 SHA256 db7e27bc744ed56c37062a56f8d2173662b5900ad55beea1dae6f4a1c4f31503 SHA512 b6335cc84e39a2bb276dacca6eff7e7b20a67e406781fe79b955629455af59bd376e042fb6e2e751415b422967c44327d68f731abdf9d5c06c6f718a3dd1150d WHIRLPOOL 9d4b4a661923e379fc9ee1b37b3710b9751677b839b668a8c229116fd15644d4e066a27094668e82856a24deba058a9d229014343ebe271bdfbb50c6c799849d -AUX awk/scanforssp.awk 5830 SHA256 236a2a7eea1ba540ca3be82b0fe2cdefd9ac76b061440918ffe52664edbbb98a SHA512 27e5c1575714cfcd2e707f316ff11f57852faea661dc84c4b3614add2a88877a6ddefcc62b850c54964ccb296864a8f1023de08986f2948fae5c2dbe52805792 WHIRLPOOL 60a9b298f3d8b71ab8efb8de380116d9ce8f88384d38b7ebc2b2a2442a3a7b0f16175a3e0b47b6576688a584615eeb225de50766becea057151d41a3bc5f8af2 -AUX c89 412 SHA256 29ad5dd697135c2892067e780447894dc1cd071708157e46d21773ab99c5022c SHA512 71d33a147339d8d70a62aa22a95d3e70e445d8435d6ac05893f7da19ae851b89bea851f6ce213fbd22470f13572ae13b83cf02f0621333f07d7b0c68a79b7924 WHIRLPOOL d9707a2be8da7a709b54fcb1154cfa05e479f8c3bdd6173822ee1f1bc265b2a0d04741c0685bfb0db68e1e4297fb032d2f8ff94da88014575d947054474d8295 -AUX c99 446 SHA256 057b348cf5be9b4fb9db99a4549f6433c89d21e5f91dc5e46b0b4dc6b70432f5 SHA512 bf3b0eb1125d5e89b433954fcbf805cd86dec5a6eeb23df685ebf3ff83a610573f2ffcec65d893244c845936a73918387cba026710c65c854b2c94a78b007989 WHIRLPOOL b888038b96615c7a0363555b407a3de2c1f17e34428fa16dfbf56fcf68875d6bcdecbc61b545d7f71842ff1909a3ffeff17165fa7f56b48f95adae22f5f8bff1 -AUX fix_libtool_files.sh 1796 SHA256 8e8447697a2602651be788611fd04d09fee252243397dacc462b7e1fcfbf7c5b SHA512 b2207b17a011cdbe1dbec015619b8cae3bd80d748025c0cace99dd5ecba346568a2ac58c4b05c2eca7395c312d34721557686911e2cbaf57bf5d4cf6aef11da2 WHIRLPOOL bf2f90de987dc0b4ded6256826321e2a26152f8934910b896e8400d88b15f38c04b7a586dd892602c13fb2bea6518d6952754a2aec3244e76300a456e0a78a39 -AUX gcc-3.4.6-aix-largefiles.patch 9483 SHA256 e4aa602d8f34f8b1e4d109e8b561f09c9488475b66fb46d036566036fdda39cd SHA512 14b024ecd37894d059e72e1328c3e2709d69da2438be9532ecd235330b5749e64cbcd0937d871a4abbc436f0a829450b8c246062b09fadbab3cd066d6ba7752e WHIRLPOOL 5f00f37c75fa1c8a8c478d334ef98d27827770aca996614864686a9f4c72a705db1c663081488a69a0e9b3b3d27ca8d40f63ed4aeef502379cb6c931a5464977 -AUX gcc-4.1.2-darwin-fpic.patch 619 SHA256 468cd067347194cd00175a08d88960ba5b8b96b7462e5df4dde65340a4ed0a0e SHA512 8a0533365dd806f5922db836314d3b4c4fb6e7b175b1cc58afce9225c4a02b99327d18c50ed6baddedfb833d73634d966a886617061377347fa69032eaf96f06 WHIRLPOOL 6025a4ba1e5e46959158f3fa5cfedeafc3a2dad5ef995c113cc33a4000e84cdef8f032475eadd5f9737b9f6dc036c1425e6f5dbc64e32e0c6dfe8869857f0dbd -AUX gcc-4.1.2-freebsd.patch 204 SHA256 de33014a03741e46d027f7210f96221b3db45fd4161abf6c54c62342918b22f0 SHA512 1f550dbac6532a46c9eea70f7560d83d4239d96d788a704f6624e275f83c2ad9cbba67c148e01e5d833b6b7fb42e29c7082815b9f4f2c3b5f73122245d956583 WHIRLPOOL 95494bf1c3b0faa4464cec1343e505025b11b172e6db58e3cae30780704db3377965dfedc8bceb1aa20d4b2cfe69aa24b5d1f41c35d76020f23f61463541385d -AUX gcc-4.2-ia64-hpux-always-pthread.patch 868 SHA256 5a0f38a7df257ccba771b16336682f363e70bbb8c07d72a0b4d3f7f173f413f8 SHA512 d92ec8072309fdece588b4874b4a555d9afcf78302492de0ffb167b46038f9fe1e0d64c65a63cacec9d0672c76984165e517a3e3d3aba1b34894ed58c063a5f3 WHIRLPOOL 2c8f03ba53fbbc9dc5df19a25b883826a4a939d8ccc443d6c83cc8187c871f40471e434b30da297e2426e80d3e68590370a3f4692ed2468137c4e8f4821e3724 -AUX gcc-4.2-pa-hpux-libgcc_s-soname.patch 483 SHA256 6bf38ec9e85b6b4da839e1781ddd06ba689d1b5ad8257e5c8052289343b664c3 SHA512 66b7f1888918d132fd751be5d00f30bb4646b279ac803cb76a00a5388e33fc7b0792689d049c8a3526652ef77dd32a759c2f43f5e1ede42e4cbfc892c717d6f2 WHIRLPOOL 18cf4d80c86b4eb3bc835f00fd27cf55664646a47733666821b6426378507d3c6fc1192f4559c2a62eff501b835b531fb66c3b7e09bdf7752af170b4764b13be -AUX gcc-4.2-rap.patch 1250 SHA256 1b458c52b2d81a031882547f5784721ea00012ad5377f3557ef176eaa80fd936 SHA512 3ae8db2bd956cb42dc121653506d286f7e098524e5a3b2ca28cacd7622af7c555e1a3fb5fe0a33e02801271a8c9b4bb0a83d86593633f176eb12425b2be198f2 WHIRLPOOL eeb41d50970d1843c9c96c2c31b9f7b6fb33fdecb6f280a35f320b71e582d7f5811db6dcde534de4768f3e4162403276a5d081c9d1c7af930d7ffb9acd490c2f -AUX gcc-4.2.3-aix-largefiles.patch 9519 SHA256 b9b035ec252a118c1725a69900a73ae4c3f22f08350038504face1b9438446af SHA512 bac988d25176a302b3ab2272f0f89b1d37fdebc49f15a7d01fd985d9a7e5adbaf270cb5dceb02298a3e8e420e54ffa906f8c8cdf65fe255eb9f67b721c3bfae0 WHIRLPOOL 794aa70c42af00fc4ad013b4b7450bf2ccc9200c55067e59a9636b6ec642d65e2dd0d123723d8d94a67492e161e7ca0ef2393638d70d4a5e54434546c0226121 -AUX gcc-4.2.3-mint.patch 786101 SHA256 2420dda14ee894b95f322dee1452fc4fde25cdbe77c4b416b0d77d276f1c67bc SHA512 b12bc5c70c9cd6f9fa15f94132e972405f6693d001f4cbb5c902edba4e8a3de6bc1beb3746984fa5b1c268f5f904f6ffee82ac67ea6201cd7a48afe30257c1ce WHIRLPOOL 4656603088dd4e84fbf76ad764721985f7d2075b68d3576ea22aaf75546ecde5071e93d2f54aabae1ea9096e47770c42977616ebd1bb6a219d74229e3a5ce31c -AUX gcc-4.2.3-mint2.patch 19829 SHA256 7c7a5147d74cff334b4946cfe5f7a3ecb99f2c9204ccc39c989424b4c161eda5 SHA512 93f1e7249174127c6492918951be87eee6a180f930c6ed14d5846fcf7dda6aff3ebcdf22d85cdb01e5d0f7b0084995bc6f87aee11ac6efe727fa62f0d9a0b5f5 WHIRLPOOL 08cd3ecaa0740afc8dc480c1f1253690f6441588c61c2af0b1af82ca995417cdf7b83d85f487e3dd8be346d39b42bd6a1cc8585e70c19f9ab8ec2cb031437257 -AUX gcc-4.2.4-aix-largefiles.patch 9524 SHA256 911d9525bac879c79af5c4ae83be366138d36de4c7ef3c86c441cb9d3cdb2173 SHA512 bff5af082a12ea4e5a9ec8a43ed1159aa3d10df0eaff686bac949bc446c2805fd6b7072263c72afb7bd6f68851e0bbe3df688dc82ff34f5fddaa11aef8abd3f3 WHIRLPOOL ff28805b8d16b0b634f021c154dd599bea8d436eaa58f5857a4877a6bb1a56a7a03119de34abc30166bc2c27df7fa76c489ac233810b3c9a1f4084aba904def2 -AUX gcc-4.2.4-interix-all-source.patch 532 SHA256 b357fbfb172d99b8958356e1e5fd5125bb53e9c343aeebf87a4407794e1ff13c SHA512 ba190fb1c520207d4887ae461804098d42f6795983f38e84be1ef84b197e256be68e566f24f69278c8a0f64101cc9f69016c456077c8d941b00b1339e98b0647 WHIRLPOOL 4120a250798a95c90c0e212774ce22419f8d744d514779134f0a7fc03a4b0bf8d90c6a5de2c4483cf8cc767a3c96cfe93c28bf18fd8ab4d2e8699a8e5cbba505 -AUX gcc-4.2.4-interix-long-double.patch 650 SHA256 f47f8da2b4e7b77cf88d263e9cd753796bb182ea415ed5f6e1c99f675bab7482 SHA512 e67e7e3bf12fd8da28aad4e728556c08c5fbeaf134f7ce49bb183a3d8e6892107c295d6ef61b945a09eda1c94db3b721c1fb5b629cc8d373cc639780a2390f2e WHIRLPOOL 6c2d1aeb1333efe5adf3674097a9963d47779dc300c2e7f7b32877f66ee1d82cfe0d8d24599cec031f4947f68f9847c4bc00a3ded503d54a0f2cfc896e21fcc3 -AUX gcc-4.2.4-interix-x64-support.patch 661 SHA256 b22854396741d2eea33b9b3ffea66dcc54e17211e5e93b3cb54b488edf250cbf SHA512 6e0e7616267fa015b0dedaa94524a7dfe0254412b97f41ebfe1cc70e4a410672a8adc0d05939d3ea863ff8b99bf7aad18c728fcd00461eaaaeddf155ef3e70de WHIRLPOOL 5e1de94145964062eaa04d40bf92e7aecc1ec61db88558999c955c689409e1bae658d983223e12a0fd256ef960c125788a8114bf5d6e79c68965ef3a99266462 -AUX gcc-4.2.4-linux-x86-on-amd64.patch 1867 SHA256 36dc1698a26d08156498ac20298b51eef0378dcd3e08e9a2976e7d58f1eab730 SHA512 c9b2e48394b801ee86c09196c558d6b343defcc7af50dd1234c451c7be00051db2dbf4668e2f210ef7fe7d58e23f14ddd144fd7f57c05d8f68f5e6e7279bcf58 WHIRLPOOL 4e5ce608f91690b5257cc4f0da8ac8c1767ebcbc5817973297cebf2f5919c65ea45a07e68c726c9ef4f77ecf43f5c055edc9f5e8788c5a2323635ae7b159830a -AUX gcc-4.4.1-interix-avoid-bs.patch 1916 SHA256 3c3c7019b3164ed463ddbee41131ff7503caef25d958540ce10ffc895ef0b3ed SHA512 b3d0eaa8a5683663d2a3d7d99a57c60d8f5f4a67d7b9ea4a75ef427284e671760a8ddc10d0ad264100c922703221cc0b663adc06a20905d2339d0baf773d5a41 WHIRLPOOL 844bd4a057fc8cf12bce157b34943da81597babf184b8eb991b6f1dd19f3fc9d78e8240f918b6807f7ce99eb72efbf5af38554f770c470293bdc3c79fab30ca6 -AUX gcc-4.4.1-interix.patch 12986 SHA256 33953e755b4de1e5b5d272b3e35a8d63a68a16457e6fe8b10df9eb65e4ca98d3 SHA512 3194dd9477b3a1cff15b0e5034d8f8e0eb33e6ae861a4b2ead725ca25fc129e347cccc8e8300bdf8c60350e359852696727b12bd04351eaf4cbc3165a66ec5ce WHIRLPOOL 3669bf6cb5cc465ab6acdb7f2c755081b34c95f59a0fdb60ea29d5203d5c55ddb33b0ae9f5788be51214edce214b12cc2f71c5725810642b20abd9524b4200a2 -AUX gcc-4.4.1-linux-x86-on-amd64.patch 1559 SHA256 cf300a35076e42ab530d3c6b4a81fb0ebaf0174bfba5e26cf565d63cef5fd670 SHA512 53c929926837487678d80acfbfe24b37a7aec8af0def837d2c699a1df4c9839d54cc91de4f33c696aa114d52059e245aa9614b86fdfd5fe1c5c1a1715dc1cfdb WHIRLPOOL 4bb0644b6d147b9bb69f94212b414b108f35f1c6d4b8d3dbd41319aca0ccd70ceb9e2ca947f180ab2d1f7ff1408065024199e89e4796bbef226960ee58901d56 -AUX gcc-4.7-rap.patch 1913 SHA256 75842d968d21d9916d41c4e75be12387d818221465fb2335546418c744b2eee1 SHA512 aee8bc93aebd9a217b53cd4c6d6fd79780eb77ef490164d35a056d08d0cc5b550ed7b6e298f963cbe61511caf2b03d47ff5df50a6de95b86c104dfac3ed0f273 WHIRLPOOL 7702b0cefb958f6fb7cef5bb0e1f056412d5f972e3a4653735f33b56245db7d984d7c21a5e47282d6283efadefb76bc850877d151d15bcd3f081aba1360a0d7d -AUX gcc-4.9-extra-specs.patch 3894 SHA256 942654807a350bdfc1f587766238bea0caabe4d804e48a8705ea5faa56701641 SHA512 32a477d66b85793cdd6c51a1dee29393914b5ecd5db4022387457ff01e871a1efd1ad77be3b05275cdf96e0ae822a7d353ed40ad1476326c60e9bdd9054930cc WHIRLPOOL 47bf1ed50db265235f5f5cae5e45831c1059a2c26fa93d6ce86299c5986da2c38b10b2ca39e59ba8c796716f4e88eadf85f84c5b4a6b5acf25dc56e5a86c182a -AUX gcc-4.9.2-rap.patch 21922 SHA256 09c77c4b535a653157a9bb6f282f6e92e5e4aa4aae0e3e9d3d40e079962e442c SHA512 d0c59eacda40f9969b5b94e8e7e8c514df7645aac83d9be434da78b42edbb6816aea7b36502c11af2c6fa8fce5ba412e181a14f6153601b6236f634b52e8aac7 WHIRLPOOL 86ee9f8d3df2db93e0229f7bf385dd8ed648ce09affe2993b0d532b9251cbec47e6f2135383138947c0ac0699c3f9479b06d4f6cedd7078359bbe79b82d6b075 -AUX gcc-configure-LANG.patch 2052 SHA256 63de6d2dcfe14f21d147abeb1390405b9220c03f8e968f482d4b4c1cf279c88b SHA512 a694c7ac2f45cc657097ff5b0cf1356ac88a9c06035c9ba15167e9d444844d0d8a478eb1b9b62195dd063774f79697b9148b9cdb6c261640b472c291061b2129 WHIRLPOOL 3cc1ec912fb192ff1058de5b93e49a994ba30d1501a932290dd5b3df1cd783875621cda56edeb41894cd5fa10c04917e693a40a60be8d742ddd7992bf5d8afeb -AUX gcc-configure-texinfo.patch 337 SHA256 74b73a7ecec2d88889876b4db480cd173632f49d5396bb8e5b3c93673f9b5b98 SHA512 a15fba8bf2ff02bdeca54d6f186bfa08c1079c6a8ba0a3beef154483ce5c1b8c497e7ffeec32371968f0037e0ff8384609eb0c367d0155a4e5a7eef8aad084d5 WHIRLPOOL 39d008aad06f7621e4e5db15f5e85a59e583b43f8d247029bd4944466bb60a9795bda157d185c45c329294078e282703a243aad5c468d90c77665dd6336870d4 -AUX gcc-spec-env-r1.patch 3148 SHA256 da0a6442eb42bce58cbdc7858b110a2e65fc5bd5b4b780b9b491033de6e302fa SHA512 ecae71577543772cfe1711f1b4a8815c0b5d706ebd01edacd1f07586637d4805e25771f970a6e6d1bb696d4b1b5ef3e0036088a96a9f6beff7ddaee704175d16 WHIRLPOOL 3535605998eabccdee71ba396ed5cefbb8b0a8cb073101f6444c7d01233f3b3904c1b29f4daf0a3417c68de8dbd62a0b7dc367cacfcbfa0c4ee1b69b7df8c6fb -AUX gcc-spec-env.patch 1544 SHA256 64b01f29fb853fee5ecda998b66eeaa7ec86ff1fc3b21432bfd69eb543c93e6a SHA512 ce9c1f923e2c6d17347ec2d3d8482351a9644194b2753627389294d43bb4f11b9c2ef41eda1b46ad83d09901a0bedebd5b6b8a57a198646030ab61e8d2d8cb48 WHIRLPOOL b88c9c18e20868b3ff535c3390408ebe8f1304bcec6e70b6472781f684671265860dff4335f2301d3b4d3b73395283b29673f0f5da62414e1094cfcb8130e8d8 -AUX gcj-4.2.4-iconvlink.patch 721 SHA256 eb28194b567fb4d0f2a767647f787c2eef3cbce5507d85a6200cc4afd0bcc859 SHA512 4b57fb3aa3b461c27a01723712b2ea993732a2c55ec0c98157a90b82d5228f85f60e4d369a4fedca33632987405283a8ccd08b372824d2533de93cdc260dcf9f WHIRLPOOL 3e562653c51d3505952b9d527af0f9d4c98402260890c4edc9b8a8b83d0f0a68a015de99126736973475e30ca95ebce097e66f15735dd6f5ed9b5c918d0c8557 -AUX gcj-4.3.1-iconvlink.patch 753 SHA256 8918aab615ade4b9cec301f61b27de9ddadd158ac1250a206a1e5973ce35c9a6 SHA512 c985f2887d2ca1b4a9c655e0686d642487cf6d457b653b6ae4c00e3a75b35a75c6324e3eac67a8a508e8ce5272c0005cde3bf574dbf4815444683033ec52ab81 WHIRLPOOL 04e019c0bc96e369a0546d2ab5d902e806a3abf60a4aa8acb77f9ec8de3613ebeb6ccbd23a7debf738e61e3d25c8f74325b7184bea61ddd1b15e464ec4e0a1d4 -AUX interix-3.5-stdint.h 6310 SHA256 8b1cd7e249faee17ca0d9a1ee2fccb004e46046f38279303fa7515b69db76523 SHA512 9ef0fe18eb9e603109808536135b6ef7e350998dc9e4fda77ecea69792c9701117dbcb8b4a85c56fa2b3898e34b41c8865993ccdcfda8a737bb34f98e7f9270f WHIRLPOOL 11b439c0085ce2e10b7ab75fbb92ea411b5148a3e24697a347c54ce39853cb4a3e8753588e0beee537511860c25412f4c54d3f79c81dff50b24ebc5977899149 -AUX mkinfodir 7324 SHA256 0565353e767e253207adb8b5c9be9ba215a628447e075a4dc7bb3183ed099d2a SHA512 a05f9130d98e4cb4d3254b757de06d772d0a965ac4b5a9a15082b1cb694a2fd32c9c8f550745a9423ba3cfdd1c5e87b6d568a809301772a24cc6e1a414d5f98b WHIRLPOOL 4001ae3f7fb666a84e12432a1a41eacf62ebf922181c279e4d06dad32e44d0b499d13e098e794fdd19a9cff5c438a28e5e9e125fb78e72bb913fa5ddd8e44bae -AUX no-libs-for-startfile.patch 460 SHA256 b7f722ae86f0ffb45bd0d9c6db1e65e8a52c85d1bc3c203aad26efa4db74fa90 SHA512 8875e8833d733c7f0db9ff2bd97954a92041890efb592e0b03ed13bb35a16bc2e85fe685a00becde9ac402c40b76aba194f6b21a4869f488202ebba85da37acb WHIRLPOOL 457c7d0d81894721fdf6df5f899b57858511d7e5994bf2c0b1ba8dba82ded41a73c17c581b98c3eec7eb88fafe4c1951897dd7074897f40b19f6d1b1e9e56ef7 -AUX pro-police-docs.patch 3287 SHA256 ec012aed77285545b9d993cba1bc5fdb402c8dc9a17040f48b8b354746ede627 SHA512 1ba939ff035b33dbbeca2bca6b4240ac0408bb1648eebc4a5d890f0c7926dd0184e5b29f73412d20bf862977c172dcbdfd908c156a367ddaeada5774c94befd0 WHIRLPOOL 48a31408fc03bc178a9799b5a5668d5ae2b0f02d51ef75f5f86e30ca6912c2c3e01364a67c3986918e3a7e3c082d931cb8fb22b6c0db8c8a41fb8da967ad129e -AUX scan_libgcc_linked_ssp.sh 885 SHA256 0de8bae299e3333d3bba7af7f85427952f18b906b1a4832232ad15e73a3ddfa2 SHA512 a09e5ce34a404ea6b382a6f596b439936dccf9cb87381d04868ec35993a889df296b9f9141779adf897f1987bf32c76f10f487aecd83a9a48a9b32b906494160 WHIRLPOOL 5446233ed31d9f07ef4a636f76c3dd0423e8b176b17884305b8df0eb33aa0e57bc1b5be5d2e2b5a2fc7d37de3b445bf98e0311a03cb4d48628b00e77cfd987ab -AUX solaris-i386-ld-emulation-4.2.patch 1495 SHA256 7bed8ae44ce900f6350a0d16c5ca5aa0b41793a78f6f0197ca29e7c34c1cb856 SHA512 cff400cdec0c5d7593bb4a72efc71a390b2a01c8763e7f1ea9006346a28dad91c2611585cd6f7d8a0f6c57b387d844eb0ff41204e9abb7cc1ab6a4a9ecfc752c WHIRLPOOL b4d88caaf4621cb52698412f78b1623df6d8afe38037a4f3726778c8a1152a3656172f50e775d71b72ef064091bb97ee4d2220785b58c7e19e2ff2fd11e1f3d0 -AUX solaris-i386-ld-emulation.patch 1437 SHA256 41e6cc6817b887298c25dec992009023c30fdcf4221a1a4569ed4a1041d20f12 SHA512 5b2edeae26069e10c4c3f9d05a154f0ad0c9740e35b2d3e8f46256c6341d096afa42fbd4276f290d9544caafc6060448547de15ac57a398919dcadaca5c035bd WHIRLPOOL 96c4a0178043176a287db8cfbfb84ec3c9ad6682fcbdd79b06947e659eed159839cc55307f819d6363d4afc279e2acfc5d6d5f0424ed9e9c6f263c38c313215a -AUX solaris-searchpath.patch 3051 SHA256 1b4ad2967727b821fdc6bbc324f27540a5db8cbe17124fbe833ca6f97104a479 SHA512 ac2cb1c8fe9cd40926332f77647724b6c02776f310bf6f29d6e8c975d0ad792480790921f2baecd60bcd3717a426ce7f4f5732bc3d8ce45fa559700fc90c0926 WHIRLPOOL 1fc994aa2df98e3f0bdafda71d0dce247518dc02ceb3374f5e680eb13b53779ccef2b73cae09564008aa3d2410cb39766c233538743842b4a1df17c6247d428d -AUX stubs/gcc-3.3-htb-stub.patch 2195 SHA256 36fd59370c87ac60c2fa1e98fc4a43dfc17ad8188d730b8c16fb680e83f7e9c2 SHA512 054adc5a51cd9b285336395d273605bab2a2de5ae7d6b91abbbb375df385df4c8916f5da4759e00970e629d0b7da84e3873bcf71b9101cd3a246b17c1617fff6 WHIRLPOOL ecff251e9ed6317f302db7c514821bb44055ec76a7e74008e2bc599b2b4951a90dfd079f97169e2125229788670dfa198ba0a8600be678c0bc49b6c213539038 -AUX stubs/gcc-3.3-ssp-stub.patch 1735 SHA256 935863cad4820d7cf35b124efdeafeeab7e67a01da1cef161ef590f18d643beb SHA512 a248fb60691827fe93bc1c7b78221c1ad89482c88cec3d113dbd7539e137955022ab474b24e13f8044e3d9d31dabbb238fbe09ba259369f1eaf1d90b26002821 WHIRLPOOL cfccd55b68bd24bd927b5b102da7380b4bb59b054c2126a40cadf5a9b45734996292be57b7e58b3434027efa230f5dda56ea11d7678615e1a0a31449df6c8f6b -AUX stubs/gcc-3.4-htb-stub.patch 722 SHA256 0768dcafc35be6d35c9aa0106b0c8b87932e6b2ec7a82547b8cc7fc9c8b0e1f4 SHA512 9cdefcc2a8c8b048a8040befc15554fdc2fbd7d29364f96b49dddd4336527b26ae5c480318e12c48738d5f62e643c174dcb2ee6c98b29c207a25bcbbacf491fb WHIRLPOOL fec25cf06344ed41afa00fdefc27b08b935232ed05bf2b6517cb4fc82ca3b626f06b5b64b041297b61d88af0f9594c6caf2889b2b912205e87f3816920d6235d -AUX stubs/gcc-3.4-ssp-stub.patch 1068 SHA256 259b08fc6ba1a5fcc6848c1a0742e9b90dd43985c61fab4ea2e9e79ec795d982 SHA512 d797117e2663c5e0d3dfbc983e5f943a0724fbf7b28359451c12572d7af8cfe7667afe36aa6db1fd831da681be8492100231f0913bae662898d40a42adb8d56f WHIRLPOOL d96c065c8a85adca2915f965975a7a33221c0109354f22b1e3c4cbf00b264bb5b178888476ff56f022453749565e41b02ebe91f092762164dd5c225e208e7b8c -AUX stubs/gcc-4.0-htb-stub.patch 722 SHA256 e9b63d3644c0c10e871d5bd94ceae55bec0726b76e9a7c43c83daf6c840dfb5c SHA512 a7eaff57c2ec6a6947ef5d938320638dd9206c2e274431251c3be3928caeca941a679e74b6238880db589fe5b00cb6d1da644e6f06d02b331b5646cebaacd330 WHIRLPOOL 9b30fbd1dac7143491d79d3821370c11c4a79dab1f6294ab5a60578605e4d2e86d51730da6d48ee08df0618bb0deddf6d2da36b91a5b632cef14dbd2178c042c -AUX stubs/gcc-4.0-ssp-stub.patch 1068 SHA256 259b08fc6ba1a5fcc6848c1a0742e9b90dd43985c61fab4ea2e9e79ec795d982 SHA512 d797117e2663c5e0d3dfbc983e5f943a0724fbf7b28359451c12572d7af8cfe7667afe36aa6db1fd831da681be8492100231f0913bae662898d40a42adb8d56f WHIRLPOOL d96c065c8a85adca2915f965975a7a33221c0109354f22b1e3c4cbf00b264bb5b178888476ff56f022453749565e41b02ebe91f092762164dd5c225e208e7b8c -DIST ecj-4.5.jar 1470676 SHA256 98fd128f1d374d9e42fd9d4836bdd249c6d511ebc6c0df17fbc1b9df96c3d781 SHA512 d4e1bf7538ace56e3d69fa91da5bbd16c272923b4de0a9d8dee23ea2b75f9f38c603de72fc4061df49285c450b63f3df211cee5270e9fffc5447445d1a9c9e4e WHIRLPOOL db54206cfd5eba935e707b8d36ebac40f3c4ed3c1f06ede794288cbdd9c7da9d90c0898e8c98b383af276ea4c1b40c861ebd9e1fc1dce712946184321339d3ad -DIST gcc-4.4.3-specs-0.2.0.tar.bz2 2004 SHA256 f6c7cb99beead66dd4d06f7004c5731a9360330cbe878ce79792c618e008eed2 SHA512 779ecb0a064d2138b54569c8ae501975b8a6b72e5a3acbf8597619a8db77ee42ef9b0e62608d5192a15e4393e7dfc009bb50b994782236faa744b2c46b5fe517 WHIRLPOOL 8a1e45aad9d306cb19de93c63b5854a97e629d90852feb6861dcfca042b6257705304fc13ad65655a4cb227d36b83fc6063648c94f270821574ee0e85307094e -DIST gcc-4.7.3-patches-1.0.tar.bz2 39969 SHA256 c9a5d7c6da7d056f7fca15b33eb7f399bb7ed5a2d0a892b97e0c7609146a2a24 SHA512 d5c3151eca135bb08511955d81c7727adbf8fc33043b64a4431b0fe95d2cac1bf3c5410fa9616373d6b3d932604195ff29f6321e61a3de69a7704f1d1cb1759f WHIRLPOOL 315578ef5a7226ed66c4831b25c79647120453dc169dc8ecd291e099500ae52284ffa451164522d6d55d11c440a7aa353a283c07e28c103c522df0c2e2f43fff -DIST gcc-4.7.3-piepatches-v0.5.5.tar.bz2 15378 SHA256 b6f6b6709e7b13f6c05090f3bf68f3a64db19d52593a870cc7717c5c128b05a2 SHA512 d0189d2e4049d471dedaddcba319fe2c2b29855f7b33e84b26051504ead2936c852ef7870a1d19d755bb343c9b121b0ce5295665ab4ff1e448436bd448c08e1f WHIRLPOOL ccceedb41d48da69f5a423b6b73436c9fbb7b1e382456abfcef954f25666e1b7caf926bc5eb977e934502359a356d623c439d80825e87d9fe46b5ae78a74bde3 -DIST gcc-4.7.3-uclibc-patches-1.0.tar.bz2 3013 SHA256 731c518f31db8debd08bea92db8e3bf1e9962552909407452dc2ac3c491cf11c SHA512 6119159300e76be87732f2a44b1a9388228235d7832370dbae531c2c96694ea42ed4c75acf7abca98ec0035fbc50a8bf84225574505358c2739e64b0f3fd6a95 WHIRLPOOL 4a874a5684937907720aa5a4a1dbc237aa7d985292befd1c591cf0789c71e0da22ced5b7f7e049731bc2d6496e959cbe3c9010047ceb1b05675e61865004c71a -DIST gcc-4.7.3.tar.bz2 82904224 SHA256 2f7c37eb4fc14422ff2358a9ef59c974a75ab41204ef0e49fc34ab1d8981a9c3 SHA512 5671a2dd3b6ac0d23f305cb11a796aebd823c1462b873136b412e660966143f4e07439bd8926c1443b78442beb6ae370ef91d819ec615920294875b722b7b0bd WHIRLPOOL cb3408e3e251833f38ae7cf2388a1ddce864614fe1c68de9729a1a9a1f8f028ab92c0f2b863e7fa3ac16dbf443306ac864e74c9cce90690230c081ee2ac309d3 -DIST gcc-4.9.2-patches-1.0.tar.bz2 18213 SHA256 e4e9a665381beb4018779a14d5124528a9d5df0e0772f3b7639390d6bda51515 SHA512 27deba0db6a500b160829fdcf5fc9a70be4b4fbd45c89d18dd2d0808d42803657693d0ed0f2b664e020a0d2ac39cdfe550e397eb4c2a6f64220cae1e7a16ff20 WHIRLPOOL 7e04ed92038f19a9b00fe0022c2c7ce3df8621fccca95cb2da37333a5edcc0857efe96aed68f5c4b51db19ecd23ec1194412f1bc24730cea30db7b342c12dfdf -DIST gcc-4.9.2-piepatches-v0.6.1.tar.bz2 14185 SHA256 590d11ea5723812fff3239c5eaed4b040b26a92586de0e42a84438f742eaac0b SHA512 89560e96bc205e848936acc4d3423ff5e1ea5ee478848edfe2b992585cea0df21eb102b1f1bee55c10568d4ca54bb3f4e8ae72aa695e34a908abfda3585fb992 WHIRLPOOL e6db4a2e5fdf762bd4f0fa70d630499bf6789a0c3b7ca193b455bb22f95f5f2983358ba9f28bd85b571a3a44a691ca797762302a1f2ea63ce170752f7e44128b -DIST gcc-4.9.2-uclibc-patches-1.0.tar.bz2 2540 SHA256 3ca63cba5edb01367352fcd558890a838630deb4c30f82f4c7e8074ad75e57fc SHA512 69f6f80e23efee0b937fca0f2056e17b4fe643817d2394bbfd16cbb453d74c76a0bb8727815f689a795897d9cd5e06ecc74d3d9ad45175fe837ad008eee09706 WHIRLPOOL 3946513e83960fe891267e103e434cae0616cd45b5e7eaff5f4f671741c1445941cf80b7497231cf50f137941c01859dbbac0a95745fb7ae663a3ee512bd7162 -DIST gcc-4.9.2.tar.bz2 89939747 SHA256 2020c98295856aa13fda0f2f3a4794490757fc24bcca918d52cc8b4917b972dd SHA512 e96cba06d572dbe7f382a2b00fd9297dcf9f9219d46a9ad0bd904dc36d5e7db3335e422640b79a27fed6fde91b0731732b94a0e2fbcd47344d6779f8ba1f4f9c WHIRLPOOL c4afdd0ec98e6f903044f1d3061fd96cf1e9bcbe2f90c388f5bc9ff8b2493b94367e84fdff7c2075ba37e2f950ecf2dba7c11786c653c2c7e86a5e8ff7d98e85 -EBUILD gcc-4.7.3.ebuild 2006 SHA256 b1578b13fdbbd1ad3a492e5e0647c963b539b241d97f692c82e5702a28c93832 SHA512 8ecd14ec0e22e2f7f491848c69509d5bf22042dc762e093006d90d87c72981fd0f2fad4a2d728136a0712b0c2d00cadf9264aa8ac7992b721182e682d04d8fe6 WHIRLPOOL 02edd5aa9da56a12ee8097f9b881da257d2ec35cb8c358ecdbd8ed467cdbe228358a97f50de7366d42cba5133d6f3592ee86592933344c05ade29be7aefc9fe5 -EBUILD gcc-4.9.2.ebuild 1598 SHA256 7460ca1434afd83ad6864690c59f18547dce9fcacde30dfdd1ebee505b632ca8 SHA512 9f1dc10c94f774a2c58c96aa877834ea6ce213393dbe04f5065cfafbb4c4194f0856890be7900183cf42f2c952928d19dd0da7a7bf02a9a5353c336fc193cfc1 WHIRLPOOL 464d86c27265b5ab19b9af8608a44d7322d546302f91279d0e7b9432ac7bace7170c1034cf5a36e629cdd28aeb998060e74891309518252afe1da5001dc8254b -MISC metadata.xml 2017 SHA256 b8397e7ce9649b9086d020ee865f1ccd616b338cdae5be3d57494fd15748d132 SHA512 231a34104c4c0fc8f2a2733572236d7638bc9e7241a6d60b90601f24204c2a7ae5d61d351c75179dce05b4e1b7e367b9ef4f8c6d19c58d3695f5e6cb15ab519a WHIRLPOOL 01599d282637b293265f57c05a91447434d8bb33be54d6e89b8739e0f549b2045e4bc9fb6df8c7a6d0e7d6899b818b6f18454906a73edd529fc9ee57f212cce7 diff --git a/sys-devel/gcc/files/awk/fixlafiles.awk b/sys-devel/gcc/files/awk/fixlafiles.awk deleted file mode 100644 index a49af35..0000000 --- a/sys-devel/gcc/files/awk/fixlafiles.awk +++ /dev/null @@ -1,314 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/fixlafiles.awk,v 1.15 2008/02/19 05:47:29 vapier Exp $ - -# -# Helper functions -# -function printn(string) { - printf("%s", string) -} -function einfo(string) { - printf(" \033[32;01m*\033[0m %s\n", string) -} -function einfon(string) { - printf(" \033[32;01m*\033[0m %s", string) -} -function ewarn(string) { - printf(" \033[33;01m*\033[0m %s\n", string) -} -function ewarnn(string) { - printf(" \033[33;01m*\033[0m %s", string) -} -function eerror(string) { - printf(" \033[31;01m*\033[0m %s\n", string) -} - -# -# assert(condition, errmsg) -# assert that a condition is true. Otherwise exit. -# -function assert(condition, string) { - if (! condition) { - printf("%s:%d: assertion failed: %s\n", - FILENAME, FNR, string) > "/dev/stderr" - _assert_exit = 1 - exit 1 - } -} - -# -# system(command, return) -# wrapper that normalizes return codes ... -# -function dosystem(command, ret) { - ret = 0 - ret = system(command) - if (ret == 0) - return 1 - else - return 0 -} - -BEGIN { - # - # Get our variables from environment - # - OLDVER = ENVIRON["OLDVER"] - OLDCHOST = ENVIRON["OLDCHOST"] - - if (OLDVER == "") { - eerror("Could not get OLDVER!"); - exit 1 - } - - # Setup some sane defaults - LIBCOUNT = 2 - HAVE_GCC34 = 0 - DIRLIST[1] = "@GENTOO_PORTAGE_EPREFIX@/lib" - DIRLIST[2] = "@GENTOO_PORTAGE_EPREFIX@/usr/lib" - - # - # Walk /etc/ld.so.conf to discover all our library paths - # - pipe = "cat @GENTOO_PORTAGE_EPREFIX@/etc/ld.so.conf | sort 2>/dev/null" - while(((pipe) | getline ldsoconf_data) > 0) { - if (ldsoconf_data !~ /^[[:space:]]*#/) { - if (ldsoconf_data == "") continue - - # Remove any trailing comments - sub(/#.*$/, "", ldsoconf_data) - # Remove any trailing spaces - sub(/[[:space:]]+$/, "", ldsoconf_data) - - # If there's more than one path per line, split - # it up as if they were sep lines - split(ldsoconf_data, nodes, /[:,[:space:]]/) - - # Now add the rest from ld.so.conf - for (x in nodes) { - # wtf does this line do ? - sub(/=.*/, "", nodes[x]) - # Prune trailing / - sub(/\/$/, "", nodes[x]) - - if (nodes[x] == "") continue - - # - # Drop the directory if its a child directory of - # one that was already added ... - # For example, if we have: - # /usr/lib /usr/libexec /usr/lib/mozilla /usr/lib/nss - # We really just want to save /usr/lib /usr/libexec - # - CHILD = 0 - for (y in DIRLIST) { - if (nodes[x] ~ "^" DIRLIST[y] "(/|$)") { - CHILD = 1 - break - } - } - if (CHILD) continue - - DIRLIST[++LIBCOUNT] = nodes[x] - } - } - } - close(pipe) - - # - # Get line from gcc's output containing CHOST - # - pipe = "gcc -print-file-name=libgcc.a 2>/dev/null" - if ((!((pipe) | getline TMP_CHOST)) || (TMP_CHOST == "")) { - close(pipe) - - # If we fail to get the CHOST, see if we can get the CHOST - # portage thinks we are using ... - pipe = "@GENTOO_PORTAGE_EPREFIX@/usr/bin/portageq envvar 'CHOST'" - assert(((pipe) | getline CHOST), "(" pipe ") | getline CHOST") - } else { - # Check pre gcc-3.4.x versions - CHOST = gensub("^.+lib/gcc-lib/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST) - - if (CHOST == TMP_CHOST || CHOST == "") { - # Check gcc-3.4.x or later - CHOST = gensub("^.+lib/gcc/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST); - - if (CHOST == TMP_CHOST || CHOST == "") - CHOST = "" - else - HAVE_GCC34 = 1 - } - } - close(pipe) - - if (CHOST == "") { - eerror("Could not get gcc's CHOST!") - exit 1 - } - - if (OLDCHOST != "") - if (OLDCHOST == CHOST) - OLDCHOST = "" - - GCCLIBPREFIX_OLD = "@GENTOO_PORTAGE_EPREFIX@/usr/lib/gcc-lib/" - GCCLIBPREFIX_NEW = "@GENTOO_PORTAGE_EPREFIX@/usr/lib/gcc/" - - if (HAVE_GCC34) - GCCLIBPREFIX = GCCLIBPREFIX_NEW - else - GCCLIBPREFIX = GCCLIBPREFIX_OLD - - GCCLIB = GCCLIBPREFIX CHOST - - if (OLDCHOST != "") { - OLDGCCLIB1 = GCCLIBPREFIX_OLD OLDCHOST - OLDGCCLIB2 = GCCLIBPREFIX_NEW OLDCHOST - } - - # Get current gcc's version - pipe = "gcc -dumpversion" - assert(((pipe) | getline NEWVER), "(" pipe ") | getline NEWVER)") - close(pipe) - - if (NEWVER == "") { - eerror("Could not get gcc's version!") - exit 1 - } - - # Nothing to do ? - if ((OLDVER == NEWVER) && (OLDCHOST == "")) - exit 0 - - # - # Ok, now let's scan for the .la files and actually fix them up - # - for (x = 1; x <= LIBCOUNT; x++) { - # Do nothing if the target dir is gcc's internal library path - if (DIRLIST[x] ~ GCCLIBPREFIX_OLD || - DIRLIST[x] ~ GCCLIBPREFIX_NEW) - continue - - einfo(" [" x "/" LIBCOUNT "] Scanning " DIRLIST[x] " ...") - - pipe = "find " DIRLIST[x] "/ -name '*.la' 2>/dev/null" - while (((pipe) | getline la_files) > 0) { - - # Do nothing if the .la file is located in gcc's internal lib path - if (la_files ~ GCCLIBPREFIX_OLD || - la_files ~ GCCLIBPREFIX_NEW) - continue - - CHANGED = 0 - CHOST_CHANGED = 0 - - # See if we need to fix the .la file - while ((getline la_data < (la_files)) > 0) { - if (OLDCHOST != "") { - if ((gsub(OLDGCCLIB1 "[/[:space:]]+", - GCCLIB, la_data) > 0) || - (gsub(OLDGCCLIB2 "[/[:space:]]+", - GCCLIB, la_data) > 0)) { - CHANGED = 1 - CHOST_CHANGED = 1 - } - } - if (OLDVER != NEWVER) { - if ((gsub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "[/[:space:]]*", - GCCLIB "/" NEWVER, la_data) > 0) || - (gsub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "[/[:space:]]*", - GCCLIB "/" NEWVER, la_data) > 0)) - CHANGED = 1 - } - } - close(la_files) - - # Do the actual changes in a second loop, as we can then - # verify that CHOST_CHANGED among things is correct ... - if (CHANGED) { - ewarnn(" FIXING: " la_files " ...") - - if (CHANGED) - printn("[") - - # Clear the temp file (removing rather than '>foo' is better - # out of a security point of view?) - dosystem("rm -f " la_files ".new") - - while ((getline la_data < (la_files)) > 0) { - if (OLDCHOST != "") { - tmpstr = gensub(OLDGCCLIB1 "([/[:space:]]+)", - GCCLIB "\\1", "g", la_data) - tmpstr = gensub(OLDGCCLIB2 "([/[:space:]]+)", - GCCLIB "\\1", "g", tmpstr) - - if (la_data != tmpstr) { - printn("c") - la_data = tmpstr - } - - if (CHOST_CHANGED > 0) { - # We try to be careful about CHOST changes outside - # the gcc library path (meaning we cannot match it - # via /GCCLIBPREFIX CHOST/) ... - - # Catch: - # - # dependency_libs=' -L/usr/CHOST/{bin,lib}' - # - gsub("-L@GENTOO_PORTAGE_EPREFIX@/usr/" OLDCHOST "/", - "-L@GENTOO_PORTAGE_EPREFIX@/usr/" CHOST "/", la_data) - # Catch: - # - # dependency_libs=' -L/usr/lib/gcc-lib/CHOST/VER/../../../../CHOST/lib' - # - la_data = gensub("(" GCCLIB "/[^[:space:]]+)/" OLDCHOST "/", - "\\1/" CHOST "/", "g", la_data) - } - } - - if (OLDVER != NEWVER) { - # Catch: - # - # dependency_libs=' -L/usr/lib/gcc/CHOST/VER' - # - tmpstr = gensub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "([/[:space:]]+)", - GCCLIB "/" NEWVER "\\1", "g", la_data) - tmpstr = gensub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "([/[:space:]]+)", - GCCLIB "/" NEWVER "\\1", "g", tmpstr) - - if (la_data != tmpstr) { - # Catch: - # - # dependency_libs=' -L/usr/lib/gcc-lib/../../CHOST/lib' - # - # in cases where we have gcc34 - tmpstr = gensub(GCCLIBPREFIX_OLD "(../../" CHOST "/lib)", - GCCLIBPREFIX "\\1", "g", tmpstr) - tmpstr = gensub(GCCLIBPREFIX_NEW "(../../" CHOST "/lib)", - GCCLIBPREFIX "\\1", "g", tmpstr) - printn("v") - la_data = tmpstr - } - } - - print la_data >> (la_files ".new") - } - - if (CHANGED) - print "]" - - close(la_files) - close(la_files ".new") - - assert(dosystem("mv -f " la_files ".new " la_files), - "dosystem(\"mv -f " la_files ".new " la_files "\")") - } - } - - close(pipe) - } -} - -# vim:ts=4 diff --git a/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la b/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la deleted file mode 100644 index 0c95253..0000000 --- a/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la +++ /dev/null @@ -1,335 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $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 $ - -# -# Helper functions -# -function printn(string) { - printf("%s", string) -} -function einfo(string) { - printf(" \033[32;01m*\033[0m %s\n", string) -} -function einfon(string) { - printf(" \033[32;01m*\033[0m %s", string) -} -function ewarn(string) { - printf(" \033[33;01m*\033[0m %s\n", string) -} -function ewarnn(string) { - printf(" \033[33;01m*\033[0m %s", string) -} -function eerror(string) { - printf(" \033[31;01m*\033[0m %s\n", string) -} - -# -# assert(condition, errmsg) -# assert that a condition is true. Otherwise exit. -# -function assert(condition, string) { - if (! condition) { - printf("%s:%d: assertion failed: %s\n", - FILENAME, FNR, string) > "/dev/stderr" - _assert_exit = 1 - exit 1 - } -} - -# -# system(command, return) -# wrapper that normalizes return codes ... -# -function dosystem(command, ret) { - ret = 0 - ret = system(command) - if (ret == 0) - return 1 - else - return 0 -} - -# -# parse_ld_conf(config_file) -# -function parse_ld_conf(conf, pipe, ldsoconf_data, CHILD, y) { - pipe = "cd @GENTOO_PORTAGE_EPREFIX@/etc; cat " conf " | sort 2>/dev/null" - while(((pipe) | getline ldsoconf_data) > 0) { - if (ldsoconf_data ~ /^[[:space:]]*#/) - continue - if (ldsoconf_data == "") - continue - - # Handle the "include" keyword - if (ldsoconf_data ~ /^include /) { - sub(/^include /, "", ldsoconf_data) - parse_ld_conf(ldsoconf_data) - continue - } - - # Remove any trailing comments - sub(/#.*$/, "", ldsoconf_data) - # Remove any trailing spaces - sub(/[[:space:]]+$/, "", ldsoconf_data) - # Eat duplicate slashes - sub(/\/\//, "/", ldsoconf_data) - # Prune trailing / - sub(/\/$/, "", ldsoconf_data) - - # - # Drop the directory if its a child directory of - # one that was already added ... - # For example, if we have: - # /usr/lib /usr/libexec /usr/lib/mozilla /usr/lib/nss - # We really just want to save /usr/lib /usr/libexec - # - CHILD = 0 - for (y in DIRLIST) { - if (ldsoconf_data ~ "^" DIRLIST[y] "(/|$)") { - CHILD = 1 - break - } - } - if (CHILD) continue - - DIRLIST[++LIBCOUNT] = ldsoconf_data - } - close(pipe) -} - -BEGIN { - # - # Get our variables from environment - # - OLDVER = ENVIRON["OLDVER"] - OLDCHOST = ENVIRON["OLDCHOST"] - - if (OLDVER == "") { - eerror("Could not get OLDVER!"); - exit 1 - } - - # Setup some sane defaults - LIBCOUNT = 2 - HAVE_GCC34 = 0 - DIRLIST[1] = "@GENTOO_PORTAGE_EPREFIX@/lib" - DIRLIST[2] = "@GENTOO_PORTAGE_EPREFIX@/usr/lib" - - # - # Walk /etc/ld.so.conf to discover all our library paths - # - parse_ld_conf("@GENTOO_PORTAGE_EPREFIX@/etc/ld.so.conf") - - # - # Get line from gcc's output containing CHOST - # - pipe = "gcc -print-file-name=libgcc.a 2>/dev/null" - if ((!((pipe) | getline TMP_CHOST)) || (TMP_CHOST == "")) { - close(pipe) - - # If we fail to get the CHOST, see if we can get the CHOST - # portage thinks we are using ... - pipe = "@GENTOO_PORTAGE_EPREFIX@/usr/bin/portageq envvar 'CHOST'" - assert(((pipe) | getline CHOST), "(" pipe ") | getline CHOST") - } else { - # Check pre gcc-3.4.x versions - CHOST = gensub("^.+lib/gcc-lib/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST) - - if (CHOST == TMP_CHOST || CHOST == "") { - # Check gcc-3.4.x or later - CHOST = gensub("^.+lib/gcc/([^/]+)/[0-9]+.+$", "\\1", 1, TMP_CHOST); - - if (CHOST == TMP_CHOST || CHOST == "") - CHOST = "" - else - HAVE_GCC34 = 1 - } - } - close(pipe) - - if (CHOST == "") { - eerror("Could not get gcc's CHOST!") - exit 1 - } - - if (OLDCHOST != "") - if (OLDCHOST == CHOST) - OLDCHOST = "" - - GCCLIBPREFIX_OLD = "@GENTOO_PORTAGE_EPREFIX@/usr/lib/gcc-lib/" - GCCLIBPREFIX_NEW = "@GENTOO_PORTAGE_EPREFIX@/usr/lib/gcc/" - - if (HAVE_GCC34) - GCCLIBPREFIX = GCCLIBPREFIX_NEW - else - GCCLIBPREFIX = GCCLIBPREFIX_OLD - - GCCLIB = GCCLIBPREFIX CHOST - - if (OLDCHOST != "") { - OLDGCCLIB1 = GCCLIBPREFIX_OLD OLDCHOST - OLDGCCLIB2 = GCCLIBPREFIX_NEW OLDCHOST - } - - # Get current gcc's version - pipe = "gcc -dumpversion" - assert(((pipe) | getline NEWVER), "(" pipe ") | getline NEWVER)") - close(pipe) - - if (NEWVER == "") { - eerror("Could not get gcc's version!") - exit 1 - } - - # Nothing to do ? - # NB: Do not check for (OLDVER == NEWVER) anymore, as we might need to - # replace libstdc++.la .... - if ((OLDVER == "") && (OLDCHOST == "")) - exit 0 - - # - # Ok, now let's scan for the .la files and actually fix them up - # - for (x = 1; x <= LIBCOUNT; x++) { - # Do nothing if the target dir is gcc's internal library path - if (DIRLIST[x] ~ GCCLIBPREFIX_OLD || - DIRLIST[x] ~ GCCLIBPREFIX_NEW) - continue - - einfo(" [" x "/" LIBCOUNT "] Scanning " DIRLIST[x] " ...") - - pipe = "find " DIRLIST[x] "/ -name '*.la' 2>/dev/null" - while (((pipe) | getline la_files) > 0) { - - # Do nothing if the .la file is located in gcc's internal lib path - if (la_files ~ GCCLIBPREFIX_OLD || - la_files ~ GCCLIBPREFIX_NEW) - continue - - CHANGED = 0 - CHOST_CHANGED = 0 - - # See if we need to fix the .la file - while ((getline la_data < (la_files)) > 0) { - if (OLDCHOST != "") { - if ((gsub(OLDGCCLIB1 "[/[:space:]]+", - GCCLIB, la_data) > 0) || - (gsub(OLDGCCLIB2 "[/[:space:]]+", - GCCLIB, la_data) > 0)) { - CHANGED = 1 - CHOST_CHANGED = 1 - } - } - if (OLDVER != NEWVER) { - if ((gsub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "[/[:space:]]*", - GCCLIB "/" NEWVER, la_data) > 0) || - (gsub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "[/[:space:]]*", - GCCLIB "/" NEWVER, la_data) > 0)) - CHANGED = 1 - } - # We now check if we have libstdc++.la, as we remove the - # libtool linker scripts for gcc ... - # We do this last, as we only match the new paths - if (gsub(GCCLIB "/" NEWVER "/libstdc\\+\\+\\.la", - "-lstdc++", la_data) > 0) - CHANGED = 1 - } - close(la_files) - - # Do the actual changes in a second loop, as we can then - # verify that CHOST_CHANGED among things is correct ... - if (CHANGED) { - ewarnn(" FIXING: " la_files " ...[") - - # Clear the temp file (removing rather than '>foo' is better - # out of a security point of view?) - dosystem("rm -f " la_files ".new") - - while ((getline la_data < (la_files)) > 0) { - if (OLDCHOST != "") { - tmpstr = gensub(OLDGCCLIB1 "([/[:space:]]+)", - GCCLIB "\\1", "g", la_data) - tmpstr = gensub(OLDGCCLIB2 "([/[:space:]]+)", - GCCLIB "\\1", "g", tmpstr) - - if (la_data != tmpstr) { - printn("c") - la_data = tmpstr - } - - if (CHOST_CHANGED > 0) { - # We try to be careful about CHOST changes outside - # the gcc library path (meaning we cannot match it - # via /GCCLIBPREFIX CHOST/) ... - - # Catch: - # - # dependency_libs=' -L/usr/CHOST/{bin,lib}' - # - gsub("-L@GENTOO_PORTAGE_EPREFIX@/usr/" OLDCHOST "/", - "-L@GENTOO_PORTAGE_EPREFIX@/usr/" CHOST "/", la_data) - # Catch: - # - # dependency_libs=' -L/usr/lib/gcc-lib/CHOST/VER/../../../../CHOST/lib' - # - la_data = gensub("(" GCCLIB "/[^[:space:]]+)/" OLDCHOST "/", - "\\1/" CHOST "/", "g", la_data) - } - } - - if (OLDVER != NEWVER) { - # Catch: - # - # dependency_libs=' -L/usr/lib/gcc/CHOST/VER' - # - tmpstr = gensub(GCCLIBPREFIX_OLD CHOST "/" OLDVER "([/[:space:]]+)", - GCCLIB "/" NEWVER "\\1", "g", la_data) - tmpstr = gensub(GCCLIBPREFIX_NEW CHOST "/" OLDVER "([/[:space:]]+)", - GCCLIB "/" NEWVER "\\1", "g", tmpstr) - - if (la_data != tmpstr) { - # Catch: - # - # dependency_libs=' -L/usr/lib/gcc-lib/../../CHOST/lib' - # - # in cases where we have gcc34 - tmpstr = gensub(GCCLIBPREFIX_OLD "(../../" CHOST "/lib)", - GCCLIBPREFIX "\\1", "g", tmpstr) - tmpstr = gensub(GCCLIBPREFIX_NEW "(../../" CHOST "/lib)", - GCCLIBPREFIX "\\1", "g", tmpstr) - printn("v") - la_data = tmpstr - } - } - - # We now check if we have libstdc++.la, as we remove the - # libtool linker scripts for gcc and any referencese in any - # libtool linker scripts. - # We do this last, as we only match the new paths - tmpstr = gensub(GCCLIB "/" NEWVER "/libstdc\\+\\+\\.la", - "-lstdc++", "g", la_data); - if (la_data != tmpstr) { - printn("l") - la_data = tmpstr - } - - print la_data >> (la_files ".new") - } - - if (CHANGED) - print "]" - - close(la_files) - close(la_files ".new") - - assert(dosystem("mv -f " la_files ".new " la_files), - "dosystem(\"mv -f " la_files ".new " la_files "\")") - } - } - - close(pipe) - } -} - -# vim:ts=4 diff --git a/sys-devel/gcc/files/awk/scanforssp.awk b/sys-devel/gcc/files/awk/scanforssp.awk deleted file mode 100644 index e8a1fe8..0000000 --- a/sys-devel/gcc/files/awk/scanforssp.awk +++ /dev/null @@ -1,225 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# Author: Martin Schlemmer -# Contributor: Ned Ludd -# Contributor: Natanael Copa -# Contributor: Carter Smithhart -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/scanforssp.awk,v 1.7 2004/07/15 00:59:02 agriffis Exp $ - - -# Does not seem to be used in this script. -function printn(string) -{ - printf("%s", string) -} - -function einfo(string) -{ - printf(" %s %s%s", "\033[32;01m*\033[0m", string, "\n") -} - -# Does not seem to be used in this script. -function einfon(string) -{ - printf(" %s %s" , "\033[32;01m*\033[0m", string) -} - -function ewarn(string) -{ - printf(" %s %s%s" , "\033[33;01m*\033[0m", string, "\n") -} - -# Does not seem to be used in this script. -function ewarnn(string) -{ - printf("%s %s" , "\032[33;01m*\033[0m", string) -} - -function eerror(string) -{ - printf(" %s %s%s" , "\033[31;01m*\033[0m", string, "\n") -} - - # These are private, else wierd things - # might happen ... -function iself(scan_files, scan_file_pipe, scan_data) { - # Can we open() a file and read() 4 bytes? - scan_file_pipe = ("head -c 4 " scan_files " 2>/dev/null | tail -c 3") - scan_file_pipe | getline scan_data - close(scan_file_pipe) - return ((scan_data == "ELF") ? 0 : 1) -} - -BEGIN { - # Do we have etcat ? - pipe = ("which etcat 2>/dev/null") - if ((((pipe) | getline etcat_data) > 0) && (etcat_data != "")) - auto_etcat = 1 - else - auto_etcat = 0 - - # Fix bug that causes script to fail when pipe is not closed. Closes bug #36792 - close(pipe) - - DIRCOUNT = 0 - # Add the two default library paths - DIRLIST[1] = "/lib" - DIRLIST[2] = "/usr/lib" - - # Walk /etc/ld.so.conf line for line and get any library paths - pipe = ("cat /etc/ld.so.conf 2>/dev/null | sort") - while(((pipe) | getline ldsoconf_data) > 0) { - - if (ldsoconf_data !~ /^[[:space:]]*#/) { - - if (ldsoconf_data == "") continue - - # Remove any trailing comments - sub(/#.*$/, "", ldsoconf_data) - # Remove any trailing spaces - sub(/[[:space:]]+$/, "", ldsoconf_data) - - split(ldsoconf_data, nodes, /[:,[:space:]]/) - - # Now add the rest from ld.so.conf - for (x in nodes) { - - sub(/=.*/, "", nodes[x]) - sub(/\/$/, "", nodes[x]) - - if (nodes[x] == "") continue - - CHILD = 0 - - # Drop the directory if its a child directory of - # one that was already added ... - for (y in DIRLIST) { - - if (nodes[x] ~ "^" DIRLIST[y]) { - - CHILD = 1 - break - } - } - - if (CHILD) continue - - DIRLIST[++DIRCOUNT + 2] = nodes[x] - } - } - } - -# We have no guarantee that ld.so.conf have more library paths than -# the default, and its better scan files only in /lib and /usr/lib -# than nothing at all ... -# -# exit_val = close(pipe) -# if (exit_val != 0) -# print(exit_val " - " ERRNO) -# -# if (DIRCOUNT == 0) { -# eerror("Could not read from /etc/ld.so.conf!") -# exit 1 -# } - - # Correct DIRCOUNT, as we already added /lib and /usr/lib - DIRCOUNT += 2 - - # Add all the dirs in $PATH - split(ENVIRON["PATH"], TMPPATHLIST, ":") - count = asort(TMPPATHLIST, PATHLIST) - for (x = 1;x <= count;x++) { - - ADDED = 0 - - # Already added? - for (dnode in DIRLIST) - if (PATHLIST[x] == DIRLIST[dnode]) - ADDED = 1 - - if (ADDED) - continue - - # Valid? If so, add it ... - if (((PATHLIST[x] != "") && (PATHLIST[x] != "/") && (PATHLIST[x] != "."))) - DIRLIST[++DIRCOUNT] = PATHLIST[x] - - } - - GCCLIBPREFIX = "/usr/lib/gcc-lib/" - - for (x = 1;x <= DIRCOUNT;x++) { - - # Do nothing if the target dir is gcc's internal library path - if (DIRLIST[x] ~ GCCLIBPREFIX) continue - - einfo(" Scanning " ((x <= 9) ? "0"x : x)" of " DIRCOUNT " " DIRLIST[x] "...") - - pipe = ("find " DIRLIST[x] "/ -type f -perm -1 2>/dev/null") - while ( (pipe | getline scan_files) > 0) { - - #print scan_files - # Do nothing if the file is located in gcc's internal lib path ... - if (scan_files ~ GCCLIBPREFIX) continue - # Or if its hardend files ... - if (scan_files ~ "/lib/libgcc-3" ) continue - # Or not a elf image ... - if (iself(scan_files)) continue - - scan_file_pipe = ("readelf -s " scan_files " 2>&1") - while (((scan_file_pipe) | getline scan_data) > 0) { - bad = 0; - if (scan_data ~ /__guard@GCC/ || scan_data ~ /__guard@@GCC/) { - bad = 1; - print - - # 194: 00000000 32 OBJECT GLOBAL DEFAULT UND __guard@GCC_3.0 (3) - # 59: 00008ee0 32 OBJECT GLOBAL DEFAULT 22 __guard@@GCC_3.0 - split(scan_data, scan_data_nodes) - ewarn("Found " scan_data_nodes[8] " in " scan_files "!") - print - } - if (scan_data ~ /readelf: Error: Unable to seek/) { - bad = 1; - print - ewarn("Error executing readelf. Bad block? Filesystem error? in " scan_files) - print - } - - if (bad) { - - if (auto_etcat) { - - # Use etcat that comes with gentoolkit if auto_etcat is true. - etcat_pipe = ("etcat belongs " scan_files) - (etcat_pipe) | getline etcat_belongs - - while(((etcat_pipe) | getline etcat_belongs) > 0) - eerror(etcat_belongs != "" ? "Please emerge '>=" etcat_belongs "'": "") - close(etcat_pipe) - } else { - - eerror("You need to remerge package that above file belongs to!") - eerror("To find out what package it is, please emerge gentoolkit,") - eerror("and then run:") - print - print " # etcat belongs " scan_files - } - - print - - close(scan_file_pipe) - close(pipe) - exit(1) - } - } - close(scan_file_pipe) - } - close(pipe) - } - - exit(0) -} - - -# vim:ts=4 diff --git a/sys-devel/gcc/files/c89 b/sys-devel/gcc/files/c89 deleted file mode 100644 index cee0325..0000000 --- a/sys-devel/gcc/files/c89 +++ /dev/null @@ -1,20 +0,0 @@ -#! /bin/sh - -# Call the appropriate C compiler with options to accept ANSI/ISO C -# The following options are the same (as of gcc-2.95): -# -ansi -# -std=c89 -# -std=iso9899:1990 - -for i; do - case "$i" in - -ansi|-std=c89|-std=iso9899:1990) - ;; - -std=*) - echo >&2 "`basename $0` called with non ANSI/ISO C90 option $i" - exit 1 - ;; - esac -done - -exec gcc -std=c89 -pedantic -U_FORTIFY_SOURCE "$@" diff --git a/sys-devel/gcc/files/c99 b/sys-devel/gcc/files/c99 deleted file mode 100644 index c954209..0000000 --- a/sys-devel/gcc/files/c99 +++ /dev/null @@ -1,21 +0,0 @@ -#! /bin/sh - -# Call the appropriate C compiler with options to accept ANSI/ISO C -# The following options are the same (as of gcc-3.3): -# -std=c99 -# -std=c9x -# -std=iso9899:1999 -# -std=iso9899:199x - -for i; do - case "$i" in - -std=c9[9x]|-std=iso9899:199[9x]) - ;; - -ansi|-std=*) - echo >&2 "`basename $0` called with non ANSI/ISO C99 option $i" - exit 1 - ;; - esac -done - -exec gcc -std=c99 -pedantic -U_FORTIFY_SOURCE ${1+"$@"} diff --git a/sys-devel/gcc/files/fix_libtool_files.sh b/sys-devel/gcc/files/fix_libtool_files.sh deleted file mode 100644 index 4a89bae..0000000 --- a/sys-devel/gcc/files/fix_libtool_files.sh +++ /dev/null @@ -1,69 +0,0 @@ -#!@GENTOO_PORTAGE_EPREFIX@/bin/sh -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/fix_libtool_files.sh,v 1.17 2014/05/20 08:00:40 rhill Exp $ - -usage() { -cat << "USAGE_END" -Usage: fix_libtool_files.sh [--oldarch ] - - Where is the version number of the - previous gcc version. For example, if you updated to - gcc-3.2.1, and you had gcc-3.2 installed, run: - - # fix_libtool_files.sh 3.2 - - If you updated to gcc-3.2.3, and the old CHOST was i586-pc-linux-gnu - but you now have CHOST as i686-pc-linux-gnu, run: - - # fix_libtool_files.sh 3.2 --oldarch i586-pc-linux-gnu - - Note that if only the CHOST and not the version changed, you can run - it with the current version and the '--oldarch ' arguments, - and it will do the expected: - - # fix_libtool_files.sh `gcc -dumpversion` --oldarch i586-pc-linux-gnu - -USAGE_END - exit 1 -} - -case $2 in ---oldarch) [ $# -ne 3 ] && usage ;; -*) [ $# -ne 1 ] && usage ;; -esac - -ARGV1=$1 -ARGV2=$2 -ARGV3=$3 - -. "@GENTOO_PORTAGE_EPREFIX@"/etc/profile || exit 1 -. "@GENTOO_PORTAGE_EPREFIX@"/etc/init.d/functions.sh || exit 1 - -# Prefix: no! -#if [ ${EUID:-0} -ne 0 ] ; then -# eerror "${0##*/}: Must be root." -# exit 1 -#fi - -# make sure the files come out sane -umask 0022 - -OLDCHOST= -[ "${ARGV2}" = "--oldarch" ] && OLDCHOST=${ARGV3} - -AWKDIR="@GENTOO_PORTAGE_EPREFIX@/usr/share/gcc-data" - -if [ ! -r "${AWKDIR}/fixlafiles.awk" ] ; then - eerror "${0##*/}: ${AWKDIR}/fixlafiles.awk does not exist!" - exit 1 -fi - -OLDVER=${ARGV1} - -export OLDVER OLDCHOST - -einfo "Scanning libtool files for hardcoded gcc library paths..." -exec gawk -f "${AWKDIR}/fixlafiles.awk" - -# vim:ts=4 diff --git a/sys-devel/gcc/files/gcc-4.7-rap.patch b/sys-devel/gcc/files/gcc-4.7-rap.patch deleted file mode 100644 index 36d925a..0000000 --- a/sys-devel/gcc/files/gcc-4.7-rap.patch +++ /dev/null @@ -1,37 +0,0 @@ -Index: gcc-4.7.2/gcc/config/i386/linux64.h -=================================================================== ---- gcc-4.7.2.orig/gcc/config/i386/linux64.h -+++ gcc-4.7.2/gcc/config/i386/linux64.h -@@ -28,6 +28,6 @@ see the files COPYING3 and COPYING.RUNTI - #define GNU_USER_LINK_EMULATION64 "elf_x86_64" - #define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64" - --#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" --#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2" --#define GLIBC_DYNAMIC_LINKERX32 "/libx32/ld-linux-x32.so.2" -+#define GLIBC_DYNAMIC_LINKER32 "@GENTOO_PORTAGE_EPREFIX@/lib/ld-linux.so.2" -+#define GLIBC_DYNAMIC_LINKER64 "@GENTOO_PORTAGE_EPREFIX@/lib64/ld-linux-x86-64.so.2" -+#define GLIBC_DYNAMIC_LINKERX32 "@GENTOO_PORTAGE_EPREFIX@/libx32/ld-linux-x32.so.2" -Index: gcc-4.7.2/gcc/config/arm/linux-eabi.h -=================================================================== ---- gcc-4.7.2.orig/gcc/config/arm/linux-eabi.h -+++ gcc-4.7.2/gcc/config/arm/linux-eabi.h -@@ -69,8 +69,8 @@ - GLIBC_DYNAMIC_LINKER_DEFAULT and TARGET_DEFAULT_FLOAT_ABI. */ - - #undef GLIBC_DYNAMIC_LINKER --#define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT "/lib/ld-linux.so.3" --#define GLIBC_DYNAMIC_LINKER_HARD_FLOAT "/lib/ld-linux-armhf.so.3" -+#define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT "@GENTOO_PORTAGE_EPREFIX@/lib/ld-linux.so.3" -+#define GLIBC_DYNAMIC_LINKER_HARD_FLOAT "@GENTOO_PORTAGE_EPREFIX@/lib/ld-linux-armhf.so.3" - #define GLIBC_DYNAMIC_LINKER_DEFAULT GLIBC_DYNAMIC_LINKER_SOFT_FLOAT - - #define GLIBC_DYNAMIC_LINKER \ ---- a/gcc/config/i386/linux.h 2011-06-04 03:30:39.000000000 +0900 -+++ b/gcc/config/i386/linux.h.new 2013-07-16 19:55:09.610399047 +0900 -@@ -21,4 +21,4 @@ along with GCC; see the file COPYING3. - . */ - - #define GNU_USER_LINK_EMULATION "elf_i386" --#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" -+#define GLIBC_DYNAMIC_LINKER "@GENTOO_PORTAGE_EPREFIX@/lib/ld-linux.so.2" diff --git a/sys-devel/gcc/files/gcc-4.9-extra-specs.patch b/sys-devel/gcc/files/gcc-4.9-extra-specs.patch deleted file mode 100644 index 98f65d8..0000000 --- a/sys-devel/gcc/files/gcc-4.9-extra-specs.patch +++ /dev/null @@ -1,117 +0,0 @@ -diff --git a/gcc/Makefile.in b/gcc/Makefile.in -index 6ddc853..5d91333 100644 ---- a/gcc/Makefile.in -+++ b/gcc/Makefile.in -@@ -2059,7 +2059,8 @@ DRIVER_DEFINES = \ - @TARGET_SYSTEM_ROOT_DEFINE@ \ - $(VALGRIND_DRIVER_DEFINES) \ - `test "X$${SHLIB}" = "X" || test "@enable_shared@" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` \ -- -DCONFIGURE_SPECS="\"@CONFIGURE_SPECS@\"" -+ -DCONFIGURE_SPECS="\"@CONFIGURE_SPECS@\"" \ -+ -DCONFIGURE_EXTRA_SPECS="@CONFIGURE_EXTRA_SPECS@" - - gcc.o: gcc.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) intl.h multilib.h \ - Makefile $(lang_specs_files) specs.h prefix.h $(GCC_H) $(FLAGS_H) \ -diff --git a/gcc/configure b/gcc/configure -index 1e9be8e..8cab7d3 100755 ---- a/gcc/configure -+++ b/gcc/configure -@@ -757,6 +757,7 @@ SET_MAKE - REPORT_BUGS_TEXI - REPORT_BUGS_TO - PKGVERSION -+CONFIGURE_EXTRA_SPECS - CONFIGURE_SPECS - CROSS_SYSTEM_HEADER_DIR - TARGET_SYSTEM_ROOT_DEFINE -@@ -891,6 +892,7 @@ with_native_system_header_dir - with_build_sysroot - with_sysroot - with_specs -+with_extra_specs - with_pkgversion - with_bugurl - enable_languages -@@ -1662,6 +1664,11 @@ Optional Packages: - use sysroot as the system root during the build - --with-sysroot[=DIR] search for usr/lib, usr/include, et al, within DIR - --with-specs=SPECS add SPECS to driver command-line processing -+ --with-extra-specs=LIST A list of specs used to override the default. It -+ should be a suitable initializer for an array of -+ structures, each containing two strings, without the -+ outermost pair of surrounding braces. Do not use it -+ if you do not know what it is. - --with-pkgversion=PKG Use PKG in the version string in place of "GCC" - --with-bugurl=URL Direct users to URL to report a bug - --with-multilib-list select multilibs (AArch64, SH and x86-64 only) -@@ -7324,6 +7331,17 @@ fi - - - -+# Check whether --with-extra-specs was given. -+if test "${with_extra_specs+set}" = set; then : -+ withval=$with_extra_specs; CONFIGURE_EXTRA_SPECS=$withval -+else -+ CONFIGURE_EXTRA_SPECS= -+ -+fi -+ -+ -+ -+ - - # Check whether --with-pkgversion was given. - if test "${with_pkgversion+set}" = set; then : -@@ -17894,7 +17912,7 @@ else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF --#line 17897 "configure" -+#line 17915 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H -@@ -18000,7 +18018,7 @@ else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF --#line 18003 "configure" -+#line 18021 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H -diff --git a/gcc/configure.ac b/gcc/configure.ac -index 116ba13..590ca64 100644 ---- a/gcc/configure.ac -+++ b/gcc/configure.ac -@@ -813,6 +813,17 @@ AC_ARG_WITH(specs, - ) - AC_SUBST(CONFIGURE_SPECS) - -+AC_ARG_WITH(extra-specs, -+ [AS_HELP_STRING([--with-extra-specs=LIST], -+ [A list of specs used to override the default. It should be a suitable \ -+ initializer for an array of structures, each containing two strings, \ -+ without the outermost pair of surrounding braces. Do not use it if you \ -+ do not know what it is.])], -+ [CONFIGURE_EXTRA_SPECS=$withval], -+ [CONFIGURE_EXTRA_SPECS=] -+) -+AC_SUBST(CONFIGURE_EXTRA_SPECS) -+ - ACX_PKGVERSION([GCC]) - ACX_BUGURL([http://gcc.gnu.org/bugs.html]) - -diff --git a/gcc/gcc.c b/gcc/gcc.c -index 7c15cf3..778ae7d 100644 ---- a/gcc/gcc.c -+++ b/gcc/gcc.c -@@ -1318,7 +1318,7 @@ struct spec_list_1 - const char *const ptr; - }; - --static const struct spec_list_1 extra_specs_1[] = { EXTRA_SPECS }; -+static const struct spec_list_1 extra_specs_1[] = { EXTRA_SPECS, CONFIGURE_EXTRA_SPECS }; - static struct spec_list *extra_specs = (struct spec_list *) 0; - #endif - diff --git a/sys-devel/gcc/files/gcc-4.9.2-rap.patch b/sys-devel/gcc/files/gcc-4.9.2-rap.patch deleted file mode 100644 index 136a689..0000000 --- a/sys-devel/gcc/files/gcc-4.9.2-rap.patch +++ /dev/null @@ -1,535 +0,0 @@ -Index: gcc-4.9.2/gcc/config/i386/linux64.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/i386/linux64.h -+++ gcc-4.9.2/gcc/config/i386/linux64.h -@@ -27,6 +27,6 @@ see the files COPYING3 and COPYING.RUNTI - #define GNU_USER_LINK_EMULATION64 "elf_x86_64" - #define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64" - --#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" --#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2" --#define GLIBC_DYNAMIC_LINKERX32 "/libx32/ld-linux-x32.so.2" -+#define GLIBC_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.2" -+#define GLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "/lib64/ld-linux-x86-64.so.2" -+#define GLIBC_DYNAMIC_LINKERX32 DYNAMIC_LINKER_PREFIX "/libx32/ld-linux-x32.so.2" -Index: gcc-4.9.2/gcc/config/arm/linux-eabi.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/arm/linux-eabi.h -+++ gcc-4.9.2/gcc/config/arm/linux-eabi.h -@@ -68,8 +68,8 @@ - GLIBC_DYNAMIC_LINKER_DEFAULT and TARGET_DEFAULT_FLOAT_ABI. */ - - #undef GLIBC_DYNAMIC_LINKER --#define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT "/lib/ld-linux.so.3" --#define GLIBC_DYNAMIC_LINKER_HARD_FLOAT "/lib/ld-linux-armhf.so.3" -+#define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.3" -+#define GLIBC_DYNAMIC_LINKER_HARD_FLOAT DYNAMIC_LINKER_PREFIX "/lib/ld-linux-armhf.so.3" - #define GLIBC_DYNAMIC_LINKER_DEFAULT GLIBC_DYNAMIC_LINKER_SOFT_FLOAT - - #define GLIBC_DYNAMIC_LINKER \ -Index: gcc-4.9.2/gcc/config/i386/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/i386/linux.h -+++ gcc-4.9.2/gcc/config/i386/linux.h -@@ -20,4 +20,4 @@ along with GCC; see the file COPYING3. - . */ - - #define GNU_USER_LINK_EMULATION "elf_i386" --#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.2" -Index: gcc-4.9.2/gcc/config.in -=================================================================== ---- gcc-4.9.2.orig/gcc/config.in -+++ gcc-4.9.2/gcc/config.in -@@ -39,6 +39,12 @@ - #endif - - -+/* root directory of the dynamic linker */ -+#ifndef USED_FOR_TARGET -+#undef DYNAMIC_LINKER_PREFIX -+#endif -+ -+ - /* Define if you want assertions enabled. This is a cheap check. */ - #ifndef USED_FOR_TARGET - #undef ENABLE_ASSERT_CHECKING -Index: gcc-4.9.2/gcc/configure -=================================================================== ---- gcc-4.9.2.orig/gcc/configure -+++ gcc-4.9.2/gcc/configure -@@ -894,6 +894,7 @@ enable_objc_gc - with_dwarf2 - enable_shared - with_native_system_header_dir -+with_dynamic_linker_prefix - with_build_sysroot - with_sysroot - with_specs -@@ -1682,6 +1683,8 @@ Optional Packages: - --with-native-system-header-dir=dir - use dir as the directory to look for standard - system header files in. Defaults to /usr/include. -+ --with-dynamic-linker-prefix=dir -+ use dir as the root directory of the dynamic linker. - --with-build-sysroot=sysroot - use sysroot as the system root during the build - --with-sysroot[=DIR] search for usr/lib, usr/include, et al, within DIR -@@ -7154,6 +7157,22 @@ fi - - - -+# Check whether --with-dynamic-linker-prefix was given. -+if test "${with_dynamic_linker_prefix+set}" = set; then : -+ withval=$with_dynamic_linker_prefix; if test x"$withval" != x ; then -+ DYNAMIC_LINKER_PREFIX="$withval" -+ fi -+else -+ DYNAMIC_LINKER_PREFIX= -+fi -+ -+ -+cat >>confdefs.h <<_ACEOF -+#define DYNAMIC_LINKER_PREFIX "$DYNAMIC_LINKER_PREFIX" -+_ACEOF -+ -+ -+ - # Check whether --with-build-sysroot was given. - if test "${with_build_sysroot+set}" = set; then : - withval=$with_build_sysroot; if test x"$withval" != x ; then -@@ -17936,7 +17955,7 @@ else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF --#line 17939 "configure" -+#line 17958 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H -@@ -18042,7 +18061,7 @@ else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF --#line 18045 "configure" -+#line 18064 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H -Index: gcc-4.9.2/gcc/configure.ac -=================================================================== ---- gcc-4.9.2.orig/gcc/configure.ac -+++ gcc-4.9.2/gcc/configure.ac -@@ -751,6 +751,16 @@ AC_ARG_WITH([native-system-header-dir], - configured_native_system_header_dir="${withval}" - ], [configured_native_system_header_dir=]) - -+AC_ARG_WITH([dynamic-linker-prefix], -+ [AS_HELP_STRING([--with-dynamic-linker-prefix=dir], -+ [use dir as the root directory of the dynamic linker.])], -+ [if test x"$withval" != x ; then -+ DYNAMIC_LINKER_PREFIX="$withval" -+ fi], -+ [DYNAMIC_LINKER_PREFIX=]) -+AC_DEFINE_UNQUOTED(DYNAMIC_LINKER_PREFIX, "$DYNAMIC_LINKER_PREFIX", -+ [root directory of the dynamic linker]) -+ - AC_ARG_WITH(build-sysroot, - [AS_HELP_STRING([--with-build-sysroot=sysroot], - [use sysroot as the system root during the build])], -Index: gcc-4.9.2/gcc/config/aarch64/aarch64-linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/aarch64/aarch64-linux.h -+++ gcc-4.9.2/gcc/config/aarch64/aarch64-linux.h -@@ -21,7 +21,7 @@ - #ifndef GCC_AARCH64_LINUX_H - #define GCC_AARCH64_LINUX_H - --#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64%{mbig-endian:_be}.so.1" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux-aarch64%{mbig-endian:_be}.so.1" - - #define CPP_SPEC "%{pthread:-D_REENTRANT}" - -Index: gcc-4.9.2/gcc/config/alpha/linux-elf.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/alpha/linux-elf.h -+++ gcc-4.9.2/gcc/config/alpha/linux-elf.h -@@ -24,7 +24,7 @@ along with GCC; see the file COPYING3. - { "elf_dynamic_linker", ELF_DYNAMIC_LINKER }, - - #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" --#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" -+#define UCLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-uClibc.so.0" - #if DEFAULT_LIBC == LIBC_UCLIBC - #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" - #elif DEFAULT_LIBC == LIBC_GLIBC -Index: gcc-4.9.2/gcc/config/arm/linux-elf.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/arm/linux-elf.h -+++ gcc-4.9.2/gcc/config/arm/linux-elf.h -@@ -62,7 +62,7 @@ - - #define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc" - --#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.2" - - #define LINUX_TARGET_LINK_SPEC "%{h*} \ - %{static:-Bstatic} \ -Index: gcc-4.9.2/gcc/config/c6x/uclinux-elf.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/c6x/uclinux-elf.h -+++ gcc-4.9.2/gcc/config/c6x/uclinux-elf.h -@@ -36,7 +36,7 @@ - #define STARTFILE_SPEC \ - "%{!shared:crt1%O%s} crti%O%s %{shared|pie:crtbeginS.o%s;:crtbegin.o%s}" - --#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" -+#define UCLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-uClibc.so.0" - - #undef LINK_SPEC - #define LINK_SPEC ENDIAN_LINK_SPEC \ -Index: gcc-4.9.2/gcc/config/cris/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/cris/linux.h -+++ gcc-4.9.2/gcc/config/cris/linux.h -@@ -102,7 +102,7 @@ along with GCC; see the file COPYING3. - #undef CRIS_DEFAULT_CPU_VERSION - #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG - --#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" - - #undef CRIS_LINK_SUBTARGET_SPEC - #define CRIS_LINK_SUBTARGET_SPEC \ -Index: gcc-4.9.2/gcc/config/freebsd-spec.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/freebsd-spec.h -+++ gcc-4.9.2/gcc/config/freebsd-spec.h -@@ -128,9 +128,9 @@ is built with the --enable-threads confi - #endif - - #if FBSD_MAJOR < 6 --#define FBSD_DYNAMIC_LINKER "/usr/libexec/ld-elf.so.1" -+#define FBSD_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/usr/libexec/ld-elf.so.1" - #else --#define FBSD_DYNAMIC_LINKER "/libexec/ld-elf.so.1" -+#define FBSD_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/libexec/ld-elf.so.1" - #endif - - /* NOTE: The freebsd-spec.h header is included also for various -Index: gcc-4.9.2/gcc/config/frv/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/frv/linux.h -+++ gcc-4.9.2/gcc/config/frv/linux.h -@@ -34,7 +34,7 @@ - #define ENDFILE_SPEC \ - "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s" - --#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" - - #undef LINK_SPEC - #define LINK_SPEC "\ -Index: gcc-4.9.2/gcc/config/i386/gnu.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/i386/gnu.h -+++ gcc-4.9.2/gcc/config/i386/gnu.h -@@ -22,7 +22,7 @@ along with GCC. If not, see . */ - - #define GNU_USER_LINK_EMULATION "elf_i386_fbsd" --#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" -Index: gcc-4.9.2/gcc/config/ia64/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/ia64/linux.h -+++ gcc-4.9.2/gcc/config/ia64/linux.h -@@ -55,7 +55,7 @@ do { \ - /* Define this for shared library support because it isn't in the main - linux.h file. */ - --#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-ia64.so.2" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux-ia64.so.2" - - #undef LINK_SPEC - #define LINK_SPEC "\ -Index: gcc-4.9.2/gcc/config/knetbsd-gnu.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/knetbsd-gnu.h -+++ gcc-4.9.2/gcc/config/knetbsd-gnu.h -@@ -32,4 +32,4 @@ along with GCC; see the file COPYING3. - - - #undef GNU_USER_DYNAMIC_LINKER --#define GNU_USER_DYNAMIC_LINKER "/lib/ld.so.1" -+#define GNU_USER_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" -Index: gcc-4.9.2/gcc/config/kopensolaris-gnu.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/kopensolaris-gnu.h -+++ gcc-4.9.2/gcc/config/kopensolaris-gnu.h -@@ -31,4 +31,4 @@ along with GCC; see the file COPYING3. - while (0) - - #undef GNU_USER_DYNAMIC_LINKER --#define GNU_USER_DYNAMIC_LINKER "/lib/ld.so.1" -+#define GNU_USER_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" -Index: gcc-4.9.2/gcc/config/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/linux.h -+++ gcc-4.9.2/gcc/config/linux.h -@@ -73,11 +73,11 @@ see the files COPYING3 and COPYING.RUNTI - GLIBC_DYNAMIC_LINKER must be defined for each target using them, or - GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets - supporting both 32-bit and 64-bit compilation. */ --#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" -+#define UCLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-uClibc.so.0" - #define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0" - #define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0" - #define UCLIBC_DYNAMIC_LINKERX32 "/lib/ldx32-uClibc.so.0" --#define BIONIC_DYNAMIC_LINKER "/system/bin/linker" -+#define BIONIC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/system/bin/linker" - #define BIONIC_DYNAMIC_LINKER32 "/system/bin/linker" - #define BIONIC_DYNAMIC_LINKER64 "/system/bin/linker64" - #define BIONIC_DYNAMIC_LINKERX32 "/system/bin/linkerx32" -Index: gcc-4.9.2/gcc/config/m32r/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/m32r/linux.h -+++ gcc-4.9.2/gcc/config/m32r/linux.h -@@ -37,7 +37,7 @@ - When the -shared link option is used a final link is not being - done. */ - --#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.2" - - #undef LINK_SPEC - #if TARGET_LITTLE_ENDIAN -Index: gcc-4.9.2/gcc/config/m68k/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/m68k/linux.h -+++ gcc-4.9.2/gcc/config/m68k/linux.h -@@ -71,7 +71,7 @@ along with GCC; see the file COPYING3. - When the -shared link option is used a final link is not being - done. */ - --#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" - - #undef LINK_SPEC - #define LINK_SPEC "-m m68kelf %{shared} \ -Index: gcc-4.9.2/gcc/config/microblaze/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/microblaze/linux.h -+++ gcc-4.9.2/gcc/config/microblaze/linux.h -@@ -25,7 +25,7 @@ - #undef TLS_NEEDS_GOT - #define TLS_NEEDS_GOT 1 - --#define DYNAMIC_LINKER "/lib/ld.so.1" -+#define DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" - #undef SUBTARGET_EXTRA_SPECS - #define SUBTARGET_EXTRA_SPECS \ - { "dynamic_linker", DYNAMIC_LINKER } -Index: gcc-4.9.2/gcc/config/mips/linux64.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/mips/linux64.h -+++ gcc-4.9.2/gcc/config/mips/linux64.h -@@ -38,7 +38,7 @@ along with GCC; see the file COPYING3. - #define UCLIBC_DYNAMIC_LINKERN32 \ - "%{mnan=2008:/lib32/ld-uClibc-mipsn8.so.0;:/lib32/ld-uClibc.so.0}" - --#define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32" -+#define BIONIC_DYNAMIC_LINKERN32 DYNAMIC_LINKER_PREFIX "/system/bin/linker32" - #define GNU_USER_DYNAMIC_LINKERN32 \ - CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32, \ - BIONIC_DYNAMIC_LINKERN32) -Index: gcc-4.9.2/gcc/config/mn10300/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/mn10300/linux.h -+++ gcc-4.9.2/gcc/config/mn10300/linux.h -@@ -32,7 +32,7 @@ - #undef ASM_SPEC - #define ASM_SPEC "" - --#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" - - #undef LINK_SPEC - #define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \ -Index: gcc-4.9.2/gcc/config/nios2/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/nios2/linux.h -+++ gcc-4.9.2/gcc/config/nios2/linux.h -@@ -26,7 +26,7 @@ - } \ - while (0) - --#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-nios2.so.1" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux-nios2.so.1" - - #undef LINK_SPEC - #define LINK_SPEC LINK_SPEC_ENDIAN \ -Index: gcc-4.9.2/gcc/config/pa/pa-linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/pa/pa-linux.h -+++ gcc-4.9.2/gcc/config/pa/pa-linux.h -@@ -40,7 +40,7 @@ along with GCC; see the file COPYING3. - /* Define this for shared library support because it isn't in the main - linux.h file. */ - --#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" - - #undef LINK_SPEC - #define LINK_SPEC "\ -Index: gcc-4.9.2/gcc/config/rs6000/freebsd64.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/rs6000/freebsd64.h -+++ gcc-4.9.2/gcc/config/rs6000/freebsd64.h -@@ -154,8 +154,8 @@ extern int dot_symbols; - { "link_os_freebsd_spec32", LINK_OS_FREEBSD_SPEC32 }, \ - { "link_os_freebsd_spec64", LINK_OS_FREEBSD_SPEC64 }, - --#define FREEBSD_DYNAMIC_LINKER32 "/libexec/ld-elf32.so.1" --#define FREEBSD_DYNAMIC_LINKER64 "/libexec/ld-elf.so.1" -+#define FREEBSD_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/libexec/ld-elf32.so.1" -+#define FREEBSD_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "/libexec/ld-elf.so.1" - - #define LINK_OS_FREEBSD_SPEC_DEF32 "\ - %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \ -Index: gcc-4.9.2/gcc/config/rs6000/linux64.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/rs6000/linux64.h -+++ gcc-4.9.2/gcc/config/rs6000/linux64.h -@@ -367,14 +367,14 @@ extern int dot_symbols; - #undef LINK_OS_DEFAULT_SPEC - #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)" - --#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1" -+#define GLIBC_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" - #ifdef LINUX64_DEFAULT_ABI_ELFv2 --#define GLIBC_DYNAMIC_LINKER64 "%{mabi=elfv1:/lib64/ld64.so.1;:/lib64/ld64.so.2}" -+#define GLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "%{mabi=elfv1:/lib64/ld64.so.1;:/lib64/ld64.so.2}" - #else --#define GLIBC_DYNAMIC_LINKER64 "%{mabi=elfv2:/lib64/ld64.so.2;:/lib64/ld64.so.1}" -+#define GLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "%{mabi=elfv2:/lib64/ld64.so.2;:/lib64/ld64.so.1}" - #endif --#define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0" --#define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0" -+#define UCLIBC_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/lib/ld-uClibc.so.0" -+#define UCLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "/lib/ld64-uClibc.so.0" - #if DEFAULT_LIBC == LIBC_UCLIBC - #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" - #elif DEFAULT_LIBC == LIBC_GLIBC -Index: gcc-4.9.2/gcc/config/rs6000/sysv4.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/rs6000/sysv4.h -+++ gcc-4.9.2/gcc/config/rs6000/sysv4.h -@@ -761,8 +761,8 @@ ENDIAN_SELECT(" -mbig", " -mlittle", DEF - - #define LINK_START_LINUX_SPEC "" - --#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" --#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" -+#define UCLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-uClibc.so.0" - #if DEFAULT_LIBC == LIBC_UCLIBC - #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:" G ";:" U "}" - #elif !defined (DEFAULT_LIBC) || DEFAULT_LIBC == LIBC_GLIBC -Index: gcc-4.9.2/gcc/config/s390/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/s390/linux.h -+++ gcc-4.9.2/gcc/config/s390/linux.h -@@ -60,8 +60,8 @@ along with GCC; see the file COPYING3. - #define MULTILIB_DEFAULTS { "m31" } - #endif - --#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1" --#define GLIBC_DYNAMIC_LINKER64 "/lib/ld64.so.1" -+#define GLIBC_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" -+#define GLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "/lib/ld64.so.1" - - #undef LINK_SPEC - #define LINK_SPEC \ -Index: gcc-4.9.2/gcc/config/sh/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/sh/linux.h -+++ gcc-4.9.2/gcc/config/sh/linux.h -@@ -43,7 +43,7 @@ along with GCC; see the file COPYING3. - - #define TARGET_ASM_FILE_END file_end_indicate_exec_stack - --#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.2" - - #undef SUBTARGET_LINK_EMUL_SUFFIX - #define SUBTARGET_LINK_EMUL_SUFFIX "_linux" -Index: gcc-4.9.2/gcc/config/sparc/linux64.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/sparc/linux64.h -+++ gcc-4.9.2/gcc/config/sparc/linux64.h -@@ -92,8 +92,8 @@ along with GCC; see the file COPYING3. - When the -shared link option is used a final link is not being - done. */ - --#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" --#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux.so.2" -+#define GLIBC_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.2" -+#define GLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "/lib64/ld-linux.so.2" - - #ifdef SPARC_BI_ARCH - -Index: gcc-4.9.2/gcc/config/sparc/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/sparc/linux.h -+++ gcc-4.9.2/gcc/config/sparc/linux.h -@@ -83,7 +83,7 @@ extern const char *host_detect_local_cpu - When the -shared link option is used a final link is not being - done. */ - --#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld-linux.so.2" - - #undef LINK_SPEC - #define LINK_SPEC "-m elf32_sparc %{shared:-shared} \ -Index: gcc-4.9.2/gcc/config/xtensa/linux.h -=================================================================== ---- gcc-4.9.2.orig/gcc/config/xtensa/linux.h -+++ gcc-4.9.2/gcc/config/xtensa/linux.h -@@ -44,7 +44,7 @@ along with GCC; see the file COPYING3. - %{mlongcalls:--longcalls} \ - %{mno-longcalls:--no-longcalls}" - --#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" -+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/lib/ld.so.1" - - #undef LINK_SPEC - #define LINK_SPEC \ diff --git a/sys-devel/gcc/files/gcc-configure-LANG.patch b/sys-devel/gcc/files/gcc-configure-LANG.patch deleted file mode 100644 index d1b1b03..0000000 --- a/sys-devel/gcc/files/gcc-configure-LANG.patch +++ /dev/null @@ -1,64 +0,0 @@ -The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in -option parsing, it may break. - -http://bugs.gentoo.org/103483 - ---- configure -+++ configure -@@ -54,6 +54,19 @@ - infodir='${prefix}/info' - mandir='${prefix}/man' - -+# NLS nuisances. -+for as_var in \ -+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ -+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ -+ LC_TELEPHONE LC_TIME -+do -+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then -+ eval $as_var=C; export $as_var -+ else -+ unset $as_var -+ fi -+done -+ - # Initialize some other variables. - subdirs= - MFLAGS= MAKEFLAGS= -@@ -452,16 +463,6 @@ - esac - done - --# NLS nuisances. --# Only set these to C if already set. These must not be set unconditionally --# because not all systems understand e.g. LANG=C (notably SCO). --# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! --# Non-C LC_CTYPE values break the ctype check. --if test "${LANG+set}" = set; then LANG=C; export LANG; fi --if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi --if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi --if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi -- - # confdefs.h avoids OS command line length limits that DEFS can exceed. - rm -rf conftest* confdefs.h - # AIX cpp loses on an empty file, so make sure it contains at least a newline. -@@ -1850,6 +1850,19 @@ - # Compiler output produced by configure, useful for debugging - # configure, is in ./config.log if it exists. - -+# NLS nuisances. -+for as_var in \ -+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ -+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ -+ LC_TELEPHONE LC_TIME -+do -+ if (set +x; test -z "`(eval \$as_var=C; export \$as_var) 2>&1`"); then -+ eval \$as_var=C; export \$as_var -+ else -+ unset \$as_var -+ fi -+done -+ - ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" - for ac_option - do diff --git a/sys-devel/gcc/files/gcc-configure-texinfo.patch b/sys-devel/gcc/files/gcc-configure-texinfo.patch deleted file mode 100644 index ddc098d..0000000 --- a/sys-devel/gcc/files/gcc-configure-texinfo.patch +++ /dev/null @@ -1,16 +0,0 @@ -Chances are quite good that the installed makeinfo is sufficient. -So ignore false positives where the makeinfo installed is so new -that it violates the cheesy version grep. - -http://bugs.gentoo.org/198182 - ---- configure -+++ configure -@@ -3573,6 +3573,6 @@ - : - else -- MAKEINFO="$MISSING makeinfo" -+ : - fi - ;; - diff --git a/sys-devel/gcc/files/gcc-spec-env-r1.patch b/sys-devel/gcc/files/gcc-spec-env-r1.patch deleted file mode 100644 index a589268..0000000 --- a/sys-devel/gcc/files/gcc-spec-env-r1.patch +++ /dev/null @@ -1,87 +0,0 @@ -2013-08-22 Magnus Granberg - - * gcc/gcc.c (main): Add support for external spec file via the GCC_SPECS env var - and move the process of the user specifed specs. - - This allows us to easily control pie/ssp defaults with gcc-config profiles. - Original patch by Rob Holland - Extended to support multiple entries separated by ':' by Kevin F. Quinn - Modified to use getenv instead of poisoned GET_ENVIRONMENT by Ryan Hill - Modified to process the GCC_SPECS env var befor DRIVER_SELF_SPECS by Magnus Granberg - ---- gcc-4.8-20130210/gcc/gcc.c 2013-02-05 16:55:31.000000000 +0100 -+++ gcc-4.8-20130210-work/gcc/gcc.c 2013-07-26 02:32:14.625089864 +0200 -@@ -6427,6 +6428,48 @@ main (int argc, char **argv) - do_option_spec (option_default_specs[i].name, - option_default_specs[i].spec); - -+#if !(defined (__MSDOS__) || defined (OS2) || defined (VMS) || defined (WIN32)) -+ /* Add specs listed in GCC_SPECS. Note; in the process of separating -+ * each spec listed, the string is overwritten at token boundaries -+ * (':') with '\0', an effect of strtok_r(). -+ */ -+ specs_file = getenv ("GCC_SPECS"); -+ if (specs_file && (strlen(specs_file) > 0)) -+ { -+ char *spec, *saveptr; -+ for (spec=strtok_r(specs_file,":",&saveptr); -+ spec!=NULL; -+ spec=strtok_r(NULL,":",&saveptr)) -+ { -+ struct user_specs *user = (struct user_specs *) -+ xmalloc (sizeof (struct user_specs)); -+ user->next = (struct user_specs *) 0; -+ user->filename = spec; -+ if (user_specs_tail) -+ user_specs_tail->next = user; -+ else -+ user_specs_head = user; -+ user_specs_tail = user; -+ } -+ } -+#endif -+ /* Process any user specified specs in the order given on the command -+ * line. */ -+ for (uptr = user_specs_head; uptr; uptr = uptr->next) -+ { -+ char *filename = find_a_file (&startfile_prefixes, uptr->filename, -+ R_OK, true); -+ read_specs (filename ? filename : uptr->filename, false, true); -+ } -+ /* Process any user self specs. */ -+ { -+ struct spec_list *sl; -+ for (sl = specs; sl; sl = sl->next) -+ if (sl->name_len == sizeof "self_spec" - 1 -+ && !strcmp (sl->name, "self_spec")) -+ do_self_spec (*sl->ptr_spec); -+ } -+ - /* Process DRIVER_SELF_SPECS, adding any new options to the end - of the command line. */ - -@@ -6535,24 +6578,6 @@ main (int argc, char **argv) - PREFIX_PRIORITY_LAST, 0, 1); - } - -- /* Process any user specified specs in the order given on the command -- line. */ -- for (uptr = user_specs_head; uptr; uptr = uptr->next) -- { -- char *filename = find_a_file (&startfile_prefixes, uptr->filename, -- R_OK, true); -- read_specs (filename ? filename : uptr->filename, false, true); -- } -- -- /* Process any user self specs. */ -- { -- struct spec_list *sl; -- for (sl = specs; sl; sl = sl->next) -- if (sl->name_len == sizeof "self_spec" - 1 -- && !strcmp (sl->name, "self_spec")) -- do_self_spec (*sl->ptr_spec); -- } -- - if (compare_debug) - { - enum save_temps save; diff --git a/sys-devel/gcc/files/gcc-spec-env.patch b/sys-devel/gcc/files/gcc-spec-env.patch deleted file mode 100644 index 57e7567..0000000 --- a/sys-devel/gcc/files/gcc-spec-env.patch +++ /dev/null @@ -1,42 +0,0 @@ - Add support for external spec file via the GCC_SPECS env var. This - allows us to easily control pie/ssp defaults with gcc-config profiles. - - Original patch by Rob Holland - Extended to support multiple entries separated by ':' by Kevin F. Quinn - Modified to use getenv instead of poisoned GET_ENVIRONMENT by Ryan Hill - ---- gcc-4/gcc/gcc.c -+++ gcc-4/gcc/gcc.c -@@ -6482,6 +6482,32 @@ - - /* Process any user specified specs in the order given on the command - line. */ -+#if !(defined (__MSDOS__) || defined (OS2) || defined (VMS) || defined (WIN32)) -+ /* Add specs listed in GCC_SPECS. Note; in the process of separating -+ * each spec listed, the string is overwritten at token boundaries -+ * (':') with '\0', an effect of strtok_r(). -+ */ -+ specs_file = getenv ("GCC_SPECS"); -+ if (specs_file && (strlen(specs_file) > 0)) -+ { -+ char *spec, *saveptr; -+ for (spec=strtok_r(specs_file,":",&saveptr); -+ spec!=NULL; -+ spec=strtok_r(NULL,":",&saveptr)) -+ { -+ struct user_specs *user = (struct user_specs *) -+ xmalloc (sizeof (struct user_specs)); -+ -+ user->next = (struct user_specs *) 0; -+ user->filename = spec; -+ if (user_specs_tail) -+ user_specs_tail->next = user; -+ else -+ user_specs_head = user; -+ user_specs_tail = user; -+ } -+ } -+#endif - for (uptr = user_specs_head; uptr; uptr = uptr->next) - { - char *filename = find_a_file (&startfile_prefixes, uptr->filename, diff --git a/sys-devel/gcc/files/interix-3.5-stdint.h b/sys-devel/gcc/files/interix-3.5-stdint.h deleted file mode 100644 index ee9289f..0000000 --- a/sys-devel/gcc/files/interix-3.5-stdint.h +++ /dev/null @@ -1,301 +0,0 @@ -/* - * Copyright (c) 2002 Caldera International, Inc. All Rights Reserved. - * - * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF - * Caldera International, Inc. - * - * The copyright notice above does not evidence any actual or intended - * publication of such source code. - */ - -#ifndef _STDINT_H -#define _STDINT_H - -#ifndef _SIZE_T_DEFINED -#if defined (lp64) || defined(_WIN64) -typedef unsigned __int64 size_t; -#else -typedef unsigned int size_t; -#endif -#define _SIZE_T_DEFINED -#define _SIZE_T -#endif/*_SIZE_T_DEFINED*/ - -#ifndef _SSIZE_T_DEFINED -#if (defined(lp64) || defined(_WIN64)) -typedef __int64 ssize_t; -#else -typedef int ssize_t; -#endif -#define _SSIZE_T_DEFINED -#endif/*_SIZE_T_DEFINED*/ - - -#ifndef _INT8_T -#define _INT8_T -typedef signed char int8_t; -#endif -#ifndef _INT_LEAST8_T -#define _INT_LEAST8_T -typedef char int_least8_t; -#endif -#ifndef _INT_FAST8_T -#define _INT_FAST8_T -typedef int int_fast8_t; -#endif - -#ifndef _UINT8_T -#define _UINT8_T -typedef unsigned char uint8_t; -#endif -#ifndef _UINT_LEAST8_T -#define _UINT_LEAST8_T -typedef unsigned char uint_least8_t; -#endif -#ifndef _UINT_FAST8_T -#define _UINT_FAST8_T -typedef unsigned int uint_fast8_t; -#endif - -#ifndef _INT16_T -#define _INT16_T -typedef short int16_t; -#endif -#ifndef _INT_LEAST16_T -#define _INT_LEAST16_T -typedef short int_least16_t; -#endif -#ifndef _INT_FAST16_T -#define _INT_FAST16_T -typedef int int_fast16_t; -#endif - -#ifndef _UINT16_T -#define _UINT16_T -typedef unsigned short uint16_t; -#endif -#ifndef _UINT_LEAST16_T -#define _UINT_LEAST16_T -typedef unsigned short uint_least16_t; -#endif -#ifndef _UINT_FAST16_T -#define _UINT_FAST16_T -typedef unsigned int uint_fast16_t; -#endif - -#ifndef _INT32_T -#define _INT32_T -typedef int int32_t; -#endif -#ifndef _INT_LEAST32_T -#define _INT_LEAST32_T -typedef int int_least32_t; -#endif -#ifndef _INT_FAST32_T -#define _INT_FAST32_T -typedef int int_fast32_t; -#endif - -#ifndef _UINT32_T -#define _UINT32_T -typedef unsigned int uint32_t; -#endif -#ifndef _UINT_LEAST32_T -#define _UINT_LEAST32_T -typedef unsigned int uint_least32_t; -#endif -#ifndef _UINT_FAST32_T -#define _UINT_FAST32_T -typedef unsigned int uint_fast32_t; -#endif - -#if defined(lp64) - -#ifndef _INT64_T -#define _INT64_T -typedef long int64_t; -#endif -#ifndef _INT_LEAST64_T -#define _INT_LEAST64_T -typedef long int_least64_t; -#endif -#ifndef _INT_FAST64_T -#define _INT_FAST64_T -typedef long int_fast64_t; -#endif - -#ifndef _UINT64_T -#define _UINT64_T -typedef unsigned long uint64_t; -#endif -#ifndef _UINT_LEAST64_T -#define _UINT_LEAST64_T -typedef unsigned long uint_least64_t; -#endif -#ifndef _UINT_FAST64_T -#define _UINT_FAST64_T -typedef unsigned long uint_fast64_t; -#endif - -#else /*!#model(lp64)*/ - -#ifndef _INT64_T -#define _INT64_T -typedef long long int64_t; -#endif -#ifndef _INT_LEAST64_T -#define _INT_LEAST64_T -typedef long long int_least64_t; -#endif -#ifndef _INT_FAST64_T -#define _INT_FAST64_T -typedef long long int_fast64_t; -#endif - -#ifndef _UINT64_T -#define _UINT64_T -typedef unsigned long long uint64_t; -#endif -#ifndef _UINT_LEAST64_T -#define _UINT_LEAST64_T -typedef unsigned long long uint_least64_t; -#endif -#ifndef _UINT_FAST64_T -#define _UINT_FAST64_T -typedef unsigned long long uint_fast64_t; -#endif - -#endif /*#model(lp64)*/ - -#ifndef _INTPTR_T -#define _INTPTR_T -typedef ssize_t intptr_t; -#endif - -#ifndef _UINTPTR_T -#define _UINTPTR_T -typedef size_t uintptr_t; -#endif - -#ifndef _INTMAX_T -#define _INTMAX_T -#ifdef __GNUC__ -typedef long long int intmax_t; -#else -typedef __int64 intmax_t; -#endif /*__GNUC__*/ -#endif - -#ifndef _UINTMAX_T -#define _UINTMAX_T -#ifdef __GNUC__ -typedef unsigned long long int uintmax_t; -#else -typedef unsigned __int64 uintmax_t; -#endif /*__GNUC__*/ -#endif - -#if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) - -#define INT8_MAX 0x7f -#define INT16_MAX 0x7fff -#define INT32_MAX 0x7fffffff -#define INT64_MAX 0x7fffffffffffffff - -#define INT8_MIN (-INT8_MAX - 1) -#define INT16_MIN (-INT16_MAX - 1) -#define INT32_MIN (-INT32_MAX - 1) -#define INT64_MIN (-INT64_MAX - 1) - -#define UINT8_MAX 0xff -#define UINT16_MAX 0xffff -#define UINT32_MAX 0xffffffff -#define UINT64_MAX 0xffffffffffffffff - -#define INT_LEAST8_MIN INT8_MIN -#define INT_LEAST16_MIN INT16_MIN -#define INT_LEAST32_MIN INT32_MIN -#define INT_LEAST64_MIN INT64_MIN - -#define INT_LEAST8_MAX INT8_MAX -#define INT_LEAST16_MAX INT16_MAX -#define INT_LEAST32_MAX INT32_MAX -#define INT_LEAST64_MAX INT64_MAX - -#define UINT_LEAST8_MAX UINT8_MAX -#define UINT_LEAST16_MAX UINT16_MAX -#define UINT_LEAST32_MAX UINT32_MAX -#define UINT_LEAST64_MAX UINT64_MAX - -#define INT_FAST8_MIN INT32_MIN -#define INT_FAST16_MIN INT32_MIN -#define INT_FAST32_MIN INT32_MIN -#define INT_FAST64_MIN INT64_MIN - -#define INT_FAST8_MAX INT32_MAX -#define INT_FAST16_MAX INT32_MAX -#define INT_FAST32_MAX INT32_MAX -#define INT_FAST64_MAX INT64_MAX - -#define UINT_FAST8_MAX UINT32_MAX -#define UINT_FAST16_MAX UINT32_MAX -#define UINT_FAST32_MAX UINT32_MAX -#define UINT_FAST64_MAX UINT64_MAX - -#if defined(lp64) - -#define INTPTR_MIN INT64_MIN -#define INTPTR_MAX INT64_MAX -#define UINTPTR_MAX UINT64_MAX - -#define PTRDIFF_MIN INT64_MIN -#define PTRDIFF_MAX INT64_MAX - -#define SIZE_MAX INT64_MAX - -#else /*!#model(lp64)*/ - -#define INTPTR_MIN INT32_MIN -#define INTPTR_MAX INT32_MAX -#define UINTPTR_MAX UINT32_MAX - -#define PTRDIFF_MIN INT32_MIN -#define PTRDIFF_MAX INT32_MAX - -#define SIZE_MAX INT32_MAX - -#endif /*#model(lp64)*/ - -#define INTMAX_MIN INT64_MIN -#define INTMAX_MAX INT64_MAX -#define UINTMAX_MAX UINT64_MAX - -#define SIG_ATOMIC_MIN INT32_MIN -#define SIG_ATOMIC_MAX INT32_MAX - -#define WCHAR_MIN INT32_MIN -#define WCHAR_MAX INT32_MAX - -#define WINT_MIN INT32_MIN -#define WINT_MAX INT32_MAX - -#endif /*!defined(__cplusplus) || defined(__STDC_LIMIT_MACROS)*/ - -#if !defined(__cplusplus) || defined(__STDC_CONSTANT_MACROS) - -#define INT8_C(v) v -#define INT16_C(v) v -#define INT32_C(v) v -#define INT64_C(v) v##LL - -#define UINT8_C(v) v##U -#define UINT16_C(v) v##U -#define UINT32_C(v) v##U -#define UINT64_C(v) v##ULL - -#define INTMAX_C(v) v##LL -#define UINTMAX_C(v) v##ULL - -#endif /*!defined(__cplusplus) || defined(__STDC_CONSTANT_MACROS)*/ - -#endif /*_STDINT_H*/ diff --git a/sys-devel/gcc/files/mkinfodir b/sys-devel/gcc/files/mkinfodir deleted file mode 100644 index a62840e..0000000 --- a/sys-devel/gcc/files/mkinfodir +++ /dev/null @@ -1,233 +0,0 @@ -#!/bin/bash -# $Id: mkinfodir,v 1.1 2001/09/01 07:56:19 drobbins Exp $ -# Generate the top-level Info node, given a directory of Info files -# and (optionally) a skeleton file. The output will be suitable for a -# top-level dir file. The skeleton file contains info topic names in the -# order they should appear in the output. There are three special -# lines that alter the behavior: a line consisting of just "--" causes -# the next line to be echoed verbatim to the output. A line -# containing just "%%" causes all the remaining filenames (wildcards -# allowed) in the rest of the file to be ignored. A line containing -# just "!!" exits the script when reached (unless preceded by a line -# containing just "--"). Once the script reaches the end of the -# skeleton file, it goes through the remaining files in the directory -# in order, putting their entries at the end. The script will use the -# ENTRY information in each info file if it exists. Otherwise it will -# make a minimal entry. - -# sent by Jeffrey Osier , who thinks it came from -# zoo@winternet.com (david d `zoo' zuhn) - -# modified 7 April 1995 by Joe Harrington to -# take special flags - -INFODIR=$1 -if [ $# = 2 ] ; then - SKELETON=$2 -else - SKELETON=/dev/null -fi - -skip= - -if [ $# -gt 2 ] ; then - echo usage: $0 info-directory [ skeleton-file ] 1>&2 - exit 1 -elif [ -z "${INFODIR}" ] ; then - INFODIR="%%DEFAULT_INFO_DIR%%" -else - true -fi - -if [ ! -d ${INFODIR} ] ; then - echo "$0: first argument must specify a directory" - exit 1 -fi - -### output the dir header -echo "-*- Text -*-" -echo "This file was generated automatically by $0." -echo "This version was generated on `date`" -echo "by `whoami`@`hostname` for `(cd ${INFODIR}; pwd)`" - -cat << moobler -\$Id: mkinfodir,v 1.1 2001/09/01 07:56:19 drobbins Exp $ -This is the file .../info/dir, which contains the topmost node of the -Info hierarchy. The first time you invoke Info you start off -looking at that node, which is (dir)Top. - -File: dir Node: Top This is the top of the INFO tree - - This (the Directory node) gives a menu of major topics. - Typing "q" exits, "?" lists all Info commands, "d" returns here, - "h" gives a primer for first-timers, - "mEmacs" visits the Emacs topic, etc. - - In Emacs, you can click mouse button 2 on a menu item or cross reference - to select it. - -* Menu: The list of major topics begins on the next line. - -moobler - -### go through the list of files in the skeleton. If an info file -### exists, grab the ENTRY information from it. If an entry exists -### use it, otherwise create a minimal dir entry. -### -### Then remove that file from the list of existing files. If any -### additional files remain (ones that don't have a skeleton entry), -### then generate entries for those in the same way, putting the info for -### those at the end.... - -infofiles=`(cd ${INFODIR}; /bin/ls | grep -v '\-[0-9]*\.gz$' | grep -v '\-[0-9]*$' | egrep -v '^dir$|^dir\.info$|^dir\.orig$')` - -# echoing gets clobbered by backquotes; we do it the hard way... -lines=`wc $SKELETON | awk '{print $1}'` -line=1 -while [ $lines -ge $line ] ; do - # Read one line from the file. This is so that we can echo lines with - # whitespace and quoted characters in them. - fileline=`awk NR==$line $SKELETON` - - # flag fancy features - if [ ! -z "$echoline" ] ; then # echo line - echo "$fileline" - fileline= - echoline= - elif [ "${fileline}" = "--" ] ; then # should we echo the next line? - echoline=1 - elif [ "${fileline}" = "%%" ] ; then # eliminate remaining files from dir? - skip=1 - elif [ "${fileline}" = "!!" ] ; then # quit now - exit 0 - fi - - # handle files if they exist - for file in $fileline"" ; do # expand wildcards ("" handles blank lines) - - fname= - - if [ -z "$echoline" -a ! -z "$file" ] ; then - - # Find the file to operate upon. Check both possible names. - infoname=`echo $file | sed 's/\.gz$//'` - infoname=`echo $infoname | sed 's/\.info$//'` - noext= - ext= - if [ -f ${INFODIR}/$infoname ] ; then - noext=$infoname - fi - if [ -f ${INFODIR}/${infoname}.info ] ; then - ext=${infoname}.info - fi - if [ -f ${INFODIR}/${infoname}.info.gz ] ; then - ext=${infoname}.info.gz - fi - # If it exists with both names take what was said in the file. - if [ ! -z "$ext" -a ! -z "$noext" ]; then - fname=$file - warn="### Warning: $ext and $noext both exist! Using ${file}. ###" - elif [ ! \( -z "$ext" -a -z "$noext" \) ]; then - # just take the name if it exists only once - fname=${noext}${ext} - fi - - # if we found something and aren't skipping, do the entry - if [ ! -z "$fname" ] ; then - if [ -z "$skip" ] ; then - - if [ ! -z "$warn" ] ; then # issue any warning - echo $warn - warn= - fi - if [ "${fname##*.}" = "gz" ] ; then - entry=`zcat ${INFODIR}/${fname} | sed -e '1,/START-INFO-DIR-ENTRY/d' \ - -e '/END-INFO-DIR-ENTRY/,$d' ` - else - entry=`sed -e '1,/START-INFO-DIR-ENTRY/d' \ - -e '/END-INFO-DIR-ENTRY/,$d' ${INFODIR}/$fname` - fi - if [ ! -z "${entry}" ] ; then - echo "${entry}" - else - echo "* ${infoname}: (${infoname})." - fi - fi - - # remove the name from the directory listing - infofiles=`echo "" ${infofiles} "" | sed -e "s/ ${fname} / /" -e "s/ / /g"` - - fi - - fi - - done - - line=`expr $line + 1` -done - -if [ -z "${infofiles}" ] ; then - exit 0 -elif [ $lines -gt 0 ]; then - echo -fi - -# Sort remaining files by INFO-DIR-SECTION. -prevsect= -filesectdata=`(cd ${INFODIR}; fgrep INFO-DIR-SECTION /dev/null ${infofiles} | \ - fgrep -v 'INFO-DIR-SECTION Miscellaneous' | \ - sort -t: -k2 -k1 | tr ' ' '_')` -for sectdata in ${filesectdata}; do - file=`echo ${sectdata} | cut -d: -f1` - section=`sed -n -e 's/^INFO-DIR-SECTION //p' ${INFODIR}/${file}` - infofiles=`echo "" ${infofiles} "" | sed -e "s/ ${file} / /" -e "s/ / /g"` - - if [ "${prevsect}" != "${section}" ] ; then - if [ ! -z "${prevsect}" ] ; then - echo "" - fi - echo "${section}" - prevsect="${section}" - fi - infoname=`echo $file | sed 's/\.gz$//'` - infoname=`echo $infoname | sed 's/\.info$//'` - if [ "${file##*.}" = "gz" ] ; then - entry=`zcat ${INFODIR}/$file | sed -e '1,/START-INFO-DIR-ENTRY/d' \ - -e '/END-INFO-DIR-ENTRY/,$d' ` - else - entry=`sed -e '1,/START-INFO-DIR-ENTRY/d' \ - -e '/END-INFO-DIR-ENTRY/,$d' ${INFODIR}/$file` - fi - if [ ! -z "${entry}" ] ; then - echo "${entry}" - elif [ ! -d "${INFODIR}/${file}" ] ; then - echo "* ${infoname}: (${infoname})." - fi -done - -# Process miscellaneous files. -for file in ${infofiles}; do - if [ ! -z "${prevsect}" ] ; then - echo "" - echo "Miscellaneous" - prevsect="" - fi - - infoname=`echo $file | sed 's/\.gz$//'` - infoname=`echo $infoname | sed 's/\.info$//'` - if [ "${file##*.}" = "gz" ] ; then - entry=`zcat ${INFODIR}/${file} | sed -e '1,/START-INFO-DIR-ENTRY/d' \ - -e '/END-INFO-DIR-ENTRY/,$d'` - else - entry=`sed -e '1,/START-INFO-DIR-ENTRY/d' \ - -e '/END-INFO-DIR-ENTRY/,$d' ${INFODIR}/$file` - fi - - - if [ ! -z "${entry}" ] ; then - echo "${entry}" - elif [ ! -d "${INFODIR}/${file}" ] ; then - echo "* ${infoname}: (${infoname})." - fi -done - diff --git a/sys-devel/gcc/files/no-libs-for-startfile.patch b/sys-devel/gcc/files/no-libs-for-startfile.patch deleted file mode 100644 index cebf26a..0000000 --- a/sys-devel/gcc/files/no-libs-for-startfile.patch +++ /dev/null @@ -1,15 +0,0 @@ -* do not generate multilib paths, since adding those dirs, e.g. - /usr/lib/amd64 or /usr/lib64, screws up Prefix badly (in %D) - see also: http://article.gmane.org/gmane.linux.gentoo.alt/3575 - ---- gcc/gcc.c -+++ gcc/gcc.c -@@ -4740,7 +4740,7 @@ - #endif - info.separate_options = false; - -- for_each_path (&startfile_prefixes, true, 0, spec_path, &info); -+ for_each_path (&startfile_prefixes, false, 0, spec_path, &info); - } - break; - diff --git a/sys-devel/gcc/files/pro-police-docs.patch b/sys-devel/gcc/files/pro-police-docs.patch deleted file mode 100644 index 091ea44..0000000 --- a/sys-devel/gcc/files/pro-police-docs.patch +++ /dev/null @@ -1,74 +0,0 @@ -Index: gcc/doc/invoke.texi -=================================================================== -RCS file: /cvsroot/gcc/gcc/gcc/doc/invoke.texi,v -retrieving revision 1.364 -diff -c -3 -p -r1.364 invoke.texi -*** gcc/doc/invoke.texi 21 Nov 2003 11:42:58 -0000 1.364 ---- gcc/doc/invoke.texi 22 Nov 2003 08:12:35 -0000 -*************** in the following sections. -*** 228,234 **** - -Wno-multichar -Wnonnull -Wpacked -Wpadded @gol - -Wparentheses -Wpointer-arith -Wredundant-decls @gol - -Wreturn-type -Wsequence-point -Wshadow @gol -! -Wsign-compare -Wstrict-aliasing @gol - -Wswitch -Wswitch-default -Wswitch-enum @gol - -Wsystem-headers -Wtrigraphs -Wundef -Wuninitialized @gol - -Wunknown-pragmas -Wunreachable-code @gol ---- 228,234 ---- - -Wno-multichar -Wnonnull -Wpacked -Wpadded @gol - -Wparentheses -Wpointer-arith -Wredundant-decls @gol - -Wreturn-type -Wsequence-point -Wshadow @gol -! -Wsign-compare -Wstack-protector -Wstrict-aliasing @gol - -Wswitch -Wswitch-default -Wswitch-enum @gol - -Wsystem-headers -Wtrigraphs -Wundef -Wuninitialized @gol - -Wunknown-pragmas -Wunreachable-code @gol -*************** in the following sections. -*** 681,686 **** ---- 681,687 ---- - -fshort-double -fshort-wchar @gol - -fverbose-asm -fpack-struct -fstack-check @gol - -fstack-limit-register=@var{reg} -fstack-limit-symbol=@var{sym} @gol -+ -fstack-protector -fstack-protector-all @gol - -fargument-alias -fargument-noalias @gol - -fargument-noalias-global -fleading-underscore @gol - -ftls-model=@var{model} @gol -*************** effectively. Often, the problem is that -*** 3014,3019 **** ---- 3015,3024 ---- - complex; GCC will refuse to optimize programs when the optimization - itself is likely to take inordinate amounts of time. - -+ @item -Wstack-protector -+ @opindex Wstack-protector -+ Warn when not issuing stack smashing protection for some reason -+ - @item -Werror - @opindex Werror - Make all warnings into errors. -*************** and grows downwards, you can use the fla -*** 11474,11479 **** ---- 11479,11502 ---- - @option{-fstack-limit-symbol=__stack_limit} and - @option{-Wl,--defsym,__stack_limit=0x7ffe0000} to enforce a stack limit - of 128KB@. Note that this may only work with the GNU linker. -+ -+ @item -fstack-protector -+ @item -fstack-protector-all -+ @opindex fstack-protector -+ @opindex fstack-protector-all -+ @opindex fno-stack-protector -+ Generate code to protect an application from a stack smashing -+ attack. The features are (1) the insertion of random value next to the -+ frame pointer to detect the integrity of the stack, (2) the reordering -+ of local variables to place buffers after pointers to avoid the -+ corruption of pointers that could be used to further corrupt arbitrary -+ memory locations, (3) the copying of pointers in function arguments to -+ an area preceding local variable buffers to prevent the corruption of -+ pointers that could be used to further corrupt arbitrary memory -+ locations, and the (4) omission of instrumentation code from some -+ functions to decrease the performance overhead. If the integrity -+ would be broken, the program is aborted. If no-stack-protector is -+ specified, instrumentation codes are generated at every functions. - - @cindex aliasing of parameters - @cindex parameters, aliased diff --git a/sys-devel/gcc/files/scan_libgcc_linked_ssp.sh b/sys-devel/gcc/files/scan_libgcc_linked_ssp.sh deleted file mode 100644 index 35119e5..0000000 --- a/sys-devel/gcc/files/scan_libgcc_linked_ssp.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# Author: Martin Schlemmer -# $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 $ - -usage() { -cat << "USAGE_END" -Usage: can_libgcc_linked_ssp.sh - - This scans the system for files that contains the __guard symbol, that was - linked against libgcc. - - -USAGE_END - - exit 1 -} - -if [ "$#" -ne 0 ] -then - usage -fi - -source /etc/profile || exit 1 -source /etc/init.d/functions.sh || exit 1 - -AWKDIR="$(portageq envvar PORTDIR)/sys-devel/gcc/files/awk" - -if [ ! -r "${AWKDIR}/scanforssp.awk" ] -then - eerror "${0##*/}: ${AWKDIR}/scanforssp.awk does not exist!" - exit 1 -fi - -einfo "Scanning system for __guard@GCC symbols..." -/bin/gawk -f "${AWKDIR}/scanforssp.awk" - -exit $? - - -# vim:ts=4 diff --git a/sys-devel/gcc/gcc-4.7.3.ebuild b/sys-devel/gcc/gcc-4.7.3.ebuild deleted file mode 100644 index de584db..0000000 --- a/sys-devel/gcc/gcc-4.7.3.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.7.3.ebuild,v 1.2 2013/05/20 10:56:06 aballier Exp $ - -PATCH_VER="1.0" -UCLIBC_VER="1.0" - -# Hardened gcc 4 stuff -PIE_VER="0.5.5" -SPECS_VER="0.2.0" -SPECS_GCC_VER="4.4.3" -# arch/libc configurations known to be stable with {PIE,SSP}-by-default -PIE_GLIBC_STABLE="x86 amd64 ppc ppc64 arm ia64" -PIE_UCLIBC_STABLE="x86 arm amd64 ppc ppc64" -SSP_STABLE="amd64 x86 ppc ppc64 arm" -# uclibc need tls and nptl support for SSP support -# uclibc need to be >= 0.9.33 -SSP_UCLIBC_STABLE="x86 amd64 ppc ppc64 arm" -#end Hardened stuff - -inherit toolchain - -DESCRIPTION="The GNU Compiler Collection" - -LICENSE="GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.3+" - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 -amd64-fbsd -x86-fbsd" - -RDEPEND="" -DEPEND="${RDEPEND} - elibc_glibc? ( >=sys-libs/glibc-2.8 ) - >=${CATEGORY}/binutils-2.18" - -if [[ ${CATEGORY} != cross-* ]] ; then - PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )" -fi - -src_unpack() { - if has_version '=glibc-2.12 #362315" - EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch" - fi - - # drop the x32 stuff once 4.7 goes stable - if [[ ${CTARGET} != x86_64* ]] || ! has x32 $(get_all_abis TARGET) ; then - EPATCH_EXCLUDE+=" 90_all_gcc-4.7-x32.patch" - fi - - toolchain_src_unpack - - if use rap; then - epatch "${FILESDIR}"/gcc-4.7-rap.patch - prefix_gcc_dynamic_loader - fi - - use vanilla && return 0 - - [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch -} - -pkg_setup() { - toolchain_pkg_setup - - if use lto ; then - ewarn - ewarn "LTO support is still experimental and unstable." - ewarn "Any bugs resulting from the use of LTO will not be fixed." - ewarn - fi -} diff --git a/sys-devel/gcc/gcc-4.9.2.ebuild b/sys-devel/gcc/gcc-4.9.2.ebuild deleted file mode 100644 index 89592c6..0000000 --- a/sys-devel/gcc/gcc-4.9.2.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.9.2.ebuild,v 1.1 2014/11/01 07:56:35 vapier Exp $ - -EAPI="4" - -PATCH_VER="1.0" -UCLIBC_VER="1.0" - -# Hardened gcc 4 stuff -PIE_VER="0.6.1" -SPECS_VER="0.2.0" -SPECS_GCC_VER="4.4.3" -# arch/libc configurations known to be stable with {PIE,SSP}-by-default -PIE_GLIBC_STABLE="x86 amd64 mips ppc ppc64 arm ia64" -PIE_UCLIBC_STABLE="x86 arm amd64 mips ppc ppc64" -SSP_STABLE="amd64 x86 mips ppc ppc64 arm" -# uclibc need tls and nptl support for SSP support -# uclibc need to be >= 0.9.33 -SSP_UCLIBC_STABLE="x86 amd64 mips ppc ppc64 arm" -#end Hardened stuff - -inherit eutils toolchain - -KEYWORDS="~x86 ~amd64 ~arm" - -RDEPEND="" -DEPEND="${RDEPEND} - elibc_glibc? ( >=sys-libs/glibc-2.8 ) - >=${CATEGORY}/binutils-2.20" - -if [[ ${CATEGORY} != cross-* ]] ; then - PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )" -fi - -src_prepare() { - if has_version '=glibc-2.12 #362315" - EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch" - fi - - if use rap; then - epatch "${FILESDIR}"/${P}-rap.patch - prefix_gcc_dynamic_loader - fi - EXTRA_ECONF="${EXTRA_ECONF} $(use_with rap dynamic-linker-prefix ${EPREFIX})" - - toolchain_src_prepare - - use vanilla && return 0 - #Use -r1 for newer piepatchet that use DRIVER_SELF_SPECS for the hardened specs. - [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env-r1.patch -} diff --git a/sys-devel/gcc/gcc-5.3.0.ebuild b/sys-devel/gcc/gcc-5.3.0.ebuild deleted file mode 100644 index 48a7567..0000000 --- a/sys-devel/gcc/gcc-5.3.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="4" - -PATCH_VER="1.1" -UCLIBC_VER="1.0" - -# Hardened gcc 4 stuff -PIE_VER="0.6.5" -SPECS_VER="0.2.0" -SPECS_GCC_VER="4.4.3" -# arch/libc configurations known to be stable with {PIE,SSP}-by-default -PIE_GLIBC_STABLE="x86 amd64 mips ppc ppc64 arm ia64" -PIE_UCLIBC_STABLE="x86 arm amd64 mips ppc ppc64" -SSP_STABLE="amd64 x86 mips ppc ppc64 arm" -# uclibc need tls and nptl support for SSP support -# uclibc need to be >= 0.9.33 -SSP_UCLIBC_STABLE="x86 amd64 mips ppc ppc64 arm" -#end Hardened stuff - -inherit toolchain - -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" - -RDEPEND="" -DEPEND="${RDEPEND} - elibc_glibc? ( >=sys-libs/glibc-2.8 ) - !multislot? ( !<${CATEGORY}/gcc-4.9 ) - >=${CATEGORY}/binutils-2.20" - -if [[ ${CATEGORY} != cross-* ]] ; then - PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )" -fi - -src_prepare() { - if has_version '=glibc-2.12 #362315" - EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch" - fi - is_crosscompile && EPATCH_EXCLUDE+=" 05_all_gcc-spec-env.patch" - - toolchain_src_prepare -} diff --git a/sys-devel/gcc/metadata.xml b/sys-devel/gcc/metadata.xml deleted file mode 100644 index 3fe3ae1..0000000 --- a/sys-devel/gcc/metadata.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - toolchain - - Enable support for the D programming language - Enable fixed-point arithmetic support for MIPS targets - in gcc (Warning: significantly increases compile time!) - Build the GCC Go language frontend. - Add support for the framework for loop - optimizations based on a polyhedral intermediate representation - Useful only when building GCJ, this enables Abstract Window Toolkit - (AWT) peer support on top of GTK+ - Enable building a compiler capable of building a kernel - for SGI Indigo2 Impact R10000 (IP28) - Enable building a compiler capable of building an - experimental kernel for SGI O2 w/ R1x000 CPUs (IP32) - Build SSP support into a dedicated library rather than use the - code in the C library (DO NOT ENABLE THIS IF YOU DON'T KNOW WHAT IT DOES) - Add support for link-time optimizations (unsupported, use - at your own risk). - Add support for mudflap, a pointer use checking library - Allow for SLOTs to include minor version (3.3.4 - instead of just 3.3) - Enable n32 ABI support on mips - Enable n64 ABI support on mips - Disable PIE support (NOT FOR GENERAL USE) - Disable SSP support (NOT FOR GENERAL USE) - Build support for the Objective C code language - Build support for the Objective C++ language - Build support for the Objective C code language Garbage - Collector - -