[uClibc]uClibc 0.9.15 released

Manuel Novoa III mjn3 at codepoet.org
Wed Aug 28 01:19:02 UTC 2002


On Tue, Aug 27, 2002 at 06:13:50PM -0600, Erik Andersen wrote:
> CodePoet Consulting is pleased to announce the immediate
> availability of uClibc 0.9.15. This is release fixes a number of
> problems that have turned up since the last release. The good
> news is that uClibc now passes all tests in the perl 5.8 and
> Python 2.2.1 test suites, both with and without pthreads. So
> without any further ado....

Well, maybe a little ado... ;-)

I configured python with

 TZ=CST6CDT PATH=/home/mjn3/i386-linux-uclibc/usr/bin/:$PATH ./configure
 --enable-ipv6 --enable-unicode --with-pydebug --with-threads

Note: it is necessary to apply the attached patch to python for the time
module to work.  Also, when testing/running, be sure that TZ is set.


For perl, I had to do an interactive Configure, but I'm attaching
the resulting Policy.sh and config.sh.

It is also necessary to patch perl slightly to avoid problems with
YESSTR/NOSTR (legacy according to SUSv3 I believe), and to avoid a
problem with threads involving a uClibc dynamic loading bug.  Again,
patch is attached.

Manuel
-------------- next part --------------
diff -urN ../Python-2.2.1/Modules/timemodule.c Python-2.2.1/Modules/timemodule.c
--- ../Python-2.2.1/Modules/timemodule.c	Tue Mar 12 15:38:31 2002
+++ Python-2.2.1/Modules/timemodule.c	Sun Aug 18 11:14:32 2002
@@ -705,6 +705,13 @@
 	ins(d, "daylight", PyInt_FromLong(_daylight));
 	ins(d, "tzname", Py_BuildValue("(zz)", _tzname[0], _tzname[1]));
 #endif /* __CYGWIN__ */
+#ifdef __UCLIBC__
+	tzset();
+	ins(d, "timezone", PyInt_FromLong(timezone));
+	ins(d, "altzone", PyInt_FromLong(timezone));
+	ins(d, "daylight", PyInt_FromLong(daylight));
+	ins(d, "tzname", Py_BuildValue("(zz)", tzname[0], tzname[1]));
+#endif /* __UCLIBC__ */
 #endif /* !HAVE_TZNAME || __GLIBC__ || __CYGWIN__*/
 
         PyStructSequence_InitType(&StructTimeType, &struct_time_type_desc);
-------------- next part --------------
diff -urN ../perl-5.8.0/ext/I18N/Langinfo/Makefile.PL perl-5.8.0/ext/I18N/Langinfo/Makefile.PL
--- ../perl-5.8.0/ext/I18N/Langinfo/Makefile.PL	Sat Jun  1 12:03:06 2002
+++ perl-5.8.0/ext/I18N/Langinfo/Makefile.PL	Mon Aug 26 21:58:37 2002
@@ -30,8 +30,8 @@
                   ABMON_5 ABMON_6 ABMON_7 ABMON_8 ABMON_9 ALT_DIGITS AM_STR
                   DAY_1 DAY_2 DAY_3 DAY_4 DAY_5 DAY_6 DAY_7 D_FMT D_T_FMT ERA
                   ERA_D_FMT ERA_D_T_FMT ERA_T_FMT MON_1 MON_10 MON_11 MON_12
-                  MON_2 MON_3 MON_4 MON_5 MON_6 MON_7 MON_8 MON_9 NOEXPR NOSTR
-                  PM_STR T_FMT T_FMT_AMPM YESEXPR YESSTR);
+                  MON_2 MON_3 MON_4 MON_5 MON_6 MON_7 MON_8 MON_9 NOEXPR 
+                  PM_STR T_FMT T_FMT_AMPM YESEXPR );
   push @names,           # This lot are only enums for __SVR4_I386_ABI_L1__:
     {name=>$_, type=>"IV",
      macro=>["#if defined($_) || (defined(__GNU_LIBRARY__) && defined(_NL_ITEM) && defined(__SVR4_I386_ABI_L1__))\n",
diff -urN ../perl-5.8.0/ext/threads/Makefile.PL perl-5.8.0/ext/threads/Makefile.PL
--- ../perl-5.8.0/ext/threads/Makefile.PL	Sat Jun  1 12:03:11 2002
+++ perl-5.8.0/ext/threads/Makefile.PL	Tue Aug 27 19:39:33 2002
@@ -10,7 +10,7 @@
       (ABSTRACT_FROM => 'threads.pm', # retrieve abstract from module
        AUTHOR     => 'Artur Bergman  <artur at contiller.se>') : ()),
     'MAN3PODS'		=> {},  # Pods will be built by installman
-    'LIBS'		=> [''], # e.g., '-lm'
+    'LIBS'		=> ['-lpthread'], # e.g., '-lm'
     'DEFINE'		=> '', # e.g., '-DHAVE_SOMETHING'
 	# Insert -I. if you add *.h files later:
 #    'INC'		=> '', # e.g., '-I/usr/include/other'
diff -urN ../perl-5.8.0/ext/threads/shared/Makefile.PL perl-5.8.0/ext/threads/shared/Makefile.PL
--- ../perl-5.8.0/ext/threads/shared/Makefile.PL	Fri Jul 12 17:17:07 2002
+++ perl-5.8.0/ext/threads/shared/Makefile.PL	Tue Aug 27 19:39:59 2002
@@ -13,7 +13,7 @@
       (ABSTRACT_FROM => 'shared.pm', # retrieve abstract from module
        AUTHOR     => 'Arthur Bergman <arthur at contiller.se>') : ()),
     'MAN3PODS'		=> {},  # Pods will be built by installman
-    'LIBS'		=> [''], # e.g., '-lm'
+    'LIBS'		=> ['-lpthread'], # e.g., '-lm'
     'DEFINE'		=> '', # e.g., '-DHAVE_SOMETHING'
 	# Insert -I. if you add *.h files later:
     'INC'		=> '', # e.g., '-I/usr/include/other'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.sh.gz
Type: application/octet-stream
Size: 7363 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20020827/2f0199b5/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Policy.sh.gz
Type: application/octet-stream
Size: 2025 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20020827/2f0199b5/attachment-0001.obj 


More information about the uClibc mailing list