Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gdb multi-arch v14.1 #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

gdb multi-arch v14.1 #68

wants to merge 1 commit into from

Conversation

noahp
Copy link
Contributor

@noahp noahp commented Dec 4, 2023

Since it's now released! Can also drop our old patch for the segfault
issue on certain ARM backtraces 🙌

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.

Refreshed the conda_build_config.yaml to use the latest conda-build
feedstock version at time of writing:

❯ 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.

Finally, shfmt the build script too since I'm in here.

@noahp noahp requested a review from a team as a code owner December 4, 2023 19:42
@noahp noahp mentioned this pull request Dec 4, 2023
@noahp
Copy link
Contributor Author

noahp commented Dec 4, 2023

Note: this replaces #39 , since 14.1 is now available.

@@ -10,7 +10,9 @@ jobs:
name: 🛠️ build on ${{ matrix.platform }}

strategy:
fail-fast: true
# let all jobs run to completion. the linux one may succeed when the mac
# fails (taking a completely random example scenario 😑)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😄

README.md Outdated
@@ -116,7 +116,7 @@ and download the "packages" artifact.
Unzip the packages.zip and then run:

```shell
PACKAGE=<package_name> anaconda upload **/$PACKAGE*.tar.bz2 --user memfault
PACKAGE=<package_name>; anaconda upload **/$PACKAGE*.tar.bz2 --user memfault
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] .conda

@@ -313,7 +319,7 @@ dcap:
eclib:
- '20230424'
elfutils:
- 0.189.memfault1
Copy link
Contributor

@martijnthe martijnthe Dec 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert? Want to keep the non-stub libdebuginfo.

"gdb-add-index"
"objcopy"
"objdump"
"readelf"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, thanks for keeping readelf. I need this :)

Copy link
Contributor

@martijnthe martijnthe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only issue I found is that the elfutils version should be using the ...memfault1 version. See comment

Since it's now released! Can also drop our old patch for the segfault
issue on certain ARM backtraces 🙌

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.

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.

Finally, `shfmt` the build script too since I'm in here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants