2010-02-22 11:03:49

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure in i386 since next-20100104

Hi,

The i386 allmodconfig builds of linux-next have been failing since
next-20100204 like this:

In file included from arch/x86/include/asm/uaccess.h:571,
from include/linux/uaccess.h:5,
from include/linux/highmem.h:6,
from include/linux/pagemap.h:10,
from include/linux/mempolicy.h:62,
from include/linux/migrate.h:5,
from mm/migrate.c:15:
In function 'copy_from_user',
inlined from 'do_pages_stat' at mm/migrate.c:1009:
arch/x86/include/asm/uaccess_32.h:212: error: call to 'copy_from_user_overflow' declared with attribute error: copy_from_user() buffer size is not provably correct

[Today's linux-next is the same except for the one line starting
"inlined" which is now:
inlined from 'do_pages_stat' at mm/migrate.c:1012:
]

I use gcc 4.4.3 for those compiles. (See
http://kisskb.ellerman.id.au/kisskb/buildresult/2118967/ for full logs.)

There doesn't seem to be any relevant change in the config from Feb 3 to
4:

+CONFIG_I2C_XILINX=m
+CONFIG_RADIO_SAA7706H=m

and nothing else jumps out. The i386 defconfig and allnoconfig builds do
not fail.
--
Cheers,
Stephen Rothwell [email protected]
http://www.canb.auug.org.au/~sfr/


Attachments:
(No filename) (1.24 kB)
(No filename) (198.00 B)
Download all attachments

2010-02-23 02:19:14

by H. Peter Anvin

[permalink] [raw]
Subject: Re: linux-next: build failure in i386 since next-20100104

On 02/22/2010 03:03 AM, Stephen Rothwell wrote:
> Hi,
>
> The i386 allmodconfig builds of linux-next have been failing since
> next-20100204 like this:
>
> In file included from arch/x86/include/asm/uaccess.h:571,
> from include/linux/uaccess.h:5,
> from include/linux/highmem.h:6,
> from include/linux/pagemap.h:10,
> from include/linux/mempolicy.h:62,
> from include/linux/migrate.h:5,
> from mm/migrate.c:15:
> In function 'copy_from_user',
> inlined from 'do_pages_stat' at mm/migrate.c:1009:
> arch/x86/include/asm/uaccess_32.h:212: error: call to 'copy_from_user_overflow' declared with attribute error: copy_from_user() buffer size is not provably correct
>
> [Today's linux-next is the same except for the one line starting
> "inlined" which is now:
> inlined from 'do_pages_stat' at mm/migrate.c:1012:
> ]
>
> I use gcc 4.4.3 for those compiles. (See
> http://kisskb.ellerman.id.au/kisskb/buildresult/2118967/ for full logs.)
>
> There doesn't seem to be any relevant change in the config from Feb 3 to
> 4:
>
> +CONFIG_I2C_XILINX=m
> +CONFIG_RADIO_SAA7706H=m
>
> and nothing else jumps out. The i386 defconfig and allnoconfig builds do
> not fail.

Already fixed in upstream, checkin 87b8d1adefa1548b591cbf0d63965987e2cf893d.

-hpa

2010-02-23 02:21:51

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: build failure in i386 since next-20100104

Hi Peter,

On Mon, 22 Feb 2010 18:18:59 -0800 "H. Peter Anvin" <[email protected]> wrote:
>
> Already fixed in upstream, checkin 87b8d1adefa1548b591cbf0d63965987e2cf893d.

Yep, saw that today, thanks.

--
Cheers,
Stephen Rothwell [email protected]
http://www.canb.auug.org.au/~sfr/


Attachments:
(No filename) (302.00 B)
(No filename) (198.00 B)
Download all attachments