Marc Abramowitz <[email protected]> added the comment:
Re my comment in #154513, the following seems to fix that problem on FreeBSD
9.0:
[marca@freebsd9-0 ~/src/cpython-2011]$ hg diff Makefile.pre.in
diff -r 70dc1e48bd7f Makefile.pre.in
--- a/Makefile.pre.in Mon Feb 27 22:43:17 2012 +0100
+++ b/Makefile.pre.in Mon Feb 27 14:20:18 2012 -0800
@@ -632,7 +632,7 @@
else touch $@ ; \
fi;
-Include/phelper_offsets.h: $(srcdir)/Include/phelper_offsets.c
$(srcdir)/Python/ceval.o
+$(srcdir)/Include/phelper_offsets.h: $(srcdir)/Include/phelper_offsets.c
$(srcdir)/Python/ceval.o
$(CC) $(PY_CFLAGS) -o $(srcdir)/Include/phelper_offsets \
$(srcdir)/Include/phelper_offsets.c
$(srcdir)/Include/phelper_offsets.sh $(DTRACE_NM) \
I'm now struggling with some other errors:
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -c
./Modules/xxsubtype.c -o Modules/xxsubtype.o
if test "dtrace" != "" ; then dtrace -o Python/dtrace.o -64 -C -G -s
./Include/pydtrace.d Python/ceval.o Modules/gcmodule.o Objects/classobject.o
Objects/typeobject.o; else touch Python/dtrace.o ; fi;
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -o
./Include/phelper_offsets ./Include/phelper_offsets.c
./Include/phelper_offsets.sh OTHER ./Python/ceval.o ./Include/phelper_offsets
> ./Include/phelper_offsets.h
if test "dtrace" != "" ; then dtrace -o Python/phelper.o -DPHELPER -64 -I.
-IInclude -I./Include -C -G -s ./Include/phelper.d ; else touch
Python/phelper.o ; fi;
dtrace: failed to compile script ./Include/phelper.d: line 3: useless
declaration
*** Error code 1
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue13405>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com