-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I took the opportunity to rename the output binaries to have the `multi-arch-` prefix, because it's really confusing to me to have `gdb` not be native `gdb` when in a conda environment with this package installed. No longer need our ARM backtrace patch, it's now fixed in GDB upstream. Refreshed the `conda_build_config.yaml` to use the latest conda-build feedstock version at time of writing: ```bash ❯ curl -sSL https://github.com/conda-forge/conda-forge-pinning-feedstock/raw/main/recipe/conda_build_config.yaml > gdb-multi-arch/conda_build_config.yaml ``` Which is https://github.com/conda-forge/conda-forge-pinning-feedstock/blob/41ef3139dd637914a18f9609bf3d33a2f4780376/recipe/conda_build_config.yaml . This changes the supported + built python targets to: - 3.8 - 3.9 - 3.10 - 3.11 And include `readelf` in the package (`multi-arch-readelf`), since it can be pretty handy. Also, `shfmt` the build script too since I'm in here. We need a new patch to eliminate some new `warning` messages and an assert in `set_lang`, which impacts some pathological symbol files. see `gdb-13.2.patch` for details. To successfully build this on osx-x64, I needed to symlink a `brew install m4` copy of the m4 binary into the system tool path so conda would use it: ```bash sudo mv /Library/Developer/CommandLineTools/usr/bin/gm4{,.bak} sudo ln -s /usr/local/Cellar/m4/1.4.19/bin/m4 /Library/Developer/CommandLineTools/usr/bin/gm4 ``` The old `gm4` bin doesn't support a `--gnu` flag that newer bison + flex use during the build. Lastly, I also added `zstd` as a host + run dep, so it correctly is `rpath`'d into the binary.
- Loading branch information
Showing
7 changed files
with
201 additions
and
120 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
Oops, something went wrong.