-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
Fixes needed for newer GDB versions #4389
Comments
I'm hitting this on Gentoo as well:
With gdb:
Should the test be marked XFAIL on all platforms? |
This issue includes |
Nope, because it works just fine with gdb < 10 IIRC. Not sure if it's worth it, but we could extend Lines 212 to 216 in 6ede9a4
ldc/tests/debuginfo/print_gdb.d Line 1 in 6ede9a4
|
For me it's good enough to know that they are expected to fail on certain versions of gdb and that people are aware of the issue. It would be great if this was reported to gdb I suppose. |
Hi there, just a heads up: I have opened a bug report on the GDB upstream: https://sourceware.org/bugzilla/show_bug.cgi?id=31580. |
Thx for digging! Indeed, I didn't expect gdc to fail too, but it does on my system as well - Ubuntu 22, with distro-default gdc v11.4 and gdb v12.1. |
We've had similar issues when packaging historical DMD versions with Nix. Here's the list of tests we had to disable on Linux and macOS: |
Hi, there: another heads up: GDB upstream swiftly proposed a fix: https://sourceware.org/pipermail/gdb-patches/2024-March/207686.html. I have verified locally and determined the patch is sufficient to fix the problem described in this issue. I encourage everyone in this thread to verify if the patch can fix those tests independently. Thanks! |
gdb v15.0 coming with Ubuntu 24.04 fixed all but one problem for our testsuite: 1dd76cc. That looks like a remaining gdb regression, as it worked with gdb 9 and works with lldb: #4787 (comment) So looks like nothing needed on our end, just gdb regressions. |
This is now reported to the GDB upstream too: https://sourceware.org/bugzilla/show_bug.cgi?id=32398 |
Tests
debuginfo/{classtypes,print}_gdb.d
fail with newer GDB versions, and are now disabled for FreeBSD. See e.g. #4373The text was updated successfully, but these errors were encountered: