Date: Fri, 18 Jul 2014 18:07:52 +0100 From: "Sevan / Venture37" <venture37@gmail.com> To: Mark Johnston <markj@freebsd.org> Cc: "freebsd-dtrace@freebsd.org" <freebsd-dtrace@freebsd.org> Subject: Re: DTrace probes for python 2.7.7 Message-ID: <CA%2BU3Mf6OC1H-FGSVt6Q8BdGvbibcO7LkcJgq7uL3pC-R4uju1Q@mail.gmail.com> In-Reply-To: <CA%2BU3Mf4LuJ7bDyUsZvjzFhKWOQXByRgPDWQws67w__0K=k1neg@mail.gmail.com> References: <CA%2BU3Mf7_t3GuRMS0YicRb03ti56LHg_DD=iC=%2BD_wEj2SPNwyg@mail.gmail.com> <CA%2BU3Mf4ojD08wsWvRDkRDBmnk=eoJZCOD21hAMx1BC14_Kp5ZQ@mail.gmail.com> <CA%2BU3Mf7WJbGbqEAF7Zm77TYDAtSKbuU2pq=YwR=obtnfupLtYQ@mail.gmail.com> <CAMw1wOzE9An3Yz9XJh4xezoGk_UMJAxS=nJdj5Z4UquvverOgw@mail.gmail.com> <CA%2BU3Mf4PZuwYwyed50Swza%2BQdsBFtTe5=q6_ZnpKyGs67k=jbg@mail.gmail.com> <20140716041445.GB20065@raichu> <CA%2BU3Mf4LuJ7bDyUsZvjzFhKWOQXByRgPDWQws67w__0K=k1neg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 17 July 2014 19:00, Sevan / Venture37 <venture37@gmail.com> wrote: > On 16 July 2014 05:14, Mark Johnston <markj@freebsd.org> wrote: >> I've since discovered that the correct way to solve this problem is by >> adding "-xnolibs" to the dtrace -G flags. > > Hi Mark, > I've amended the line in the Makefile.pre.in & trying to rebuild now. > It looks like the needs a litte more work as upon install, files are > not copied into place at the moment > Did your build pass tests pass after you built? ala > https://www.jcea.es/artic/python_dtrace.htm > > Sevan Ignoring ports & using the stock python 2.7.8 source & patch, with Makefile.pre.in modified to add -xnolibs e.g. "-C -G -xnolibs -s Include/pydtrace.d \" Include/pydtrace_offsets.sh OTHER Python/ceval.o Include/pydtrace_offsets > Include/pydtrace_offsets.h if test "/usr/sbin/dtrace" != "" ; then touch -r Python/ceval.o Python/ceval.o.ts_dtrace ; touch -r Modules/gcmodule.o Modules/gcmodule.o.ts_dtrace ; touch -r Objects/classobject.o Objects/classobject.o.ts_dtrace ; touch -r Objects/typeobject.o Objects/typeobject.o.ts_dtrace ; /usr/sbin/dtrace -o Python/pydtrace.o -DPYDTRACE_STACK_HELPER -I. -IInclude -I./Include -64 -C -G -xnolibs -s Include/pydtrace.d Python/ceval.o Modules/gcmodule.o Objects/classobject.o Objects/typeobject.o ; touch -r Python/ceval.o.ts_dtrace Python/ceval.o ; touch -r Modules/gcmodule.o.ts_dtrace Modules/gcmodule.o ; touch -r Objects/classobject.o.ts_dtrace Objects/classobject.o ; touch -r Objects/typeobject.o.ts_dtrace Objects/typeobject.o ; rm Python/ceval.o.ts_dtrace ; rm Modules/gcmodule.o.ts_dtrace ; rm Objects/classobject.o.ts_dtrace ; rm Objects/typeobject.o.ts_dtrace ; else touch Python/pydtrace.o ; fi; dtrace: failed to compile script Include/pydtrace.d: line 27: useless declaration *** Error code 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BU3Mf6OC1H-FGSVt6Q8BdGvbibcO7LkcJgq7uL3pC-R4uju1Q>