You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CC [M] /home/avi/dtrace/build-4.7.3-100.fc23.x86_64/driver/dtrace_asm.o
/home/avi/dtrace/build-4.7.3-100.fc23.x86_64/driver/dtrace_asm.c: In function 'dtrace_copystr':
/home/avi/dtrace/build-4.7.3-100.fc23.x86_64/driver/dtrace_asm.c:197:2: warning: ignoring return value of 'copy_from_user', declared with attribute warn_unused_result [-Wunused-result]
(void) copy_from_user((void *) kaddr, (void *) uaddr, size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/avi/dtrace/build-4.7.3-100.fc23.x86_64/driver/dtrace_asm.c: In function 'dtrace_getfp':
/home/avi/dtrace/build-4.7.3-100.fc23.x86_64/driver/dtrace_asm.c:60:18: warning: calling '__builtin_frame_address' with a nonzero argument is unsafe [-Wframe-address]
return (greg_t) __builtin_frame_address(1);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/avi/dtrace/build-4.7.3-100.fc23.x86_64/driver/dtrace_asm.o: warning: objtool: asm_placeholder()+0x9: return without frame pointer restore
/home/avi/dtrace/build-4.7.3-100.fc23.x86_64/driver/dtrace_asm.o: warning: objtool: asm_placeholder()+0x9: frame pointer state mismatch
CC [M] /home/avi/dtrace/build-4.7.3-100.fc23.x86_64/driver/dtrace_isa.o
distcc[9180] ERROR: compile /home/avi/dtrace/build-4.7.3-100.fc23.x86_64/driver/dtrace_isa.c on localhost failed
/home/avi/dtrace/build-4.7.3-100.fc23.x86_64/driver/dtrace_isa.c:161:16: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.walk_stack = walk_stack,
^~~~~~~~~~
/home/avi/dtrace/build-4.7.3-100.fc23.x86_64/driver/dtrace_isa.c:161:16: note: (near initialization for 'print_trace_ops.walk_stack')
/home/avi/dtrace/build-4.7.3-100.fc23.x86_64/driver/dtrace_isa.c:167:13: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.address = print_trace_address,
^~~~~~~~~~~~~~~~~~~
/home/avi/dtrace/build-4.7.3-100.fc23.x86_64/driver/dtrace_isa.c:167:13: note: (near initialization for 'print_trace_ops.address')
cc1: some warnings being treated as errors
scripts/Makefile.build:289: recipe for target '/home/avi/dtrace/build-4.7.3-100.fc23.x86_64/driver/dtrace_isa.o' failed
The text was updated successfully, but these errors were encountered:
Kernel 4.8.0-37, gcc 6.2.0, Ubuntu 16.10.
stacktrace.h has changed, so print_trace_address in dtrace_isa.c returns an int.
Also indtrace_isa.c, the first argument to walk_stack is a task_struct*, so you can use task_thread_info(task) to get the thread_info from it.
Some of the definitions in vminfo.c have changed, too, and the updated ones are in vm_event_item.h.
HTH.
gcc 6.2.1.
The text was updated successfully, but these errors were encountered: