Date: Wed, 19 Aug 2015 15:56:12 +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%2BU3Mf7h8TwWXsMzJ_HkNojkZdWfc2pVmb31kzQ9kzbZ%2B2ZHuQ@mail.gmail.com> In-Reply-To: <CA%2BU3Mf6OC1H-FGSVt6Q8BdGvbibcO7LkcJgq7uL3pC-R4uju1Q@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> <CA%2BU3Mf6OC1H-FGSVt6Q8BdGvbibcO7LkcJgq7uL3pC-R4uju1Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 18 July 2014 at 18:07, Sevan / Venture37 <venture37@gmail.com> wrote: > 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 Revisiting this again, it seems that the build still fails because useless declaration with newer python & newer patches. ===> Building for python27-2.7.10 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 -I/usr/local/include -64 -C -xnolibs -G -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 Sevan / Venture37
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BU3Mf7h8TwWXsMzJ_HkNojkZdWfc2pVmb31kzQ9kzbZ%2B2ZHuQ>