Bug 10508 – qsort_r is not present on older Linux systems

Status
RESOLVED
Resolution
WONTFIX
Severity
minor
Priority
P2
Component
druntime
Product
D
Version
D2
Platform
All
OS
Linux
Creation time
2013-06-29T21:49:14Z
Last change time
2020-01-16T14:03:11Z
Keywords
pull
Assigned to
No Owner
Creator
Artem Tarasov

Comments

Comment #0 by lomereiter — 2013-06-29T21:49:14Z
The runtime expects the function to be available on all Linux systems, but it appeared only in GLIBC 2.8
Comment #1 by code — 2013-11-16T13:59:31Z
GLIBC 2.8 is almost 5 years old. Why do you need to use such an old libc?
Comment #2 by lomereiter — 2013-11-16T14:41:34Z
Some people still run CentOS 5.
Comment #3 by code — 2014-12-06T14:18:26Z
Comment #4 by code — 2014-12-06T16:45:16Z
There are a few more issues for CentOS 5. The elf.h header is missing some newer relocation types, e.g. R_X86_64_PC64. Phobos is linking against libcurl.so.4, but only .so.3 is available. So if you're still interested in fixing those, please contribute :).
Comment #5 by pro.mathias.lang — 2020-01-16T14:03:11Z
Glibc 2.8 was released in April 2008: https://sourceware.org/ml/libc-alpha/2008-04/msg00050.html CentOS 5 went EOL on 2017-03-31. Closing this as WONTFIX. Patches for supporting older platforms are welcome, but I don't think anyone going through the bug is going to tackle this.