Message109215
this breaks the build if the time and datetime extensions are built statically into the python interpreter.
The build fails with a link error; adding the _time extension to Modules/Setup.dist
@@ -160,6 +160,7 @@
#cmath cmathmodule.c _math.c # -lm # complex math library functions
#math mathmodule.c _math.c # -lm # math library functions, e.g. sin()
#_struct _struct.c # binary structure packing/unpacking
+#_time _time.c # # segregated code shared between time and datetime modules
#time timemodule.c # -lm # time operations and variables
#operator operator.c # operator.add() and similar goodies
#_weakref _weakref.c # basic weak reference support
you get another link error:
libpython3.2.a(config.o):(.data+0x58): undefined reference to `PyInit__time'
collect2: ld returned 1 exit status
because _time isn't a proper extension.
raising the severity as this is a regression |
|
Date |
User |
Action |
Args |
2010-07-04 13:33:11 | doko | set | recipients:
+ doko, loewis, brett.cannon, mark.dickinson, belopolsky, vstinner |
2010-07-04 13:33:10 | doko | set | messageid: <1278250390.76.0.469515668666.issue9012@psf.upfronthosting.co.za> |
2010-07-04 13:33:09 | doko | link | issue9012 messages |
2010-07-04 13:33:07 | doko | create | |
|