[MacPorts] #69805: macports-libcxx: sync with the latest compatible version of LLVM

MacPorts noreply at macports.org
Tue Apr 23 09:01:55 UTC 2024


#69805: macports-libcxx: sync with the latest compatible version of LLVM
---------------------------------------------+--------------------
  Reporter:  aeiouaeiouaeiouaeiouaeiouaeiou  |      Owner:  (none)
      Type:  defect                          |     Status:  new
  Priority:  Normal                          |  Milestone:
 Component:  ports                           |    Version:
Resolution:                                  |   Keywords:
      Port:  macports-libcxx                 |
---------------------------------------------+--------------------
Description changed by aeiouaeiouaeiouaeiouaeiouaeiou:

Old description:

> [changeset:c1c4b4cbb91b9c83969f52e2a5ad424e4716cd80/macports-ports
> Bitcoin 27.0] now uses the {{{std::bit_width}}} function, which was only
> properly [https://github.com/llvm/llvm-
> project/commit/1a036e9cc82a7f6d6f4675d631fa5eecd8748784 implemented in
> LLVM 12].

New description:

 [changeset:c1c4b4cbb91b9c83969f52e2a5ad424e4716cd80/macports-ports Bitcoin
 27.0] now uses the {{{std::bit_width}}} function, which was only properly
 [https://github.com/llvm/llvm-
 project/commit/1a036e9cc82a7f6d6f4675d631fa5eecd8748784 implemented in
 LLVM 12].

 https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/228575/steps
 /install-port/logs/stdio

 {{{
 In file included from addrman.cpp:10:
 In file included from ./addrman.h:9:
 In file included from ./netaddress.h:11:
 ./random.h:207:25: error: no member named 'bit_width' in namespace 'std'
         int bits = std::bit_width(range);
                    ~~~~~^
 }}}

 Also more:

 {{{
 In file included from addrdb.cpp:10:
 In file included from ./addrdb.h:10:
 ./util/fs.h:65:30: error: no matching constructor for initialization of
 'const std::u8string &' (aka 'const basic_string<char8_t> &')
         const std::u8string& utf8_str{std::filesystem::path::u8string()};
                              ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/include/libcxx/v1/string:791:40: note: candidate constructor
 not viable: no known conversion from 'std::string' (aka
 'basic_string<char, char_traits<char>, allocator<char>>') to 'const
 allocator_type' (aka 'const std::allocator<char8_t>') for 1st argument
     _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type&
 __a)
                                        ^
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/69805#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list