Re: [gentoo-dev] [PATCH] toolchain.eclass: Remove kludge that blocks gcc-6+ on sys-libs/uclibc-ng systems

2017-07-30 Thread Matthias Maier
++


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



Re: [gentoo-dev] [PATCH] toolchain.eclass: Remove kludge that blocks gcc-6+ on sys-libs/uclibc-ng systems

2017-07-30 Thread Sergei Trofimovich
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 
> ---
>  eclass/toolchain.eclass |3 ---
>  1 file changed, 3 deletions(-)
> 
> --- a/eclass/toolchain.eclass.orig2017-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


pgpQhqLleiqJb.pgp
Description: Цифровая подпись OpenPGP


[gentoo-dev] [PATCH] toolchain.eclass: Remove kludge that blocks gcc-6+ on sys-libs/uclibc-ng systems

2017-07-29 Thread Joshua Kinard
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 
---
 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"'