Gentoo Archives: gentoo-dev

From: Matthias Maier <tamiko@g.o>
To: Sergei Trofimovich <slyfox@g.o>
Cc: Joshua Kinard <kumba@g.o>, toolchain@g.o, gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] toolchain.eclass: Remove kludge that blocks gcc-6+ on sys-libs/uclibc-ng systems
Date: Sun, 30 Jul 2017 15:50:45
Message-Id: 87k22p53g5.fsf@jackdaw.kyomu.43-1.org
In Reply to: Re: [gentoo-dev] [PATCH] toolchain.eclass: Remove kludge that blocks gcc-6+ on sys-libs/uclibc-ng systems by Sergei Trofimovich
1 ++
2
3
4 On Sun, Jul 30, 2017, at 02:46 CDT, Sergei Trofimovich <slyfox@g.o> wrote:
5
6 > On Sat, 29 Jul 2017 19:12:23 -0400
7 > Joshua Kinard <kumba@g.o> wrote:
8 >
9 >> The following kludge is present in toolchain.eclass, in
10 >> toolchain_pkg_pretend():
11 >>
12 >> [[ -z ${UCLIBC_VER} ]] && [[ ${CTARGET} == *-uclibc* ]] && \
13 >> die "Sorry, this version does not support uClibc"
14 >>
15 >> The below patch removes this. I've been running a gcc-6-built,
16 >> sys-libs/uclibc-ng in chroot for some time now, have completed several
17 >> catalyst runs, and am at the tail end of a fresh install of a
18 >> sys-libs/uclibc-ng userland on actual MIPS hardware.
19 >>
20 >> Signed-off-by: Joshua Kinard <kumba@g.o>
21
22 Signed-off-by: Matthias Maier <tamiko@g.o>
23
24 >> ---
25 >> eclass/toolchain.eclass | 3 ---
26 >> 1 file changed, 3 deletions(-)
27 >>
28 >> --- a/eclass/toolchain.eclass.orig 2017-07-29 19:06:30.894211203 -0400
29 >> +++ b/eclass/toolchain.eclass 2017-07-29 19:06:40.514211133 -0400
30 >> @@ -375,9 +375,6 @@ toolchain_pkg_pretend() {
31 >> "in your make.conf if you want to use this version."
32 >> fi
33 >>
34 >> - [[ -z ${UCLIBC_VER} ]] && [[ ${CTARGET} == *-uclibc* ]] && \
35 >> - die "Sorry, this version does not support uClibc"
36 >> -
37 >> if ! use_if_iuse cxx ; then
38 >> use_if_iuse go && ewarn 'Go requires a C++ compiler, disabled due to USE="-cxx"'
39 >> use_if_iuse objc++ && ewarn 'Obj-C++ requires a C++ compiler, disabled due to USE="-cxx"'
40
41 Best,
42 Matthias