[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#279423: libc6-dev: totally incoherent pthread related includes files for dynamic linking



Eric Valette wrote:

Thanks for responding and clarifying this. So the remainding problems are only :
    - Performance,
    - Posix compliance/ different signal behavior,
    - hability to choose between implementation by knwoledgeable users,

I recommend the Open POSIX testsuite.


Here is my report on running posixtestsuite-1.4.3 on two different environments : - The original debian libc-dev using dynamic linking mode but the LinuxThread related include for pthread and rt many to check if the current status does not lead to too much errors, - My own compiled glibc-cvs for using nptl add-on + patches to make it compile, using static mode,

I should have run the posixtestsuite-1.4.3 using static mode to show if nptl posix implementation is as I argued really superior but did not because anyway I will not use it...

Debian libc6-dev  glibc 2.3.2:
------------------------------

cd /home/valette/local/local-src/posixtestsuite-1.4.3
tri-yann:/home/valette/local/local-src/posixtestsuite-1.4.3# grep execution logfile-debian-original | grep PASS | wc -l
1239
tri-yann:/home/valette/local/local-src/posixtestsuite-1.4.3# grep execution logfile-debian-original | grep FAILED | wc -l
28
tri-yann:/home/valette/local/local-src/posixtestsuite-1.4.3# grep execution logfile-debian-original | grep UNRESOLVED | wc -l
16
tri-yann:/home/valette/local/local-src/posixtestsuite-1.4.3# grep execution logfile-debian-original | grep UNTESTED | wc -l
46

It should be noticed that the mq_* tests cannot be generated and that the status of glibc for dynamic linking is generally in a far more better shape than the static one...

Debian self compiled  glibc 2.3.4-cvs:
--------------------------------------
tri-yann:/home/posixtestsuite-1.4.3# grep execution logfile | grep PASS | wc -l
1308
tri-yann:/home/posixtestsuite-1.4.3# grep execution logfile | grep FAILED | wc -l
25
tri-yann:/home/posixtestsuite-1.4.3# grep execution logfile | grep UNRESOLVED | wc -l
77
tri-yann:/home/posixtestsuite-1.4.3# grep execution logfile | grep UNTESTED | wc -l
57

==> More test do compile and pass the test, less tests fails. The UNRESOLVED are not always errors as some just need to be run with several id...

Now to be complete and fair, one should test the orginal libc6-dev in static linking mode...

If any of you wants the patche to glibc-cvs to make it compile and do what is exepcted he is welcomed...

-- eric






Reply to: