https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88127

            Bug ID: 88127
           Summary: Many gdc.dg testsuite failures due to undefined
                    reference to qsort_r
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: ubizjak at gmail dot com
  Target Milestone: ---

Many tests in gdc.dg fail with:

/home/uros/gcc-build/x86_64-pc-linux-gnu/./libphobos/libdruntime/.libs/libgdruntime.a(qsort.o):
In function `_adSort':
/home/uros/gcc-build/x86_64-pc-linux-gnu/libphobos/libdruntime/../../../../git/gcc/libphobos/libdruntime/rt/qsort.d:41:
undefined reference to `qsort_r'
collect2: error: ld returned 1 exit status

The tests are run on CentOS 5.11 with "GNU C Library stable release version
2.5".

Please note that qsort_r() was added to glibc in version 2.8.

Reply via email to