D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 10508 - qsort_r is not present on older Linux systems
Summary: qsort_r is not present on older Linux systems
Status: RESOLVED WONTFIX
Alias: None
Product: D
Classification: Unclassified
Component: druntime (show other issues)
Version: D2
Hardware: All Linux
: P2 minor
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2013-06-29 21:49 UTC by Artem Tarasov
Modified: 2020-01-16 14:03 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Artem Tarasov 2013-06-29 21:49:14 UTC
The runtime expects the function to be available on all Linux systems, but it appeared only in GLIBC 2.8
Comment 1 Martin Nowak 2013-11-16 13:59:31 UTC
GLIBC 2.8 is almost 5 years old. Why do you need to use such an old libc?
Comment 2 Artem Tarasov 2013-11-16 14:41:34 UTC
Some people still run CentOS 5.
Comment 4 Martin Nowak 2014-12-06 16:45:16 UTC
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 Mathias LANG 2020-01-16 14:03:11 UTC
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.