Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CC libhybris_common_la-hooks.lo
- hooks.c: In function 'hybris_pthread_start_routine':
- hooks.c:294:41: warning: initialization from incompatible pointer type [enabled by default]
- struct hybris_start_routine_t *sr = (struct hybris_start_routine*)a;
- ^
- hooks.c: In function '_hybris_hook_pthread_create':
- hooks.c:325:5: warning: passing argument 3 of 'pthread_create' from incompatible pointer type [enabled by default]
- ret = pthread_create(thread, realattr, hybris_pthread_start_routine, sr);
- ^
- In file included from hooks.c:37:0:
- /usr/include/pthread.h:244:12: note: expected 'void * (*)(void *)' but argument is of type 'void (*)(void *)'
- extern int pthread_create (pthread_t *__restrict __newthread,
- ^
- hooks.c: In function '_hybris_hook_pthread_attr_setstackaddr':
- hooks.c:492:5: warning: 'pthread_attr_setstackaddr' is deprecated (declared at /usr/include/pthread.h:374) [-Wdeprecated-declarations]
- return pthread_attr_setstackaddr(realattr, stack_addr);
- ^
- hooks.c: In function '_hybris_hook_pthread_attr_getstackaddr':
- hooks.c:501:5: warning: 'pthread_attr_getstackaddr' is deprecated (declared at /usr/include/pthread.h:366) [-Wdeprecated-declarations]
- return pthread_attr_getstackaddr(realattr, stack_addr);
- ^
- hooks.c: In function '_hybris_hook_fseek':
- hooks.c:1490:5: warning: format '%jd' expects argument of type 'intmax_t', but argument 9 has type 'long int' [-Wformat=]
- TRACE_HOOK("fp %p offset %jd whence %d", fp, offset, whence);
- ^
- hooks.c:1490:5: warning: format '%jd' expects argument of type 'intmax_t', but argument 11 has type 'long int' [-Wformat=]
- hooks.c:1490:5: warning: format '%jd' expects argument of type 'intmax_t', but argument 11 has type 'long int' [-Wformat=]
- hooks.c: In function '_hybris_hook_fseeko':
- hooks.c:1497:5: warning: format '%jd' expects argument of type 'intmax_t', but argument 9 has type 'off_t' [-Wformat=]
- TRACE_HOOK("fp %p offset %jd whence %d", fp, offset, whence);
- ^
- hooks.c:1497:5: warning: format '%jd' expects argument of type 'intmax_t', but argument 11 has type 'off_t' [-Wformat=]
- hooks.c:1497:5: warning: format '%jd' expects argument of type 'intmax_t', but argument 11 has type 'off_t' [-Wformat=]
- hooks.c: In function '_hybris_hook_fsetpos':
- hooks.c:1509:5: warning: statement with no effect [-Wunused-value]
- mbsinit(&my_fpos.__state);
- ^
- hooks.c: In function '_hybris_hook_scandirat':
- hooks.c:1834:49: warning: passing argument 4 of 'qsort' from incompatible pointer type [enabled by default]
- qsort(result, nItems, sizeof(struct bionic_dirent *), compar);
- ^
- In file included from hooks.c:30:0:
- /usr/include/stdlib.h:765:13: note: expected '__compar_fn_t' but argument is of type 'int (*)(const struct bionic_dirent **, const struct bionic_dirent **)'
- extern void qsort (void *__base, size_t __nmemb, size_t __size,
- ^
- hooks.c: In function '_hybris_hook_mmap':
- hooks.c:2177:5: warning: format '%jd' expects argument of type 'intmax_t', but argument 13 has type 'off_t' [-Wformat=]
- TRACE_HOOK("addr %p len %zu prot %i flags %i fd %i offset %jd",
- ^
- hooks.c:2177:5: warning: format '%jd' expects argument of type 'intmax_t', but argument 15 has type 'off_t' [-Wformat=]
- hooks.c:2177:5: warning: format '%jd' expects argument of type 'intmax_t', but argument 15 has type 'off_t' [-Wformat=]
- hooks.c: In function '_hybris_hook_malloc':
- hooks.c:2471:9: error: 'siz' undeclared (first use in this function)
- siz = atoi(tmp1);
- ^
- hooks.c:2471:9: note: each undeclared identifier is reported only once for each function it appears in
- hooks.c:2477:9: error: 'siznew' undeclared (first use in this function)
- siznew = atoi(tmp2);
- ^
- hooks.c: In function '_hybris_hook_my_printf':
- hooks.c:2510:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
- return fprintf(stderr, "%d:%s", syscall(__NR_gettid), buff);
- ^
- hooks.c: At top level:
- hooks.c:2503:12: warning: '_hybris_hook_my_printf' defined but not used [-Wunused-function]
- static int _hybris_hook_my_printf(const char *tmp, ...)
- ^
- make[3]: *** [libhybris_common_la-hooks.lo] Error 1
- make[3]: Leaving directory `/home/foidbgen/hadk/hybris/mw/libhybris/libhybris/hybris/common'
- make[2]: *** [all-recursive] Error 1
- make[2]: Leaving directory `/home/foidbgen/hadk/hybris/mw/libhybris/libhybris/hybris/common'
- make[1]: *** [all-recursive] Error 1
- make[1]: Leaving directory `/home/foidbgen/hadk/hybris/mw/libhybris/libhybris/hybris'
- make: *** [all] Error 2
- error: Bad exit status from /var/tmp/rpm-tmp.ViZFzS (%build)
- RPM build errors:
- Bad exit status from /var/tmp/rpm-tmp.ViZFzS (%build)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement