Changes between Initial Version and Version 2 of Ticket #59584
- Timestamp:
- Nov 4, 2019, 3:03:31 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #59584
-
Property
Summary
changed from
macports-clang versions < 5.0 don't understand -stdlib=macports-libstdc++
tomacports-clang versions <= 3.7 don't understand -stdlib=macports-libstdc++
-
Property
Summary
changed from
-
Ticket #59584 – Description
initial v2 1 1 currently 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. 2 2 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.9won't be able to understand `-stdlib=macports-libstdc++`.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.7 won't be able to understand `-stdlib=macports-libstdc++`. 4 4 5 we don't have `macports-clang-3.9` any more, so practically for us macports-clang versions < 5.0can only be used for compiler.cxx_standard >= 2011 or compiler.c_standard >= 2011 if `configure.cxx_stdlib=libc++`.5 macports-clang versions <= 3.7 can only be used for compiler.cxx_standard >= 2011 or compiler.c_standard >= 2011 if `configure.cxx_stdlib=libc++`. 6 6