[MacPorts] #72065: libtapi fails to compile for TLS not supported

MacPorts noreply at macports.org
Fri Feb 14 15:48:06 UTC 2025


#72065: libtapi fails to compile for TLS not supported
-----------------------+---------------------
  Reporter:  rmottola  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  leopard
      Port:  libtapi   |
-----------------------+---------------------

Comment (by rmottola):

 I tried forcing to compile with gcc 6, 7 or 14... but weird errors show,
 e.g.:


 {{{
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work
 /apple-libtapi-
 b8c5ac40267aa5f6004dd38cc2b2cd84f2d9d555/src/llvm/include/llvm/ADT/STLExtras.h:32,
                  from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work
 /apple-libtapi-
 b8c5ac40267aa5f6004dd38cc2b2cd84f2d9d555/src/llvm/include/llvm/ADT/StringRef.h:12,
                  from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work
 /apple-libtapi-
 b8c5ac40267aa5f6004dd38cc2b2cd84f2d9d555/src/llvm/utils/TableGen/CodeGenInstruction.h:16,
                  from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work
 /apple-libtapi-
 b8c5ac40267aa5f6004dd38cc2b2cd84f2d9d555/src/llvm/utils/TableGen/AsmWriterEmitter.cpp:15:
 /opt/local/include/gcc14/c++/limits:2100:30: error: exponent has no digits
  2100 |         return __extension__ 0x1.0p-16382Q;
       |                              ^~~~~~
 /opt/local/include/gcc14/c++/limits:2114:30: error: exponent has no digits
  2114 |         return __extension__
 0x1.ffffffffffffffffffffffffffffp+16383Q;
       |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/include/gcc14/c++/limits:2183:30: error: exponent has no digits
  2183 |         return __extension__ 0x1.0p-16494Q;
       |                              ^~~~~~
 /opt/local/include/gcc14/c++/limits: In static member function 'static
 constexpr __float128 std::numeric_limits<__float128>::min()':
 /opt/local/include/gcc14/c++/limits:2100:37: error: unable to find numeric
 literal operator 'operator""Q'
  2100 |         return __extension__ 0x1.0p-16382Q;
       |                                     ^~~~~~
 /opt/local/include/gcc14/c++/limits:2100:37: note: use '-fext-numeric-
 literals' to enable more built-in suffixes
 /opt/local/include/gcc14/c++/limits: In static member function 'static
 constexpr __float128 std::numeric_limits<__float128>::max()':
 /opt/local/include/gcc14/c++/limits:2114:64: error: unable to find numeric
 literal operator 'operator""Q'
  2114 |         return __extension__
 0x1.ffffffffffffffffffffffffffffp+16383Q;
       |
 ^~~~~~
 /opt/local/include/gcc14/c++/limits:2114:64: note: use '-fext-numeric-
 literals' to enable more built-in suffixes
 /opt/local/include/gcc14/c++/limits: In static member function 'static
 constexpr __float128 std::numeric_limits<__float128>::denorm_min()':
 /opt/local/include/gcc14/c++/limits:2183:37: error: unable to find numeric
 literal operator 'operator""Q'
  2183 |         return __extension__ 0x1.0p-16494Q;
       |                                     ^~~~~~

 }}}

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


More information about the macports-tickets mailing list