Changeset 8f9d03f for general/prog


Ignore:
Timestamp:
01/24/2024 04:03:50 PM (3 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, ken/TL2024, lazarus, rahul/power-profiles-daemon, trunk, xry111/llvm18
Children:
8415d53
Parents:
9ed3cb8d
Message:

ruby: Update the explanation of ac_cv_func_qsort_r=no

Per Glibc maintainers, the Ruby code has been broken for a long time: if
a larger array is used in the test suite it will blow up with
Glibc-2.37 (and maybe earlier). Update the explanation to make it more
precise.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/ruby.xml

    r9ed3cb8d r8f9d03f  
    182182      <parameter>ac_cv_func_qsort_r=no</parameter>: This switch prevents
    183183      using the <function>qsort_r</function> function from Glibc.  Ruby
    184       makes some aggressive optimization assuming
    185       <function>qsort_r</function> would never allocate the buffer with
    186       <function>malloc</function>, but the assumption is no longer true with
    187       Glibc-2.39 or newer.  With this switch Ruby will use its own sort
     184      makes some aggressive optimization assuming some implementation
     185      details of the sorting algorithm, but the assumption is not true with
     186      the Glibc implementation.  With this switch Ruby will use its own sort
    188187      implementation instead.
    189188    </para>
Note: See TracChangeset for help on using the changeset viewer.