[all-commits] [llvm/llvm-project] 7a320b: [libcxx][AIX] Remove locale fallbacks for old OS l...

David Tenty via All-commits all-commits at lists.llvm.org
Tue Sep 21 18:15:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a320b279d076cb0736caed2a222b1d3367b003d
      https://github.com/llvm/llvm-project/commit/7a320b279d076cb0736caed2a222b1d3367b003d
  Author: David Tenty <daltenty at ibm.com>
  Date:   2021-09-21 (Tue, 21 Sep 2021)

  Changed paths:
    M libcxx/include/CMakeLists.txt
    R libcxx/include/__support/ibm/locale_mgmt_aix.h
    M libcxx/include/__support/ibm/xlocale.h

  Log Message:
  -----------
  [libcxx][AIX] Remove locale fallbacks for old OS levels

These routines were add years ago during initial porting attempts to AIX and are mostly build hacks for routines which we're missing at the time, but are available now on recent AIX OS levels.

Thus builds on modern AIX OS levels no longer need these and they cause problems if you try to build the library with a generic triple (i.e. powerpc-ibm-aix) as we'll pull them in and encounter duplicate definitions from the OS.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D110183




More information about the All-commits mailing list