-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: More miscellaneous fixes (#1811)
Minor changes: - Run CI for pushes to any branch, not just master. This is mostly relevant for forks, where you will often want CI on WIP branches. Releases still check that they are on the master branch and won't be generated for other branches. - The GCC `stringop-overflow` heuristic still seems to be buggy, tripping in seemingly irrelevant areas, and in different areas depending on toolchain/OS. Hence, just disable it for now; conforms with legacy behavior. - Fix a macro redefinition in the GTK CMake code - Add a missing "included" source to the desktop-ui CMake code so it shows up in IDEs - `gersemi` formatting pass Lastly: Allow generating DWARF symbols in MSYS2/MinGW environments. This is controlled by the cache variable `ARES_MINGW_USE_DWARF_SYMBOLS` (on by default only for GCC, inoperable under MSVC/Clang-CL). This allows for easier use of gdb or lldb for debugging on Windows. The support here is considered incomplete but functional for debugging the main ares executable. In particular, we do not generate DWARF symbols on Windows in ares-deps, so debugging dynamic dependency issues with gdb or lldb will require self-compiling dependencies. DWARF symbols are also embedded and this PR does not ship them with releases. The "primary" Windows clang build will continue to use CodeView symbols so that releases may be debugged with WinDbg, Visual Studio, etc. I am not satisfied with this level of support, but I am also not sure whether "full support" for two independent debugging symbol formats on one platform is a reasonable thing or a good idea to maintain. For one thing, ares-deps targets the MSVC ABI for portability, where DWARF symbol availability is limited. Targeting the GNU ABI in ares-deps would mean reconciling multiple independent components' dependence on libc++ that would eventually need to be linked together. This might theoretically be possible but in any case is not undertaken here. Also not undertaken is the extant PDB functionality for stripping into separate files, bundling, copying to the rundir, etc.
- Loading branch information
Showing
7 changed files
with
50 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters