public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] toolchain.eclass: Remove kludge that blocks gcc-6+ on sys-libs/uclibc-ng systems
@ 2017-07-29 23:12 Joshua Kinard
  2017-07-30  7:46 ` Sergei Trofimovich
  0 siblings, 1 reply; 3+ messages in thread
From: Joshua Kinard @ 2017-07-29 23:12 UTC (permalink / raw)
  To: Gentoo-dev

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 <kumba@gentoo.org>
---
 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"'



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] [PATCH] toolchain.eclass: Remove kludge that blocks gcc-6+ on sys-libs/uclibc-ng systems
  2017-07-29 23:12 [gentoo-dev] [PATCH] toolchain.eclass: Remove kludge that blocks gcc-6+ on sys-libs/uclibc-ng systems Joshua Kinard
@ 2017-07-30  7:46 ` Sergei Trofimovich
  2017-07-30 15:50   ` Matthias Maier
  0 siblings, 1 reply; 3+ messages in thread
From: Sergei Trofimovich @ 2017-07-30  7:46 UTC (permalink / raw)
  To: Joshua Kinard, toolchain; +Cc: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1385 bytes --]

On Sat, 29 Jul 2017 19:12:23 -0400
Joshua Kinard <kumba@gentoo.org> 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 <kumba@gentoo.org>
> ---
>  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"'
> 
> 

[  CCed toolchain@ as maintainer ]

Looks good.

-- 

  Sergei

[-- Attachment #2: Цифровая подпись OpenPGP --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] [PATCH] toolchain.eclass: Remove kludge that blocks gcc-6+ on sys-libs/uclibc-ng systems
  2017-07-30  7:46 ` Sergei Trofimovich
@ 2017-07-30 15:50   ` Matthias Maier
  0 siblings, 0 replies; 3+ messages in thread
From: Matthias Maier @ 2017-07-30 15:50 UTC (permalink / raw)
  To: Sergei Trofimovich; +Cc: Joshua Kinard, toolchain, gentoo-dev

++


On Sun, Jul 30, 2017, at 02:46 CDT, Sergei Trofimovich <slyfox@gentoo.org> wrote:

> On Sat, 29 Jul 2017 19:12:23 -0400
> Joshua Kinard <kumba@gentoo.org> 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 <kumba@gentoo.org>

Signed-off-by: Matthias Maier <tamiko@gentoo.org>

>> ---
>>  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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-30 15:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-29 23:12 [gentoo-dev] [PATCH] toolchain.eclass: Remove kludge that blocks gcc-6+ on sys-libs/uclibc-ng systems Joshua Kinard
2017-07-30  7:46 ` Sergei Trofimovich
2017-07-30 15:50   ` Matthias Maier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox