1 |
commit: e0fe2839b9fe721b0c446194eb61dee5d721dfae |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 13 14:13:59 2019 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 13 14:13:59 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=e0fe2839 |
7 |
|
8 |
sys-devel/gcc: version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.62-prefix, Repoman-2.3.12 |
11 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
12 |
|
13 |
sys-devel/gcc/Manifest | 2 + |
14 |
sys-devel/gcc/gcc-8.3.0.ebuild | 93 ++++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 95 insertions(+) |
16 |
|
17 |
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest |
18 |
index 6a5dc62877..d5d58daf99 100644 |
19 |
--- a/sys-devel/gcc/Manifest |
20 |
+++ b/sys-devel/gcc/Manifest |
21 |
@@ -32,6 +32,8 @@ DIST gcc-7.4.0-patches-1.1.tar.bz2 8778 BLAKE2B 52b02b3c619b99912ee254599788abeb |
22 |
DIST gcc-7.4.0.tar.xz 62601888 BLAKE2B df91ec680d5389736d3a37a2d85cf2e12fbe87b642fdf4b332e67a043e00944aca00243cc6709f86abd92115cb5a78502146636395571d1ea4899531e15d5d0e SHA512 8864d8e4b97c2e1a4f17422f6e68120172ebefeab97b1757734f7185ca68a6b9a89011c6833c03fa454c17b0ac35b15e1d284881e6971035948ac6100f3aa45e |
23 |
DIST gcc-8.2.0-patches-1.6.tar.bz2 17138 BLAKE2B edbeba9c41972836de072955c0db51406603aaf0dbb5f84ac1c5d8d2d61a8df6d725356655b69e3678950a0dc6dacc1bc2bf56f3620d685fe5c32045b3893f96 SHA512 32e7bddb5ec288def1e5c79d58023d90e29d77e83b70e3f21a22f4da78061cc49184d92c43807bdfd56a5067cbb9a8cfbfcb514016662aa1a24d791c7bd87b6b |
24 |
DIST gcc-8.2.0.tar.xz 63460876 BLAKE2B c5372b0bdfcd2729577dca287b294623b78c583491998404eb307768c573618bdaaedb7d9ae0e39ba41a62a14b9525dff0e3083285754b7f5bb9987ecf635185 SHA512 64898a165f67e136d802a92e7633bf1b06c85266027e52127ea025bf5fc2291b5e858288aac0bdba246e6cdf7c6ec88bc8e0e7f3f6f1985f4297710cafde56ed |
25 |
+DIST gcc-8.3.0-patches-1.0.tar.bz2 12278 BLAKE2B 793465c5de0af850c7f3017b3011e68f3bd1664e6ce3500a3dc3003d37c03fe81857698957770a135eadd395a7767fa804d354ecdcdeb1d83623280ca569d4ec SHA512 0efadd2481713992807fed2683666f1094b3757674754601c079569f3ef70cd7aed3cefc9f815f4e59a21d37e4e940c122df714e16f3878a5f966450c4273669 |
26 |
+DIST gcc-8.3.0.tar.xz 63694700 BLAKE2B 71df2ff5bd6874d57519c2e9af6b22152c8c4d7fab906a5f427b41bc4e8e742127592a8684120d9d3c9ce6241439531850be08ec0a4f29dbfdee95435655fdca SHA512 1811337ae3add9680cec64968a2509d085b6dc5b6783fc1e8c295e3e47416196fd1a3ad8dfe7e10be2276b4f62c357659ce2902f239f60a8648548231b4b5802 |
27 |
DIST gcc-cygwinports-a03d77536f40d1a6335b6d313a4e4a4dff38ce66.tar.gz 35809 BLAKE2B e009012e86b83032a7d316580eddfc8f03dccdaa9f573ce9a0e80209ef545748c4c98388238bc22c6666394346d5d4d42d21bf964454a6c05da1f80cd95f6ada SHA512 989b3b0bc0c55715d7c87fa59f465d2af7042e052a5d01e9cdb26fd61e08504a596a604aa482438560e011b8ea5d015da75f172ea5c2ea5b9a90e8943f355734 |
28 |
DIST gcc-cygwinports-d83e3d1ac0a9adfacdf120f013870472e8e712c3.tar.gz 27216 BLAKE2B 0f4737d1f115d95d3e752c02e4f6eb8cde3e42653ece6aaa0eb90edf74bfad1e9b91514b49bc2b3dcb822de99d4bb37e697a3a37c555c6c306e8debd02bd283d SHA512 0bf2e75d788a8e2dce352a084c44d6ae2c470ced178f257f464963041e13fc217ff31e970efb77261ac1916fe849eac110703343773ee1ec4d45c69c6b9200eb |
29 |
DIST gcc-cygwinports-f44d762eb3551ea0d81aa8e4b428bcb7caabb628.tar.gz 32780 BLAKE2B 364353bf379a2a950050148caf2cef86239f2418a98f72b3edec4cf56e43e7d07601f4d1ca8103c691ddddff0fca96a6a8c728e2e50bca373c34441bdc7505be SHA512 d5bc37965745fa32a3ddd357e658bd066d4aadf19eee7a30047f4dc6f47450d320e33cbbe4bf22fa6f5e30f7f41ec6ec3a250df56760a38df0f14fea3e34a83e |
30 |
|
31 |
diff --git a/sys-devel/gcc/gcc-8.3.0.ebuild b/sys-devel/gcc/gcc-8.3.0.ebuild |
32 |
new file mode 100644 |
33 |
index 0000000000..e45653df5b |
34 |
--- /dev/null |
35 |
+++ b/sys-devel/gcc/gcc-8.3.0.ebuild |
36 |
@@ -0,0 +1,93 @@ |
37 |
+# Copyright 1999-2019 Gentoo Authors |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI="5" |
41 |
+ |
42 |
+PATCH_VER="1.0" |
43 |
+ |
44 |
+inherit eutils toolchain flag-o-matic |
45 |
+ |
46 |
+KEYWORDS="~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
47 |
+ |
48 |
+RDEPEND="" |
49 |
+DEPEND="${RDEPEND} |
50 |
+ !prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.13 ) ) |
51 |
+ kernel_linux? ( >=${CATEGORY}/binutils-2.20 ) |
52 |
+ kernel_Darwin? ( ${CATEGORY}/binutils-apple ) |
53 |
+ kernel_AIX? ( ${CATEGORY}/native-cctools )" |
54 |
+ |
55 |
+if [[ ${CATEGORY} != cross-* ]] ; then |
56 |
+ PDEPEND="${PDEPEND} !prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.13 ) )" |
57 |
+fi |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ toolchain_src_prepare |
61 |
+ |
62 |
+ use vanilla && return 0 |
63 |
+ |
64 |
+ # make sure 64-bits native targets don't screw up the linker paths |
65 |
+ epatch "${FILESDIR}"/no-libs-for-startfile.patch |
66 |
+ if use prefix; then |
67 |
+ epatch "${FILESDIR}"/4.5.2/prefix-search-dirs.patch |
68 |
+ # try /usr/lib32 in 32bit profile on x86_64-linux (needs |
69 |
+ # --enable-multilib), but this does make sense in prefix only |
70 |
+ epatch "${FILESDIR}"/${PN}-4.8.3-linux-x86-on-amd64.patch |
71 |
+ fi |
72 |
+ |
73 |
+ # make it have correct install_names on Darwin |
74 |
+ epatch "${FILESDIR}"/4.3.3/darwin-libgcc_s-installname.patch |
75 |
+ |
76 |
+ if [[ ${CHOST} == powerpc*-darwin* ]] ; then |
77 |
+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44107 |
78 |
+ sed -i -e 's|^ifeq (/usr/lib,|ifneq (/usr/lib,|' \ |
79 |
+ libgcc/config/t-slibgcc-darwin || die |
80 |
+ fi |
81 |
+} |
82 |
+ |
83 |
+src_configure() { |
84 |
+ local myconf=() |
85 |
+ case ${CTARGET}:" ${USE} " in |
86 |
+ powerpc*-darwin*) |
87 |
+ # bug #381179 |
88 |
+ filter-flags "-mcpu=*" "-mtune=*" |
89 |
+ # bug #657522 |
90 |
+ # A bug in configure checks whether -no-pie works, but the |
91 |
+ # compiler doesn't pass -no-pie onto the linker if -fno-PIE |
92 |
+ # isn't passed, so the configure check always finds -no-pie |
93 |
+ # is accepted. (Likewise, when -fno-PIE is passed, the |
94 |
+ # compiler passes -no_pie onto the linker.) |
95 |
+ # Since our linker doesn't grok this, avoid above checks to |
96 |
+ # be run |
97 |
+ # NOTE: later ld64 does grok -no_pie, not -no-pie (as checked) |
98 |
+ export gcc_cv_c_no_fpie=no |
99 |
+ export gcc_cv_no_pie=no |
100 |
+ ;; |
101 |
+ *-solaris*) |
102 |
+ # todo: some magic for native vs. GNU linking? |
103 |
+ myconf+=( --with-gnu-ld --with-gnu-as --enable-largefile ) |
104 |
+ # Solaris 11 defines this in its headers, but that causes a |
105 |
+ # mismatch whilst compiling, bug #657514 |
106 |
+ export ac_cv_func_aligned_alloc=no |
107 |
+ export ac_cv_func_memalign=no |
108 |
+ export ac_cv_func_posix_memalign=no |
109 |
+ ;; |
110 |
+ i[34567]86-*-linux*:*" prefix "*) |
111 |
+ # to allow the linux-x86-on-amd64.patch become useful, we need |
112 |
+ # to enable multilib, even if there is just one multilib option. |
113 |
+ myconf+=( --enable-multilib ) |
114 |
+ if [[ ${CBUILD:-${CHOST}} == "${CHOST}" ]]; then |
115 |
+ # we might be on x86_64-linux, but don't do cross-compile, so |
116 |
+ # tell the host-compiler to really create 32bits (for stage1) |
117 |
+ # (real x86-linux-gcc also accept -m32). |
118 |
+ append-flags -m32 |
119 |
+ fi |
120 |
+ ;; |
121 |
+ esac |
122 |
+ |
123 |
+ # Since GCC 4.1.2 some non-posix (?) /bin/sh compatible code is used, at |
124 |
+ # least on Solaris, and AIX /bin/sh is way too slow, |
125 |
+ # so force it to use $BASH (that portage uses) - it can't be EPREFIX |
126 |
+ # in case that doesn't exist yet |
127 |
+ export CONFIG_SHELL="${CONFIG_SHELL:-${BASH}}" |
128 |
+ toolchain_src_configure "${myconf[@]}" |
129 |
+} |