diff options
| author | Guenter Roeck <[email protected]> | 2013-04-29 16:17:15 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-04-29 18:28:13 -0700 |
| commit | 2fb0815c9ee6b9ac50e15dd8360ec76d9fa46a22 (patch) | |
| tree | f643cc99fbca761607b39a9ca47e710f05b91e8a /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 657eee7d25fb1422422ca32d5619185ae56a245d (diff) | |
gcc4: disable __compiletime_object_size for GCC 4.6+
__builtin_object_size is known to be broken on gcc 4.6+.
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48880 for details.
This causes unnecssary build warnings and errors such as
In function 'copy_from_user', inlined from 'sb16_copy_from_user'
at sound/oss/sb_audio.c:878:22:
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[3]: [sound/oss/sb_audio.o] Error 1 (ignored)
Disable it where broken.
Signed-off-by: Guenter Roeck <[email protected]>
Cc: David Howells <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions