Changes between Initial Version and Version 2 of Ticket #59584


Ignore:
Timestamp:
Nov 4, 2019, 3:03:31 AM (5 years ago)
Author:
kencu (Ken)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59584

    • Property Summary changed from macports-clang versions < 5.0 don't understand -stdlib=macports-libstdc++ to macports-clang versions <= 3.7 don't understand -stdlib=macports-libstdc++
  • Ticket #59584 – Description

    initial v2  
    11currently base will try to pass `-stdlib=macports-libstdc++` to clang 3.4 or 3.7 under certain circumstances of blacklisting and whitelisting when the  compiler c or c++ standards are set to >= 2011.
    22
    3 in  [https://github.com/macports/macports-base/blob/aeb6d4386cd92afd0924a69bc8ee6154e651e8b3/src/port1.0/portconfigure.tcl#L810 portconfigure:get_min_clang] the logic to select a proper clang doesn't take into account the fact that macports-clang versions < 3.9 won't be able to understand `-stdlib=macports-libstdc++`.
     3in  [https://github.com/macports/macports-base/blob/aeb6d4386cd92afd0924a69bc8ee6154e651e8b3/src/port1.0/portconfigure.tcl#L810 portconfigure:get_min_clang] the logic to select a proper clang doesn't take into account the fact that macports-clang versions <= 3.7 won't be able to understand `-stdlib=macports-libstdc++`.
    44
    5 we don't have `macports-clang-3.9` any more, so practically for us macports-clang versions < 5.0 can only be used for compiler.cxx_standard >= 2011 or compiler.c_standard >= 2011 if `configure.cxx_stdlib=libc++`.
     5macports-clang versions <= 3.7 can only be used for compiler.cxx_standard >= 2011 or compiler.c_standard >= 2011 if `configure.cxx_stdlib=libc++`.
    66