On Sunday 24 May 2009 21:09:35 Trent Shea wrote:
> make[3]: *** [/sources/glibc-build/nptl/tst-mutex5.out] Error 1
> make[3]: *** [/sources/glibc-build/nptl/tst-mutex9.out] Error 1
> make[3]: *** [/sources/glibc-build/nptl/tst-mutex5a.out] Error 1

Alright, I believe that these errors are triggered when running a kernel 
version greater than 2.6.28.10.

For tst-mutex5, the attached diff shows where the test failure occurs. I've 
tried increasing the Wait 2 seconds section, with no success.

Another note regarding the 2.6.29.4 kernel headers. When running make 
headers_check there are many 'leaks' and 'extern's make no sense in userspace' 
messages, the 2.6.28.10 kernel does not produce these messages. Maybe an 
explanation regarding these messages could be considered?


Trent.

--- /home/trent-main/glibc-2.10.1/nptl/tst-mutex5.c	2006-07-28 22:27:22.000000000 -0600
+++ ../glibc-2.10.1/nptl/tst-mutex5.c	2009-05-27 11:29:24.000000000 -0600
@@ -97,7 +97,10 @@
 
   ts.tv_sec += 2;	/* Wait 2 seconds.  */
 
+  
+      printf ("test1");
   err = pthread_mutex_timedlock (&m, &ts);
+      printf ("test2");
   if (err == 0)
     {
       puts ("timedlock succeeded");
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to