Re: CVS commit: src/sys/arch/usermode/dev

2018-06-01 Thread Christos Zoulas
In article <20180601072615.462e4f...@cvs.netbsd.org>,
Reinoud Zandijk  wrote:
>-=-=-=-=-=-
>
>Module Name:   src
>Committed By:  reinoud
>Date:  Fri Jun  1 07:26:15 UTC 2018
>
>Modified Files:
>   src/sys/arch/usermode/dev: cpu.c
>
>Log Message:
>Pass the address of the array, this fixes issues with i386 compilation

If you remove & from both is probably better (if they are both arrays) :-)

christos



Re: CVS commit: src/sys/arch/usermode/conf

2018-06-01 Thread Christos Zoulas
In article <20180601072234.060dcf...@cvs.netbsd.org>,
Reinoud Zandijk  wrote:
>-=-=-=-=-=-
>
>Module Name:   src
>Committed By:  reinoud
>Date:  Fri Jun  1 07:22:33 UTC 2018
>
>Modified Files:
>   src/sys/arch/usermode/conf: Makefile.usermode
>
>Log Message:
>Compile NetBSD/userland without CTF for the linker doesn't allow for a single
>file compiled without CTF

That should be probably done with NOCTF=, but really you probably have
a partial build without CTF that makes it bitch. If you start clean, it
should not happen.

christos



Re: CVS commit: src/external/gpl2/gmake/dist

2018-06-01 Thread Frédéric Fauberteau

Le 2018-06-01 11:05, Kamil Rytarowski a écrit :

On 01.06.2018 10:33, Frédéric Fauberteau wrote:

Le 2018-05-01 03:23, Kamil Rytarowski a écrit :

On 01.05.2018 02:55, Christos Zoulas wrote:

In article
,
Kimihiro Nonaka   wrote:

2018-05-01 8:53 GMT+09:00 Kamil Rytarowski :


This is polling GPLv3 code into GPLv2 gmake - these licenses are
incompatible.


You mean pulling here? There is no pulling GPLv3 code unless the 
code

is copied from GPLv3.



It was cherry-picked from GPLv3+.


Thanks to the following patch, I can cross-build a toolset on my Arch
box. When I look at the make.git tree:
http://git.savannah.gnu.org/cgit/make.git/tree/
I don't see any 'configure' file. In which way this patch breaks the
license?

Index: configure
===
RCS file: /cvsroot/src/external/gpl2/gmake/dist/configure,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 configure
--- configure    18 Aug 2014 06:46:54 -    1.1.1.1
+++ configure    1 Jun 2018 08:05:31 -
@@ -13619,10 +13619,9 @@
 #include 
 #include 

-#define GLOB_INTERFACE_VERSION 1
 #if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
 # include 
-# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION
+# if _GNU_GLOB_INTERFACE_VERSION == 1 || _GNU_GLOB_INTERFACE_VERSION 
== 2

    gnu glob
 # endif
 #endif


http://git.savannah.gnu.org/cgit/make.git/tree/configure.ac#n6

# GNU Make is free software; you can redistribute it and/or modify it 
under

# the terms of the GNU General Public License as published by the Free
Software
# Foundation; either version 3 of the License, or (at your option) any 
later

# version.

GPL2 and GPL3 are incompatible for some reasons.. we could just upgrade
gmake to GPLv3. It's used for building GCC only.


I am not sure to understand correctly. If we modify GNU Make 3.81 (by 
applying a patch) that is distributed in our sources, we redistribute it 
under the terms of GPLv2. No? Do you mean that this line:
# if _GNU_GLOB_INTERFACE_VERSION == 1 || _GNU_GLOB_INTERFACE_VERSION == 
2
is GPLv3 licensed? And therefore we should redistribute the whole GNU 
Make code under the terms of GPLv3?
This line can be found here: 
https://git.busybox.net/buildroot/tree/package/make/0001-configure.ac-Support-GLIBC-glob-interface-version-2.patch?id=157231405d219e484aa3829acff23569f6a60d00

in a project that is GPLv2 distributed.

I don't want to be too many insistent. Could we imagine putting GNU Make 
4.2.1 under external/gpl3/gmake/dist?


Re: CVS commit: src/external/gpl2/gmake/dist

2018-06-01 Thread Kamil Rytarowski
On 01.06.2018 10:33, Frédéric Fauberteau wrote:
> Le 2018-05-01 03:23, Kamil Rytarowski a écrit :
>> On 01.05.2018 02:55, Christos Zoulas wrote:
>>> In article
>>> ,
>>> Kimihiro Nonaka   wrote:
 2018-05-01 8:53 GMT+09:00 Kamil Rytarowski :

> This is polling GPLv3 code into GPLv2 gmake - these licenses are
> incompatible.
>>>
>>> You mean pulling here? There is no pulling GPLv3 code unless the code
>>> is copied from GPLv3.
>>>
>>
>> It was cherry-picked from GPLv3+.
> 
> Thanks to the following patch, I can cross-build a toolset on my Arch
> box. When I look at the make.git tree:
> http://git.savannah.gnu.org/cgit/make.git/tree/
> I don't see any 'configure' file. In which way this patch breaks the
> license?
> 
> Index: configure
> ===
> RCS file: /cvsroot/src/external/gpl2/gmake/dist/configure,v
> retrieving revision 1.1.1.1
> diff -u -r1.1.1.1 configure
> --- configure    18 Aug 2014 06:46:54 -    1.1.1.1
> +++ configure    1 Jun 2018 08:05:31 -
> @@ -13619,10 +13619,9 @@
>  #include 
>  #include 
> 
> -#define GLOB_INTERFACE_VERSION 1
>  #if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
>  # include 
> -# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION
> +# if _GNU_GLOB_INTERFACE_VERSION == 1 || _GNU_GLOB_INTERFACE_VERSION == 2
>     gnu glob
>  # endif
>  #endif

http://git.savannah.gnu.org/cgit/make.git/tree/configure.ac#n6

# GNU Make is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
Software
# Foundation; either version 3 of the License, or (at your option) any later
# version.

GPL2 and GPL3 are incompatible for some reasons.. we could just upgrade
gmake to GPLv3. It's used for building GCC only.



signature.asc
Description: OpenPGP digital signature


Re: CVS commit: src/external/gpl2/gmake/dist

2018-06-01 Thread Frédéric Fauberteau

Le 2018-05-01 03:23, Kamil Rytarowski a écrit :

On 01.05.2018 02:55, Christos Zoulas wrote:
In article 
,

Kimihiro Nonaka   wrote:

2018-05-01 8:53 GMT+09:00 Kamil Rytarowski :


This is polling GPLv3 code into GPLv2 gmake - these licenses are
incompatible.


You mean pulling here? There is no pulling GPLv3 code unless the code
is copied from GPLv3.



It was cherry-picked from GPLv3+.


Thanks to the following patch, I can cross-build a toolset on my Arch 
box. When I look at the make.git tree: 
http://git.savannah.gnu.org/cgit/make.git/tree/
I don't see any 'configure' file. In which way this patch breaks the 
license?


Index: configure
===
RCS file: /cvsroot/src/external/gpl2/gmake/dist/configure,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 configure
--- configure   18 Aug 2014 06:46:54 -  1.1.1.1
+++ configure   1 Jun 2018 08:05:31 -
@@ -13619,10 +13619,9 @@
 #include 
 #include 

-#define GLOB_INTERFACE_VERSION 1
 #if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
 # include 
-# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION
+# if _GNU_GLOB_INTERFACE_VERSION == 1 || _GNU_GLOB_INTERFACE_VERSION == 
2

gnu glob
 # endif
 #endif