search for: ccnykq1o

Displaying 1 result from an estimated 1 matches for "ccnykq1o".

2008 Mar 11
6
Bad instruction on x86_64 build on OS X with DTRACE_PROBE
I was looking at mod_trace (http://prefetch.net/projects/apache_modtrace/index.html ) and playing with getting it to compile on OS X. When building for x86_64 with -arch x86_64 we get bad instructions generated: gcc -o foo -arch x86_64 foo.c /var/folders/rV/rV1x2DafFr0R6tGG+1bbk++++TM/-Tmp-//ccnykQ1o.s:11:bad register name `%%esi)'' Using gcc -S I can definitely see we are not generating correct code: LCFI1: __dtrace_probe$6_foo___probe__noargs: nop leal 0(%%esi), %%esi Building with -arch i386 works, DTRACE_PROBE1, etc also seem to work on OS X based...