Re: compile error in drivers/gpu/drm/radeon/radeon_state.o

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2012/2/21 Toralf Förster <toralf.foerster@xxxxxx>:
>
> Hello,
>
> the build of latest git (.config attached) failed, make ends with :
> ...
>  CC [M]  drivers/gpu/drm/radeon/radeon_cp.o
>  CC [M]  drivers/gpu/drm/radeon/radeon_state.o
> In file included from /home/tfoerste/devel/linux/arch/x86/include/asm/uaccess.h:573:0,
>                 from include/drm/drmP.h:64,
>                 from drivers/gpu/drm/radeon/radeon_state.c:30:
> In function 'copy_from_user',
>    inlined from 'radeon_cp_clear' at drivers/gpu/drm/radeon/radeon_state.c:2171:6:
> /home/tfoerste/devel/linux/arch/x86/include/asm/uaccess_32.h:211:26: error: call to 'copy_from_user_overflow' declared with attribute error:
> copy_from_user() buffer size is not provably correct
> make[4]: *** [drivers/gpu/drm/radeon/radeon_state.o] Error 1
> make[3]: *** [drivers/gpu/drm/radeon] Error 2
> make[2]: *** [drivers/gpu/drm] Error 2
> make[1]: *** [drivers/gpu] Error 2
> make: *** [drivers] Error 2
>
turn off CONFIG_DEBUG_STRICT_USER_COPY_CHECKS

Its a bug in gcc's checks code.

Dave.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux