Print this page
4474 DTrace Userland CTF Support
4475 DTrace userland Keyword
4476 DTrace tests should be better citizens
4479 pid provider types
4480 dof emulation missing checks
Reviewed by: Bryan Cantrill <bryan@joyent.com>

@@ -59,21 +59,21 @@
         probe four(uintptr_t, uintptr_t, uintptr_t, uintptr_t);
         probe five(uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
 };
 EOF
 
-gcc -c test.c
+gcc -m32 -c test.c
 if [ $? -ne 0 ]; then
         print -u2 "failed to compile test.c"
         exit 1
 fi
 $dtrace -G -32 -s prov.d test.o
 if [ $? -ne 0 ]; then
         print -u2 "failed to create DOF"
         exit 1
 fi
-gcc -o test test.o prov.o
+gcc -m32 -o test test.o prov.o
 if [ $? -ne 0 ]; then
         print -u2 "failed to link final executable"
         exit 1
 fi