Last active
December 26, 2015 16:19
-
-
Save spajus/7179479 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: configure.ac | |
=================================================================== | |
--- configure.ac (revision 13700) | |
+++ configure.ac (working copy) | |
@@ -346,6 +346,12 @@ | |
DEFAULT_SUPP="darwin12.supp ${DEFAULT_SUPP}" | |
DEFAULT_SUPP="darwin10-drd.supp ${DEFAULT_SUPP}" | |
;; | |
+ 13.*) | |
+ AC_MSG_RESULT([Darwin 12.x (${kernel}) / Mac OS X 10.8 Mountain Lion]) | |
+ AC_DEFINE([DARWIN_VERS], DARWIN_10_8, [Darwin / Mac OS X version]) | |
+ DEFAULT_SUPP="darwin12.supp ${DEFAULT_SUPP}" | |
+ DEFAULT_SUPP="darwin10-drd.supp ${DEFAULT_SUPP}" | |
+ ;; | |
*) | |
AC_MSG_RESULT([unsupported (${kernel})]) | |
AC_MSG_ERROR([Valgrind works on Darwin 10.x and 11.x (Mac OS X 10.6/7)]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ valgrind make | |
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive | |
Making all in include | |
make[2]: Nothing to be done for `all'. | |
Making all in VEX | |
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am | |
make[3]: Nothing to be done for `all-am'. | |
Making all in coregrind | |
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am | |
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -DVGA_amd64=1 -DVGO_darwin=1 -DVGP_amd64_darwin=1 -DVGPV_amd64_darwin_vanilla=1 -I../coregrind -DVG_LIBDIR="\"/usr/local/Cellar/valgrind/3.8.1/lib/valgrind"\" -DVG_PLATFORM="\"amd64-darwin\"" -arch x86_64 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length -fno-strict-aliasing -fno-builtin -mmacosx-version-min=10.5 -fno-stack-protector -Wno-long-long -Wwrite-strings -fno-stack-protector -c -o m_syswrap/libcoregrind_amd64_darwin_a-syswrap-darwin.o `test -f 'm_syswrap/syswrap-darwin.c' || echo './'`m_syswrap/syswrap-darwin.c | |
m_syswrap/syswrap-darwin.c:439:17: warning: passing 'Char *' (aka 'signed char *') to parameter of type 'HChar *' (aka 'char *') converts between pointers to integer types with different sign | |
[-Wpointer-sign] | |
VG_(sprintf)(i->name, name, port); | |
^~~~~~~ | |
../include/pub_tool_libcprint.h:40:36: note: passing argument to parameter 'buf' here | |
extern UInt VG_(sprintf) ( HChar* buf, const HChar* format, ... ) | |
^ | |
m_syswrap/syswrap-darwin.c:456:17: warning: returning 'Char *' (aka 'signed char *') from a function with result type 'const char *' converts between pointers to integer types with different sign | |
[-Wpointer-sign] | |
return i->name; | |
^~~~~~~ | |
m_syswrap/syswrap-darwin.c:1068:7: error: use of undeclared identifier 'F_READBOOTSTRAP' | |
F(F_READBOOTSTRAP); | |
^ | |
m_syswrap/syswrap-darwin.c:1056:19: note: expanded from macro 'F' | |
#define F(n) case VKI_##n: return #n | |
^ | |
<scratch space>:195:1: note: expanded from here | |
VKI_F_READBOOTSTRAP | |
^ | |
../include/vki/vki-darwin.h:287:29: note: expanded from macro 'VKI_F_READBOOTSTRAP' | |
#define VKI_F_READBOOTSTRAP F_READBOOTSTRAP | |
^ | |
m_syswrap/syswrap-darwin.c:1069:7: error: use of undeclared identifier 'F_WRITEBOOTSTRAP' | |
F(F_WRITEBOOTSTRAP); | |
^ | |
m_syswrap/syswrap-darwin.c:1056:19: note: expanded from macro 'F' | |
#define F(n) case VKI_##n: return #n | |
^ | |
<scratch space>:195:1: note: expanded from here | |
VKI_F_WRITEBOOTSTRAP | |
^ | |
../include/vki/vki-darwin.h:288:30: note: expanded from macro 'VKI_F_WRITEBOOTSTRAP' | |
#define VKI_F_WRITEBOOTSTRAP F_WRITEBOOTSTRAP | |
^ | |
m_syswrap/syswrap-darwin.c:1171:9: error: use of undeclared identifier 'F_READBOOTSTRAP' | |
case VKI_F_READBOOTSTRAP: | |
^ | |
../include/vki/vki-darwin.h:287:29: note: expanded from macro 'VKI_F_READBOOTSTRAP' | |
#define VKI_F_READBOOTSTRAP F_READBOOTSTRAP | |
^ | |
m_syswrap/syswrap-darwin.c:1172:9: error: use of undeclared identifier 'F_WRITEBOOTSTRAP' | |
case VKI_F_WRITEBOOTSTRAP: | |
^ | |
../include/vki/vki-darwin.h:288:30: note: expanded from macro 'VKI_F_WRITEBOOTSTRAP' | |
#define VKI_F_WRITEBOOTSTRAP F_WRITEBOOTSTRAP | |
^ | |
m_syswrap/syswrap-darwin.c:1726:1: warning: no previous prototype for function 'vgSysWrap_darwin_gettid_before' [-Wmissing-prototypes] | |
PRE(gettid) | |
^ | |
m_syswrap/syswrap-darwin.c:698:25: note: expanded from macro 'PRE' | |
#define PRE(name) DEFN_PRE_TEMPLATE(darwin, name) | |
^ | |
m_syswrap/priv_types_n_macros.h:229:9: note: expanded from macro 'DEFN_PRE_TEMPLATE' | |
void vgSysWrap_##auxstr##_##name##_before \ | |
^ | |
<scratch space>:86:1: note: expanded from here | |
vgSysWrap_darwin_gettid_before | |
^ | |
m_syswrap/syswrap-darwin.c:1965:56: warning: passing 'Char *' (aka 'signed char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
ML_(record_fd_open_with_given_name)(tid, RES, (Char*)ARG1); | |
^~~~~~~~~~~ | |
m_syswrap/priv_syswrap-generic.h:61:55: note: passing argument to parameter 'pathname' here | |
char *pathname); | |
^ | |
m_syswrap/syswrap-darwin.c:2749:21: warning: passing 'const Char *' (aka 'const signed char *') to parameter of type 'const HChar *' (aka 'const char *') converts between pointers to integer types | |
with different sign [-Wpointer-sign] | |
PRE_MEM_READ( s1, (Addr)a_p, sizeof(Addr) ); | |
^~ | |
m_syswrap/priv_types_n_macros.h:601:49: note: expanded from macro 'PRE_MEM_READ' | |
VG_TRACK( pre_mem_read, Vg_CoreSysCall, tid, zzname, zzaddr, zzlen) | |
^ | |
./pub_core_tooliface.h:53:25: note: expanded from macro 'VG_TRACK' | |
VG_(tdict).track_##fn(args); \ | |
^ | |
m_syswrap/syswrap-darwin.c:2753:24: warning: passing 'const Char *' (aka 'const signed char *') to parameter of type 'const HChar *' (aka 'const char *') converts between pointers to integer types | |
with different sign [-Wpointer-sign] | |
PRE_MEM_RASCIIZ( s2, a_deref ); | |
^~ | |
m_syswrap/priv_types_n_macros.h:604:56: note: expanded from macro 'PRE_MEM_RASCIIZ' | |
VG_TRACK( pre_mem_read_asciiz, Vg_CoreSysCall, tid, zzname, zzaddr) | |
^ | |
./pub_core_tooliface.h:53:25: note: expanded from macro 'VG_TRACK' | |
VG_(tdict).track_##fn(args); \ | |
^ | |
m_syswrap/syswrap-darwin.c:2811:33: warning: passing 'const char [18]' to parameter of type 'const Char *' (aka 'const signed char *') converts between pointers to integer types with different sign | |
[-Wpointer-sign] | |
pre_argv_envp( ARG4, tid, "posix_spawn(argv)", | |
^~~~~~~~~~~~~~~~~~~ | |
m_syswrap/syswrap-darwin.c:2744:61: note: passing argument to parameter 's1' here | |
static void pre_argv_envp(Addr a, ThreadId tid, const Char* s1, const Char* s2) | |
^ | |
m_syswrap/syswrap-darwin.c:2812:33: warning: passing 'const char [21]' to parameter of type 'const Char *' (aka 'const signed char *') converts between pointers to integer types with different sign | |
[-Wpointer-sign] | |
"posix_spawn(argv[i])" ); | |
^~~~~~~~~~~~~~~~~~~~~~ | |
m_syswrap/syswrap-darwin.c:2744:77: note: passing argument to parameter 's2' here | |
static void pre_argv_envp(Addr a, ThreadId tid, const Char* s1, const Char* s2) | |
^ | |
m_syswrap/syswrap-darwin.c:2814:33: warning: passing 'const char [18]' to parameter of type 'const Char *' (aka 'const signed char *') converts between pointers to integer types with different sign | |
[-Wpointer-sign] | |
pre_argv_envp( ARG5, tid, "posix_spawn(envp)", | |
^~~~~~~~~~~~~~~~~~~ | |
m_syswrap/syswrap-darwin.c:2744:61: note: passing argument to parameter 's1' here | |
static void pre_argv_envp(Addr a, ThreadId tid, const Char* s1, const Char* s2) | |
^ | |
m_syswrap/syswrap-darwin.c:2815:33: warning: passing 'const char [21]' to parameter of type 'const Char *' (aka 'const signed char *') converts between pointers to integer types with different sign | |
[-Wpointer-sign] | |
"posix_spawn(envp[i])" ); | |
^~~~~~~~~~~~~~~~~~~~~~ | |
m_syswrap/syswrap-darwin.c:2744:77: note: passing argument to parameter 's2' here | |
static void pre_argv_envp(Addr a, ThreadId tid, const Char* s1, const Char* s2) | |
^ | |
m_syswrap/syswrap-darwin.c:2873:12: warning: assigning to 'Char *' (aka 'signed char *') from 'HChar *' (aka 'char *') converts between pointers to integer types with different sign | |
[-Wpointer-sign] | |
path = VG_(name_of_launcher); | |
^ ~~~~~~~~~~~~~~~~~~~~~ | |
m_syswrap/syswrap-darwin.c:2944:17: warning: assigning to 'HChar *' (aka 'char *') from 'Char *' (aka 'signed char *') converts between pointers to integer types with different sign | |
[-Wpointer-sign] | |
argv[j++] = launcher_basename; | |
^ ~~~~~~~~~~~~~~~~~ | |
m_syswrap/syswrap-darwin.c:2950:17: warning: assigning to 'HChar *' (aka 'char *') from 'Char *' (aka 'signed char *') converts between pointers to integer types with different sign | |
[-Wpointer-sign] | |
argv[j++] = (Char*)ARG2; | |
^ ~~~~~~~~~~~ | |
m_syswrap/syswrap-darwin.c:7916:1: warning: no previous prototype for function 'vgSysWrap_darwin_mach__17_before' [-Wmissing-prototypes] | |
PRE(mach__17) | |
^ | |
m_syswrap/syswrap-darwin.c:698:25: note: expanded from macro 'PRE' | |
#define PRE(name) DEFN_PRE_TEMPLATE(darwin, name) | |
^ | |
m_syswrap/priv_types_n_macros.h:229:9: note: expanded from macro 'DEFN_PRE_TEMPLATE' | |
void vgSysWrap_##auxstr##_##name##_before \ | |
^ | |
<scratch space>:38:1: note: expanded from here | |
vgSysWrap_darwin_mach__17_before | |
^ | |
m_syswrap/syswrap-darwin.c:7941:1: warning: no previous prototype for function 'vgSysWrap_darwin_mach__22_before' [-Wmissing-prototypes] | |
PRE(mach__22) | |
^ | |
m_syswrap/syswrap-darwin.c:698:25: note: expanded from macro 'PRE' | |
#define PRE(name) DEFN_PRE_TEMPLATE(darwin, name) | |
^ | |
m_syswrap/priv_types_n_macros.h:229:9: note: expanded from macro 'DEFN_PRE_TEMPLATE' | |
void vgSysWrap_##auxstr##_##name##_before \ | |
^ | |
<scratch space>:38:1: note: expanded from here | |
vgSysWrap_darwin_mach__22_before | |
^ | |
m_syswrap/syswrap-darwin.c:7946:1: warning: no previous prototype for function 'vgSysWrap_darwin_mach__23_before' [-Wmissing-prototypes] | |
PRE(mach__23) | |
^ | |
m_syswrap/syswrap-darwin.c:698:25: note: expanded from macro 'PRE' | |
#define PRE(name) DEFN_PRE_TEMPLATE(darwin, name) | |
^ | |
m_syswrap/priv_types_n_macros.h:229:9: note: expanded from macro 'DEFN_PRE_TEMPLATE' | |
void vgSysWrap_##auxstr##_##name##_before \ | |
^ | |
<scratch space>:38:1: note: expanded from here | |
vgSysWrap_darwin_mach__23_before | |
^ | |
m_syswrap/syswrap-darwin.c:7951:1: warning: no previous prototype for function 'vgSysWrap_darwin_iopolicysys_before' [-Wmissing-prototypes] | |
PRE(iopolicysys) | |
^ | |
m_syswrap/syswrap-darwin.c:698:25: note: expanded from macro 'PRE' | |
#define PRE(name) DEFN_PRE_TEMPLATE(darwin, name) | |
^ | |
m_syswrap/priv_types_n_macros.h:229:9: note: expanded from macro 'DEFN_PRE_TEMPLATE' | |
void vgSysWrap_##auxstr##_##name##_before \ | |
^ | |
<scratch space>:38:1: note: expanded from here | |
vgSysWrap_darwin_iopolicysys_before | |
^ | |
m_syswrap/syswrap-darwin.c:7956:1: warning: no previous prototype for function 'vgSysWrap_darwin_iopolicysys_after' [-Wmissing-prototypes] | |
POST(iopolicysys) | |
^ | |
m_syswrap/syswrap-darwin.c:699:25: note: expanded from macro 'POST' | |
#define POST(name) DEFN_POST_TEMPLATE(darwin, name) | |
^ | |
m_syswrap/priv_types_n_macros.h:238:9: note: expanded from macro 'DEFN_POST_TEMPLATE' | |
void vgSysWrap_##auxstr##_##name##_after \ | |
^ | |
<scratch space>:38:1: note: expanded from here | |
vgSysWrap_darwin_iopolicysys_after | |
^ | |
18 warnings and 4 errors generated. | |
make[3]: *** [m_syswrap/libcoregrind_amd64_darwin_a-syswrap-darwin.o] Error 1 | |
make[2]: *** [all] Error 2 | |
make[1]: *** [all-recursive] Error 1 | |
make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment