Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1667372 > unrolled thread
| Started by | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| First post | 2017-06-16 03:40 +0200 |
| Last post | 2017-06-19 23:10 +0200 |
| Articles | 7 — 3 participants |
Back to article view | Back to linux.kernel
linux-next: build failure after merge of the kspp tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-06-16 03:40 +0200
Re: linux-next: build failure after merge of the kspp tree Daniel Micay <danielmicay@gmail.com> - 2017-06-16 05:00 +0200
Re: linux-next: build failure after merge of the kspp tree Daniel Micay <danielmicay@gmail.com> - 2017-06-16 05:00 +0200
Re: linux-next: build failure after merge of the kspp tree Kees Cook <keescook@google.com> - 2017-06-16 05:30 +0200
Re: linux-next: build failure after merge of the kspp tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-06-16 05:40 +0200
Re: linux-next: build failure after merge of the kspp tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-06-19 02:30 +0200
Re: linux-next: build failure after merge of the kspp tree Kees Cook <keescook@google.com> - 2017-06-19 23:10 +0200
| From | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| Date | 2017-06-16 03:40 +0200 |
| Subject | linux-next: build failure after merge of the kspp tree |
| Message-ID | <tSOoV-1JC-1@gated-at.bofh.it> |
Hi Kees,
After merging the kspp tree, today's linux-next build (x86_64
allmodconfig) failed like this:
In file included from include/linux/bitmap.h:8:0,
from include/linux/cpumask.h:11,
from arch/x86/include/asm/cpumask.h:4,
from arch/x86/include/asm/msr.h:10,
from arch/x86/include/asm/processor.h:20,
from arch/x86/include/asm/cpufeature.h:4,
from arch/x86/include/asm/thread_info.h:52,
from include/linux/thread_info.h:37,
from arch/x86/include/asm/preempt.h:6,
from include/linux/preempt.h:80,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/slab.h:14,
from drivers/scsi/csiostor/csio_lnode.c:37:
In function 'memcpy',
inlined from 'csio_append_attrib' at drivers/scsi/csiostor/csio_lnode.c:248:2,
inlined from 'csio_ln_fdmi_dprt_cbfn' at drivers/scsi/csiostor/csio_lnode.c:471:2:
include/linux/string.h:309:4: error: call to '__read_overflow2' declared with attribute error: detected read beyond size of object passed as 2nd parameter
__read_overflow2();
^
In function 'memcpy',
inlined from 'csio_append_attrib' at drivers/scsi/csiostor/csio_lnode.c:248:2,
inlined from 'csio_ln_fdmi_rhba_cbfn' at drivers/scsi/csiostor/csio_lnode.c:337:2:
include/linux/string.h:309:4: error: call to '__read_overflow2' declared with attribute error: detected read beyond size of object passed as 2nd parameter
__read_overflow2();
^
Caused by commit
b90d6eba50d7 ("include/linux/string.h: add the option of fortified string.h functions")
I have reverted that commit for today.
--
Cheers,
Stephen Rothwell
[toc] | [next] | [standalone]
| From | Daniel Micay <danielmicay@gmail.com> |
|---|---|
| Date | 2017-06-16 05:00 +0200 |
| Message-ID | <tSPEl-2xU-3@gated-at.bofh.it> |
| In reply to | #1667372 |
On Fri, 2017-06-16 at 11:30 +1000, Stephen Rothwell wrote:
> Hi Kees,
>
> After merging the kspp tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> In file included from include/linux/bitmap.h:8:0,
> from include/linux/cpumask.h:11,
> from arch/x86/include/asm/cpumask.h:4,
> from arch/x86/include/asm/msr.h:10,
> from arch/x86/include/asm/processor.h:20,
> from arch/x86/include/asm/cpufeature.h:4,
> from arch/x86/include/asm/thread_info.h:52,
> from include/linux/thread_info.h:37,
> from arch/x86/include/asm/preempt.h:6,
> from include/linux/preempt.h:80,
> from include/linux/spinlock.h:50,
> from include/linux/mmzone.h:7,
> from include/linux/gfp.h:5,
> from include/linux/slab.h:14,
> from drivers/scsi/csiostor/csio_lnode.c:37:
> In function 'memcpy',
> inlined from 'csio_append_attrib' at
> drivers/scsi/csiostor/csio_lnode.c:248:2,
> inlined from 'csio_ln_fdmi_dprt_cbfn' at
> drivers/scsi/csiostor/csio_lnode.c:471:2:
> include/linux/string.h:309:4: error: call to '__read_overflow2'
> declared with attribute error: detected read beyond size of object
> passed as 2nd parameter
> __read_overflow2();
> ^
> In function 'memcpy',
> inlined from 'csio_append_attrib' at
> drivers/scsi/csiostor/csio_lnode.c:248:2,
> inlined from 'csio_ln_fdmi_rhba_cbfn' at
> drivers/scsi/csiostor/csio_lnode.c:337:2:
> include/linux/string.h:309:4: error: call to '__read_overflow2'
> declared with attribute error: detected read beyond size of object
> passed as 2nd parameter
> __read_overflow2();
> ^
>
> Caused by commit
>
> b90d6eba50d7 ("include/linux/string.h: add the option of fortified
> string.h functions")
>
> I have reverted that commit for today.
That's this one: https://lkml.org/lkml/2017/5/9/613, which is in
https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/ in the
4.13/scsi-queue and for-next branches. I think that's why Kees didn't
include it but I get he needs to add that.
[toc] | [prev] | [next] | [standalone]
| From | Daniel Micay <danielmicay@gmail.com> |
|---|---|
| Date | 2017-06-16 05:00 +0200 |
| Message-ID | <tSPEl-2xU-5@gated-at.bofh.it> |
| In reply to | #1667388 |
> https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/ in the > 4.13/scsi-queue and for-next branches. I think that's why Kees didn't > include it but I get he needs to add that. s/get/guess/ Or is that repo supposed to get pulled into next?
[toc] | [prev] | [next] | [standalone]
| From | Kees Cook <keescook@google.com> |
|---|---|
| Date | 2017-06-16 05:30 +0200 |
| Message-ID | <tSQ7o-2ZG-3@gated-at.bofh.it> |
| In reply to | #1667388 |
On Thu, Jun 15, 2017 at 7:51 PM, Daniel Micay <danielmicay@gmail.com> wrote:
> On Fri, 2017-06-16 at 11:30 +1000, Stephen Rothwell wrote:
>> Hi Kees,
>>
>> After merging the kspp tree, today's linux-next build (x86_64
>> allmodconfig) failed like this:
>>
>> In file included from include/linux/bitmap.h:8:0,
>> from include/linux/cpumask.h:11,
>> from arch/x86/include/asm/cpumask.h:4,
>> from arch/x86/include/asm/msr.h:10,
>> from arch/x86/include/asm/processor.h:20,
>> from arch/x86/include/asm/cpufeature.h:4,
>> from arch/x86/include/asm/thread_info.h:52,
>> from include/linux/thread_info.h:37,
>> from arch/x86/include/asm/preempt.h:6,
>> from include/linux/preempt.h:80,
>> from include/linux/spinlock.h:50,
>> from include/linux/mmzone.h:7,
>> from include/linux/gfp.h:5,
>> from include/linux/slab.h:14,
>> from drivers/scsi/csiostor/csio_lnode.c:37:
>> In function 'memcpy',
>> inlined from 'csio_append_attrib' at
>> drivers/scsi/csiostor/csio_lnode.c:248:2,
>> inlined from 'csio_ln_fdmi_dprt_cbfn' at
>> drivers/scsi/csiostor/csio_lnode.c:471:2:
>> include/linux/string.h:309:4: error: call to '__read_overflow2'
>> declared with attribute error: detected read beyond size of object
>> passed as 2nd parameter
>> __read_overflow2();
>> ^
>> In function 'memcpy',
>> inlined from 'csio_append_attrib' at
>> drivers/scsi/csiostor/csio_lnode.c:248:2,
>> inlined from 'csio_ln_fdmi_rhba_cbfn' at
>> drivers/scsi/csiostor/csio_lnode.c:337:2:
>> include/linux/string.h:309:4: error: call to '__read_overflow2'
>> declared with attribute error: detected read beyond size of object
>> passed as 2nd parameter
>> __read_overflow2();
>> ^
>>
>> Caused by commit
>>
>> b90d6eba50d7 ("include/linux/string.h: add the option of fortified
>> string.h functions")
>>
>> I have reverted that commit for today.
>
> That's this one: https://lkml.org/lkml/2017/5/9/613, which is in
> https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/ in the
> 4.13/scsi-queue and for-next branches. I think that's why Kees didn't
> include it but I get he needs to add that.
I'm so confused -- isn't this in next? All the build tests I did were
against yesterday's -next which includes this from what I can see...
-Kees
--
Kees Cook
Pixel Security
[toc] | [prev] | [next] | [standalone]
| From | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| Date | 2017-06-16 05:40 +0200 |
| Message-ID | <tSQh4-32M-7@gated-at.bofh.it> |
| In reply to | #1667398 |
Hi Kees, On Thu, 15 Jun 2017 20:20:47 -0700 Kees Cook <keescook@google.com> wrote: > > I'm so confused -- isn't this in next? All the build tests I did were > against yesterday's -next which includes this from what I can see... It is in next, but gets merged after the kspp tree ... so, this is when inter-tree dependencies are a pain - I can merge the kspp tree later, but then you have to remember which trees Linus must merge before you send your pull request. That's why we like to have all trees be effectively stand alone (as much as possible). -- Cheers, Stephen Rothwell
[toc] | [prev] | [next] | [standalone]
| From | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| Date | 2017-06-19 02:30 +0200 |
| Message-ID | <tTSJQ-3JN-19@gated-at.bofh.it> |
| In reply to | #1667402 |
Hi Stephen, On Fri, 16 Jun 2017 13:31:44 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote: > > Hi Kees, > > On Thu, 15 Jun 2017 20:20:47 -0700 Kees Cook <keescook@google.com> wrote: > > > > I'm so confused -- isn't this in next? All the build tests I did were > > against yesterday's -next which includes this from what I can see... > > It is in next, but gets merged after the kspp tree ... so, this is when > inter-tree dependencies are a pain - I can merge the kspp tree later, > but then you have to remember which trees Linus must merge before you > send your pull request. That's why we like to have all trees be > effectively stand alone (as much as possible). OK, for now I have moved the merging of the kspp tree to after everything else (except Andrew's quilt series). This will (unfortunately) hide some dependencies between trees. -- Cheers, Stephen Rothwell
[toc] | [prev] | [next] | [standalone]
| From | Kees Cook <keescook@google.com> |
|---|---|
| Date | 2017-06-19 23:10 +0200 |
| Message-ID | <tUc5Q-7Wx-31@gated-at.bofh.it> |
| In reply to | #1668687 |
On Sun, Jun 18, 2017 at 5:23 PM, Stephen Rothwell <sfr@canb.auug.org.au> wrote: > Hi Stephen, > > On Fri, 16 Jun 2017 13:31:44 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote: >> >> Hi Kees, >> >> On Thu, 15 Jun 2017 20:20:47 -0700 Kees Cook <keescook@google.com> wrote: >> > >> > I'm so confused -- isn't this in next? All the build tests I did were >> > against yesterday's -next which includes this from what I can see... >> >> It is in next, but gets merged after the kspp tree ... so, this is when >> inter-tree dependencies are a pain - I can merge the kspp tree later, >> but then you have to remember which trees Linus must merge before you >> send your pull request. That's why we like to have all trees be >> effectively stand alone (as much as possible). > > OK, for now I have moved the merging of the kspp tree to after > everything else (except Andrew's quilt series). This will > (unfortunately) hide some dependencies between trees. In the other thread Andrew asked that I just have it all go through -mm, so I've removed it from KSPP and sent the series his way (with you in Cc). Thanks! -Kees -- Kees Cook Pixel Security
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web