<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - get_monthname still on Fedora21"
   href="https://llvm.org/bugs/show_bug.cgi?id=25854">25854</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>get_monthname still on Fedora21
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libc++
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.7
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>burkett@rice.edu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, mclow.lists@gmail.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - get_monthname check fails on Fedora 21"
   href="show_bug.cgi?id=22176">Bug 22176</a> has not been addressed.  No solution proposed.
<a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - -Wdivision-by-zero does not warn on "1000 / (unsigned char)(a << 8)""
   href="show_bug.cgi?id=22253">Bug 22253</a> hints that the problem resides in the strings returned by glibc
versions < 2.14 or if glibc >= 2.14 if using old locale data.  Suggested
solution is to add debian and opensuse to the XFAIL: list.

My RedHat 6.5 system is using glibc 2.12-a.166:
yum list glibc
Installed Packages
glibc.i686                2.12-1.166.el6_7.3              
@rhel-x86_64-server-6
glibc.x86_64              2.12-1.166.el6_7.3              
@rhel-x86_64-server-6

My needs were addressed by appending linux to the list:

# modify the test file for expected failure
FILE="${LLVM_SRC_ROOT}/projects/${APP}/test/std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname.pass.cpp"
perl -i.DIST -p -e 's|opensuse|opensuse, linux|' ${FILE}

# modify the test file for expected failure
FILE="${LLVM_SRC_ROOT}/projects/${APP}/test/std/localization/locale.categories/category.time/locale.time.get.byname/get_monthname_wide.pass.cpp"
perl -i.DIST -p -e 's|opensuse|opensuse, linux|' ${FILE}

Question: Is there a test that can be devised for lit that will test version of
glibc first and then examine local data for old format form of data to get
around this issue?  Or modify the test to accept a broader form of the data
with warning message or some other form of hint on resolving the problem?

Thanks.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>