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

Lazarus debugging broken #4683

Open
2 tasks done
themouseNZ opened this issue Dec 29, 2024 · 2 comments
Open
2 tasks done

Lazarus debugging broken #4683

themouseNZ opened this issue Dec 29, 2024 · 2 comments
Labels
Bug Something isn't working Packaging Problem Building the package as-is fails ("FTBFS"), or other problem with the packaging of software

Comments

@themouseNZ
Copy link

Please confirm there isn't an open report for this issue

  • I have searched through bug reports

Summary

Last update breaks Lazarus (fpdebug). Debug symbols are missing from the complied exe

Steps to reproduce

create new Project in Lazarus. Enabled debugging in the project options. Create breakpoint, run exe. Breakpoints never hit

Expected result

Break points hit exe pauses and able to look at variables in the app

Actual result

nothing complied app just runs

Environment

  • Is system up to date?

Repo

Shannon (stable)

Desktop Environment

Plasma

System details

System:
Host: solus-hp-x360-g4 Kernel: 6.11.10-310.current arch: x86_64 bits: 64
Desktop: KDE Plasma v: 6.2.4 Distro: Solus 4.6 convergence
Machine:
Type: Convertible System: Dell product: Latitude 7230 Rugged Extreme Tablet
v: N/A serial:
Mobo: Dell model: 0WMC5D v: A07 serial: UEFI: Dell
v: 1.20.0 date: 10/21/2024
Battery:
ID-1: BAT0 charge: 35.6 Wh (100.0%) condition: 35.6/35.6 Wh (100.0%)
CPU:
Info: 10-core (2-mt/8-st) 12th Gen Intel Core i7-1260U [MST AMCP]
speed (MHz): avg: 400 min/max: 400/4700:3500
Graphics:
Device-1: Intel Alder Lake-UP4 GT2 [Iris Xe Graphics] driver: i915 v: kernel
Display: wayland server: X.org v: 1.21.1.14 with: Xwayland v: 24.1.4
compositor: kwin_wayland driver: N/A resolution: 3840x2160
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.3.1
renderer: Mesa Intel Iris Xe Graphics (ADL GT2)
Network:
Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi
Device-2: Intel Ethernet I219-LM driver: e1000e
Device-3: Realtek RTL8153 Gigabit Ethernet Adapter driver: r8152 type: USB
Drives:
Local Storage: total: 953.87 GiB used: 572.21 GiB (60.0%)
Info:
Memory: total: 32 GiB note: est. available: 30.99 GiB used: 4.71 GiB (15.2%)
Processes: 285 Uptime: 2h 6m Shell: Bash inxi: 3.3.36

Other comments

Roll back to before latest update restores debug functions. I checked the notes on LLVM v19 and debug symbols is mentioned

updated_packages.txt

list of packages updated that broke functionality

@themouseNZ themouseNZ added the Bug Something isn't working label Dec 29, 2024
@github-project-automation github-project-automation bot moved this to Triage in Solus Dec 29, 2024
@themouseNZ
Copy link
Author

themouseNZ commented Dec 29, 2024

from llvm v19 notes not sure if this is the cause but I dont see anything else that could of broken this function in the last update.

LLVM has switched from using debug intrinsics internally to using debug records by default. This should happen transparently when using the DIBuilder to construct debug variable information, but will require changes for any code that interacts with debug intrinsics directly. Debug intrinsics will only be supported on a best-effort basis from here onwards; for more information, see the migration docs.

When emitting DWARF v2 and not in strict DWARF mode, LLVM will now add a DW_AT_type to instances of DW_TAG_enumeration_type. This is actually a DWARF v3 feature which tells tools what the enum’s underlying type is. Emitting this for v2 as well will help users who have to build binaries with DWARF v2 but are using tools that understand newer DWARF standards. Older tools will ignore it. (#98335)"

@themouseNZ
Copy link
Author

OK I have found the culprit it is the binutils package. When i roll this back to the previous version then debug works correctly. Some great people on the lazarus forum helped me diagnose the issue

@TraceyC77 TraceyC77 added the Packaging Problem Building the package as-is fails ("FTBFS"), or other problem with the packaging of software label Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Packaging Problem Building the package as-is fails ("FTBFS"), or other problem with the packaging of software
Projects
Status: Triage
Development

No branches or pull requests

2 participants