This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

qsort_r and libc.a version?


I tried to build libgit2 so I could try to build gitg but encountered

    undefined reference to `qsort_r'

GitHub has a closed issue for this https://github.com/libgit2/libgit2/issues/1606 saying that qsort_r was added to glibc in version 2.8, released in 2008.

Since libc in Cygwin is part of the base package, how would I find out which upstream version it's based on?  

There was a commit in libgit2 that was supposed to fix this :

https://github.com/libgit2/libgit2/commit/0d77647adc1f76df66e437e6442d7f7706e2c38e#diff-bb2cd4651768482b99cb1c52d29ceffdR694

but I don't know enough about Cygwin internals to determine why it still fails on Cygwin.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]