Hi all, I've noticed recent build of swift compiler doesn't show the stack dump on crash.
Here is the result with October 25, 2016 snapshot. https://gist.github.com/rintaro/cb694898821fbbe8b02734862eb69534 On macOS, the dump completely doesn't show up. On Linux, the dump shows up, but without symbols. As for Linux, I figured out that it's because of recent change in CMakeList.txt cmake_minimum_required(VERSION 3.4.3) Specifically, the policy change of CMP0065 https://cmake.org/cmake/help/v3.4/policy/CMP0065.html backtrace_symbols_fd() needs symbols exported. As for macOS, I'm not sure why. I don't know what is the right way to fix this. cmake_policy(SET CMP0065 OLD) would fix the Linux build but ... Any thought?
_______________________________________________ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev