On 2012.06.05 15:45, Xiaofan Chen wrote: > On Tue, Jun 5, 2012 at 10:09 PM, Xiaofan Chen<[email protected]> wrote: >> On Tue, Jun 5, 2012 at 9:38 PM, Pete Batard<[email protected]> wrote: >>>> What about pthread? I just tried to build libusbx-1.0.11 >>>> release under Ubuntu 8.04 (already obsoleted) and it >>>> gives error. I am not saying that libusbx needs to be fixed >>>> to suit for older distros but just wondering what is the >>>> minimum pthread (or glibc) version required. >>> >>> Again, if it's more than 3 years old, then the minimum version is >>> whatever comes after the one we get a report doesn't work. >>> In this case, that's the version after the pthread version of Ubuntu >>> 8.0.4, and that's what we should report on the wiki. >>> >> >> I think there is a bit of problem here, apparently it requires quite >> recent glibc. I just tested Ubuntu 10.04 LTS which is still >> supported and I get the same problem. > > Same problem under Debian 6.0 release which is the latest > stable release of Debian, released in 6-Feb-2011. Given the > popularity of Debian Stable, I will think it would be nice to > fix this one.
We'll have to. We'll be using Debian 6.0 on the gerrit/Jenkins server, and I just checked that compiling from git produces the same error. But now I'm puzzled. Git blame doesn't show anything that should affect pthread compilation in thread_posix.c since last year, and at least from Jenkins, the compilation on Debian used to run fine [1]. Jenkins uses the libusbx-test branch though, which is a fork of libusbx that we had in April. I just checked that this branch still compiles OK, so my guess is that one of the modifications we recently applied the makefiles are causing an issue with some of the pthread header requirements. Obviously, we want to fix this for 1.0.12. Regards, /Pete [1] http://review.libusbx.org:8081/job/libusbx-test/2/console ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ libusbx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libusbx-devel
