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

On OSX the built GDB crashes #32

Open
sylane opened this issue Oct 8, 2021 · 6 comments
Open

On OSX the built GDB crashes #32

sylane opened this issue Oct 8, 2021 · 6 comments

Comments

@sylane
Copy link
Contributor

sylane commented Oct 8, 2021

When building the toolchain on OSX, the gdb binary crashes.

@c-mauderer
Copy link
Collaborator

@eproxus
Copy link
Member

eproxus commented Nov 23, 2021

@c-mauderer Any idea on how we can "persuade" the installer to use 10.1 or 10.2 for our toolchain?

@c-mauderer
Copy link
Collaborator

Without testing it: I would expect that it is possible to backport the files from the current master of rtems source builder. A completely untested first try would be that one:

0001-FIXME-Switch-to-gdb-10.patch.txt

@eproxus
Copy link
Member

eproxus commented Nov 25, 2021

@c-mauderer Thanks! Just tried exactly those steps myself after trawling the rtems-source-builder repo for a while. 🙂

If we want to "upgrade" to GDB 10, what would be the correct way to modify our fork of rtems-source-builder. Create a branch of the current commit we're using and add your suggested changes?

@c-mauderer
Copy link
Collaborator

If we want to "upgrade" to GDB 10, what would be the correct way to modify our fork of rtems-source-builder. Create a branch of the current commit we're using and add your suggested changes?

Basically yes. We have a branch for RSB already because I added a patch that prefers python3. Currently it's called "cm/20210819_fix_python_dependency". You want to do a release now. So maybe some more official sounding name like "grisp2" would be better.

@eproxus
Copy link
Member

eproxus commented Nov 25, 2021

Okay, I'll base a new grisp2 branch on that branch, and add the upgrade to GDB 10 there. Currently we need to fix #35 before it makes sense to upgrade though. I assume GDB 10 has the same problem on Linux as well on macOS.

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

No branches or pull requests

3 participants