From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 90668139083 for ; Sun, 30 Jul 2017 15:50:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F08C71FC1D0; Sun, 30 Jul 2017 15:50:39 +0000 (UTC) Received: from tsukuyomi.43-1.org (tsukuyomi.43-1.org [IPv6:2a01:4f8:173:743::1:50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9A9B51FC1C6 for ; Sun, 30 Jul 2017 15:50:39 +0000 (UTC) From: Matthias Maier To: Sergei Trofimovich Cc: Joshua Kinard , toolchain@gentoo.org, gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [PATCH] toolchain.eclass: Remove kludge that blocks gcc-6+ on sys-libs/uclibc-ng systems In-Reply-To: <20170730084615.37fa1900@sf> (Sergei Trofimovich's message of "Sun, 30 Jul 2017 08:46:15 +0100") References: <20170730084615.37fa1900@sf> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Date: Sun, 30 Jul 2017 10:50:34 -0500 Message-ID: <87k22p53g5.fsf@jackdaw.kyomu.43-1.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain X-Archives-Salt: e7cd6c47-2fc5-490c-be4d-d97e8a6a201e X-Archives-Hash: 497650da438b2bb1aa05b7b0f0497f50 ++ On Sun, Jul 30, 2017, at 02:46 CDT, Sergei Trofimovich wrote: > On Sat, 29 Jul 2017 19:12:23 -0400 > Joshua Kinard wrote: > >> The following kludge is present in toolchain.eclass, in >> toolchain_pkg_pretend(): >> >> [[ -z ${UCLIBC_VER} ]] && [[ ${CTARGET} == *-uclibc* ]] && \ >> die "Sorry, this version does not support uClibc" >> >> The below patch removes this. I've been running a gcc-6-built, >> sys-libs/uclibc-ng in chroot for some time now, have completed several >> catalyst runs, and am at the tail end of a fresh install of a >> sys-libs/uclibc-ng userland on actual MIPS hardware. >> >> Signed-off-by: Joshua Kinard Signed-off-by: Matthias Maier >> --- >> eclass/toolchain.eclass | 3 --- >> 1 file changed, 3 deletions(-) >> >> --- a/eclass/toolchain.eclass.orig 2017-07-29 19:06:30.894211203 -0400 >> +++ b/eclass/toolchain.eclass 2017-07-29 19:06:40.514211133 -0400 >> @@ -375,9 +375,6 @@ toolchain_pkg_pretend() { >> "in your make.conf if you want to use this version." >> fi >> >> - [[ -z ${UCLIBC_VER} ]] && [[ ${CTARGET} == *-uclibc* ]] && \ >> - die "Sorry, this version does not support uClibc" >> - >> if ! use_if_iuse cxx ; then >> use_if_iuse go && ewarn 'Go requires a C++ compiler, disabled due to USE="-cxx"' >> use_if_iuse objc++ && ewarn 'Obj-C++ requires a C++ compiler, disabled due to USE="-cxx"' Best, Matthias