conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
971 stars 1.79k forks source link

[package] Many packages missing pdbs...strategy? #1982

Open rconde01 opened 4 years ago

rconde01 commented 4 years ago

Package and Environment Details (include every applicable attribute)

Steps to reproduce (Include if Applicable)

Doing a debug build on windows I'm getting warnings for many missing pdbs (would also apply to RelWithDebInfo). I can create issues and potentially PRs for each one, but since it appears systemic I thought it justified further discussion. I'm also not sure if the additional size is a problem, and thus maybe there should be an option 'with-pdbs' so that cci doesn't need to manage them. Although, in that case better not produce them at all.

sourcedelica commented 4 years ago

I am in favor of having PDBs in the debug Windows packages. That would put them on par with the Linux packages. Our developers expect debug packages to have symbols.

Croydon commented 4 years ago

See https://github.com/conan-io/conan-center-index/wiki/Error-Knowledge-Base#kb-h017-pdb-files-not-allowed

rconde01 commented 4 years ago

Ouch - that seems fairly problematic. I would really like to see then a move towards using a 'with-pdbs' option which defaults to false as standard practice so you can build them locally with the same recipe.

madebr commented 4 years ago

Maybe consider adding the /Z7 option: https://docs.microsoft.com/en-us/cpp/build/reference/z7-zi-zi-debug-information-format?view=vs-2019#z7

rconde01 commented 4 years ago

At way level are you suggesting to use Z7? For the packages it would be ok for debug builds, but no good for relwithdebinfo. At that point maybe it’s better to be consistent.

madebr commented 4 years ago

What /Z7,'/Zi and /ZI does is adding information for the debugger. So it's perfectly fine to add it for all build types except Release, which one expects to not contain any debug overhead, and MinSizeRel. The difference in these flags is where/how the compiler stores this information.

The/a difference between RelWithDebInfo and Debug, is that the former defines the NDEBUGmacro during compilation and the latter DEBUG. And maybe different runtime (compiler.runtime)

rconde01 commented 4 years ago

Well I think you want debug information for your delivered binaries, so when your customers give you a crash dump you can get symbols. So this is RelWithDebInfo, but you want this as pdbs because you don’t want the bigger binary sizes (nor deliver your symbols to the customer generally).

madebr commented 4 years ago

Indeed. Unless it's GPL'ed code :smile:

sourcedelica commented 4 years ago

If there's a need for some to not deliver symbols to an external customer (ours are internal) then it seems like an option to generate PDBs (or /Z7) is the best choice. We really don't want to fork every third party recipe that we use from Conan Center just to get symbols for Windows.

rconde01 commented 4 years ago

Did you mean Zi? I’m not sure the exact point you’re making. My current idea is not to fork, but to have a “with-pdb” option on windows that you could specify but which would default to false so that the cci rules are still followed. Although I think it might be desirable to use Z7 for static libraries...I’ve had issues with pdbs being located when using Zi with static libraries...but IIRC I had trouble reproducing it in a simple config so :shrug:.

rconde01 commented 4 years ago

An additional problem here is that even apart from the pdb source location not being valid, generally a package will not include the source. This should be equally true on all platforms. OTTOMH I’m not sure if there’s an easy way to ensure you have the sources for all requirements...if not that’s something to consider as well.

madebr commented 4 years ago

It would be nice to use the cci recipes to build your program in RelWithDebInfo/Debug and have pdb's for all dependencies available. As written by @rconde01 , this would make debugging releases super convenient.

I feel this issue touches a similar problem as https://github.com/conan-io/conan-center-index/pull/1783 .

We should separate two things here: what we want the recipe to provide and what we want to/can provide on bintray.

The recipe should be as general as possible. This means providing pdb's for all libraries/executables. The disk space constraint, imposed by bintray, can be solved by adding a with_pdb for each recipe buildable on MSVC. As proposed up here.

This would require (at least) the following actions:

Opinions?

sourcedelica commented 4 years ago

I'm assuming the developer would get the source from Github or wherever it came from - though it sounds like there may be an issue with the VS debugger mapping the source references in the PDB to the downloaded source (easy to do with gcc)? Actually for our developers just having the symbols + file names + line numbers would be enough to let them follow the source in the Github web UI.

rconde01 commented 4 years ago

@sourcedelica IMO that’s way too manual and giving up a lot. Normally you can move around the callstack and jump to the corresponding source locations, inspect variables etc. You wouldn’t want to give that up.

rconde01 commented 4 years ago

@madebr i need to think about it more thoroughly but I think you have hit most of the main points. A few thoughts:

madebr commented 4 years ago

@rconde01

* As I said previously I think you may actually want Z7 for static libs. In this case mentioning “pdb” seems inappropriate...so maybe something more generic like “keep_symbols”.

This should be investigated. I think the /Zi option should be kept. So the linker will create a pdb when linking. No pdb will be created in that particular package, but the consuming packages can make use of its pdb capability.

* Note that many recipes already generate the pdbs, and then actively delete them.

This is fine, but only when with_pdb is Falseish.

sourcedelica commented 4 years ago

@rconde Definitely but that's what they are doing right now :). The other options are mapping source from the PDB to a cloned Git repo or building the recipe from source.

jeremy-coulon commented 4 years ago

What is the point of having VS debug binaries on Bintray without debug symbols? I would prefer that recipes give me debug symbols by default when I build it locally.

rconde01 commented 4 years ago

What is the point of having VS debug binaries on Bintray without debug symbols? I would prefer that recipes give me debug symbols by default when I build it locally.

It's a good question. I think at the least it will be linked to a consistent runtime. Of course, I think we would all prefer symbols by default, but we also understand there are space constraints on conan-center. I guess an alternative is with-pdb = true by default, and disable it for all cci packages.

rconde01 commented 4 years ago

@memsharded I would be good to get some thoughts from the conan team on this. Any ideas on how this could move forward?

uilianries commented 4 years ago

@rconde01 Conan team will discuss it during this week, please, be patient.

rconde01 commented 4 years ago

I apologize, I just didn't know if it "scrolled off the feed" as the discussion happened over the weekend.

uilianries commented 4 years ago

np, PDB has been requested many times, but as described in the wiki, Conan has a reason for not adopting it. Indeed for remote debug is very useful.

rconde01 commented 4 years ago

bump - it's been a few weeks, any thoughts?

uilianries commented 4 years ago

Yes! Conan team just discussed more than once about this topics, the last meetings was few hours ago. Sorry the delay!

There were some options, pros and cons ... anyway, there will be a way to provide PDB files through an extra package folder, which will be optional. This feature will cover more cases, like when users want to package benchmarks or sanitizer results. It need to be studied, but can sure there will be an option for PDB distribution. Thanks for pushing it, this kind of discussion and community engagement it's really important to find new solutions!

rconde01 commented 4 years ago

intriguing...looking forward to further details.

SSE4 commented 4 years ago

just in case someone interested, here the summary of approaches discussed with their pros and cons:

  1. do nothing

    • cons: users need to build locally (from sources) and modify exported conanfile or fork it, not that simple
  2. add new configurations (build types), such as DebugWithDebugInfo

    • cons: configuration names are really weird, obscure and confusing (most people expect debug to contain debug info by default)
    • cons: increases matrix of supported configurations
    • cons: tooling problem, need to match them with IDE and build system configurations
  3. add new options like with_pdb or without_pdb

    • cons: doesn't scale, options have to be added into each recipe, plus code handling them
    • cons: PDB is not only debug information format, the same story actually applies for .dwarf files on macOS, for instance
    • cons: option actually has no effect on ABI or package ID, thus it doesn't seem it should be an option at all
  4. remove .pdb files in conan center hook as post-process (pre-upload, post-package)

    • pros: single place, elegant implementation, keeps recipes clean and simple
    • cons: locally generated packages aren't the same as packages provided on conan center, might be source of confusion for users (e.g. why am I getting 2 Gb build locally but 100 Mb build from bintray?), no longer truly reproducible
  5. add auxiliary archive(s) in addition to conan_package.tgz

    • pros: aligns with other package managers (e.g. debian allows to have optional openssl-dev, openssl-doc, openssl-src and openssl-dbg in addition to the openssl main package)
    • pros: allows to handle supplemental files for various use cases besides debug information (e.g. to package benchmark results)
    • pros: doesn't affect on main conan package and leaves it untouched (same revision, same hash)
    • cons: requires significant development effort on conan side, probably also on server side (bintray)

some summary:

rconde01 commented 4 years ago

Still digesting this, but i wanted to capture that if the packages won't have pdbs then to not generate them at all rather than delete them. This should, I think, fix warnings that the pdb is missing.

rconde01 commented 4 years ago

btw if the same issue applies to MacOS I think you could go with "symbols" rather than "pdb"...and technically you can strip symbols on linux and do the same.

rconde01 commented 4 years ago

One issue I see with the archive solution is that the compiler needs to find the pdbs which IIRC generally means they need to be located next to the dlls (at least with msvc). This requires a capability to overlay an archive on top of the normal package, rather than in a separate folder.

SSE4 commented 4 years ago

@rconde01 not really, PDBs could be loaded from anywhere. you may locate them manually with load symbols dialog, or add to the symbols file path. you may even upload em to the symbols server and use from there.

rconde01 commented 4 years ago

@SSE4 That's on the debugging side...I'm talking about at compilation time e.g. for static libraries.

rconde01 commented 4 years ago

And now that i think about it, maybe i'm just dumb but i've found pdbs with static libraries to be problematic (although it's possible that was just from a package?)...but in any case, the archive approach doesn't play nice with Z7 I think.

rconde01 commented 4 years ago

Not that i'm married to it, but thoughts on 3.

3. add new options like with_pdb or without_pdb
* cons: doesn't scale, options have to be added into each recipe, plus code handling them

yes - you need to add the option, and propagate it down to dependencies. But you'll need code the handle the archive too right? And regardless you're gonna need the code to ensure they're generated for debug/releasewithdebinfo

* cons: PDB is not only debug information format, the same story actually applies for .dwarf files on macOS, for instance

Yeah - as mentioned in my other comment..."with-symbols" or "with-debug-info" would work.

* cons: option actually has no effect on ABI or package ID, thus it doesn't seem it should be an option at all

Maybe not ABI, but it potentially has an effect on the binary. The pdb name is embedded in the dll. I don't think symbols are the same as docs like some "independent extra thing".

So - i don't find those cons particular strong. Also you didn't list any pros:

uilianries commented 4 years ago

It's a not good idea, today is PDB, tomorrow will be with_benchmark, after, with_sanitizer ... It's simple, but also is a good excuse for adding new options in the future. I also considered option 3 at beginning, but in long term it will be a big problem, I don't want to maintain one more option, juse like fPIC, where we need manage when to remove or not.

Following option 5, you can add anything there, which will work not only for PDB, but also for any other file that users have requested for a long time, benchmark, for example. So we can hit two birds with a single rock.

rconde01 commented 4 years ago

Ok - forget about option 3...what about the problems I mentioned with option 5?

rconde01 commented 4 years ago

Any progress on this issue?

boussaffawalid commented 4 years ago

We are also very interested in having pdb files. Option 5 sounds like the most reasonable approach. Is there any decision so far ?

k0zmo commented 3 years ago

Let's compare boost package in terms of size and "debug functionality" you get from them:

1) Boost, gcc, debug + shared : 112MB .so 2) Boost, msvc, debug + shared: 14MB .dll and 3.26MB import .libs

If we strip the first configuration we end up with 13MB of .so files which is very close to the MSVC configuration without .pdb files packaged. Instead of stripping the debug data altogether we can separate the debug sections into new file [1] - let's call it a .debug file. This ends up taking up 30MB of .so files and 99MB for .debug files - a bit more than original. If compared to MSVC .pdb files which occupy 193MB it looks to me they are in the same ballpark.

If you look what you can do with the package the GCC is clearly the winner. For 112MB we get binaries with complete debugging data embedded inside them. On the other hand MSVC users get unoptimized and undebuggable binaries.

What about static variants?

3) Boost, gcc, debug + static: 318MB .a 4) Boost, msvc, debug + static: 612MB .lib

Here, the situation is quite alike. Both packages has the same full debugging capabilities. That's because b2 by default for MSVC uses /Z7 which makes the ".pdb contents" embedded inside .lib files. That's why these static libraries are so huge. You can force b2 to spit out .pdb files along .lib [2] and you'd end up with 400MB of .lib and 85.9MB of .pdb [3].

Lastly, let's look at a smaller package, namely thrift:

6) thrift, gcc, debug + static: 18.8MB .a 7) thrift, msvc, debug + static: 24.2MB .lib

In 7) .pdb files would take only 4.85MB which is a fraction of the total size of static libraries. Like previously, with GCC for 18.8MB we get a package with a great debugging capabilities. For MSVC our libraries cannot be debugged because of missing 5MB of .pdb files.

So the question shouldn't be if we should package .pdb files or not - we've been already doing the equivalence for most of the time - always with GCC-family compilers or with /Z7 for MSVC if that's the settings the package is built with. IMHO, the 5th approach you presented looks most flexible. Have you considered doing that also for GCC as it would bring feature parity?

[1] It mimics the .pdb files in terms of distribution. You store your .debug files aside and hand out stripped executables saving tons of storage four your end-users. [2] Requires debug-symbols=on debug-store=database and also cflags=/FS pch=off, https://github.com/boostorg/build/issues/269 [3] https://github.com/boostorg/build/issues/492

tsondergaard commented 2 years ago

I’m currently evaluating Conan and the stance on debugging symbols is an issue for us. I would not ship binaries that I do not have debuginfo for. If the program crashes, that debuginfo is needed to analyze the minidump/coredump. I saw a comment higher up saying that most people wont debug third party libraries, but that is not the only reason we need debuginfo for thirdparty modules. A crash will very often happen inside third-party libraries, and if that happens you need the debugging symbols to be able to reliably walk the stack, which you need to diagnose the crash. Storing debuginfo symbols is therefore an unnegotiable requirement. Equally for debug and release builds.

Microsoft has a public symbol server and symbol archive for this reason. So does nvidia. On the linux side all major distributions provide debuginfo packages. That is so core/minidumps can be analyzed.

michkrom commented 2 years ago

What is the resolution on this?

This question are actually two separate issues: 1) Ability to build my app in Release mode but with debug information (with-symbols) and preferably for all its dependencies. This is necessary when debugging a Release build either locally or as post-mortem crash of a deployed application. 2) Weather the conan repositories storing binary builds should include symbols and if so, for which build types? This is a convenience feature if 1) as available unless there are binary-only packages (ie not buildable from source).

puetzk commented 2 years ago

IMO the a great option would be RTFACT-18260 and https://github.com/conan-io/conan/issues/4047, so that the pdb files could be built and peeled off into the symbol server. That way the package download (for CI, etc) would not be unnecessarily bloated, but the symbols for CCI packages could be easily available for debugging (by adding the appropriate CCI symbol server to Visual Studio's debugger).

I'm sure I'm not the first to think of this since there were already issues filed, but it's (surprisingly) not linked here, so I'll at least add it.

tsondergaard commented 2 years ago

I could not find anything in https://github.com/conan-io/tribe. Is this a thing that should be addressed as part of Conan 2.0?

rconde01 commented 2 years ago

One idea i'm considering here is for public releases is to:

  1. start with an empty cache
  2. Force rebuild all dependencies
  3. Zip up the entire conan cache and archive with the release artifacts

This ensures:

Of course it's also a big storage and time overhead, but theoretically straightforward and robust

Ext3h commented 2 years ago

Compile vs link time PDBs

There appears to be some mixup in this stread about symbols for a static library and symbols for a shared library.

/Z7 ist pretty much without choice for static libraries, if the build scripts for the library hasn't been explicitly patched to install the compile time debug archives. (E.g. CMake-based builds of static libraries which haven't modified COMPILE_PDB_NAME and haven't installed the file explicitly? /Z7 is the only working option!)

In terms of file sizes, /Z7 ist less favorable compared to a properly configured /Zi with COMPILE_PDB_NAME (/Fd). Every duplicated symbol across multiple object files remains duplicated with /Z7 until linked, /Zi deduplicates early. For header-heavy libraries such as boost, this makes a huge difference.

Using a single compile time PDB for an entire package can actually provide even more savings, even though it can also trigger some exotic compiler bugs when compiler flags differ too much for different targets. (And requires a flat list of static libs in the same folder once packaged!)

Unfortunately, there doesn't appear to be any (documented) option to convert /Z7 based object files to PDB format post-compilation. If there was, that would be pretty much the preferred path for any post-processing based solution as this would be usable on a per-directory base after packaging.

The consumer of the package does need the compile time PDBs to have the linker build the full link time PDB from it. There is no deferred loading mechanism applicable here, everything missing at link time will be missing for good.

For shared libraries and executables stripping the linker generated PDBs is very much an option. These are not required for the correct build of dependent libraries, but can be deferred loaded during debugging as required. With as little as the minimal dump, both the image, and from that the associated symbol file, can be identified.

/DEBUG:FASTLINK while linking is a trap. While it would reduce the size of the debug symbols for the final, linked images a lot, it's impossible to use with a symbol server. It extends the chain for resolving a symbol from Dump -> Image -> PDB to Dump -> Image -> Object-File / Lib -> PDB - but neither the object-file nor a static lib can never be served by a symbol server, rendering this broken. So the default of /DEBUG:FULL is really the only link type working.

About the build types...

Even Release type builds should have compile time debug symbols. This goes against CMakes definition of Release builds but is a perfect match with Microsofts definition of Release builds.

Release-builds don't mean that you do not want debug capabilities. It only means that you will permit optimizations which might hinder debugging (such as allowing the folding of redundant code sections or aggressive inlining!), but it does not mean that you can categorically discard debug information.

Tbh.: Releasing software built with CMakes definition of Release into the world is pretty much suicidal, as you are declaring already at compile time that you will never be able to analyze any crashes at all. Consider that almost all commercial software out there comes equipped with either integrated crash dump handling, or is registered with Windows integrated functionalities for a good reason. You actively prevent yourself from applying any text-book defensive programming techniques such as fail-fast.

At the same time CMakes RelWithDebInfo is equally a bad choice as you have been disabling about half of the possible compiler optimizations.

It turns pretty much into madness once you realize that with RelWithDebInfo and Release differing also in optimization level, you are quite likely to have both undefined behavior and compiler bugs showing different effects in those build types, with absolutely no chance of tracing the incorrect behavior at all in the Release build.

Always keep in mind that CMake support for Windows was an afterthought, and the concept of splitting symbols from the implementation by default is a first class concept on Windows. So it's perfectly expected that some of the defaults in the integration are just not sane at all.

How to index symbols

What you should realize about the linker created PDBs:

  1. They compress extremely well. They are mostly text-like or nullbytes.
  2. You need to be able to serve requests individually.
  3. They are requested by hash, not in the context of any package ID.
  4. You need to serve both the binary and the debug symbol from a symbol server.

The 2nd requirement renders .tar.gz actually a bad fit for storing the debug symbols, simply because you can not efficiently extract an file from the middle of a gz compressed stream. .zip works perfectly fine for debug symbol archives though.

The 4th requirement in combination with the perfomance constraints means that you do have to make a trade-off between having to store the binaries twice, or serving from an inefficient container! Conan packages - once installed into the cache - can behave different, but that's unrelated to how the conan center as a web-service can handle this.

Building a Windows world compatible symbol index over either dedicated symbol packages or conan archives with embedded link time debug symbols is actually surprisingly simple.

Just a simple POC: https://gist.github.com/Ext3h/1c2125ba838b8cb4ac88b1555ba78ba9 In case you can utilize python, that should already cover half of your development efforts on the PDB related side ;) The other half is the data model to hold the index.

The only tricky part is to keep the archive itself, as well as the symbol index in sync with any possible de-published binary package. So some database backend integration is mandatory.

There is no pure conan equivalent here, but it integrates really well with downstream Artifactory instances too. Said ahead - the Artifactory integrated PDB support is purely nuget focused so far so we can't use it at all, yet.

However, implementing a dedicated symbol indexing service which maps Symbol-Hashes from https://your.symbolserver/<file_name>/<hash>/<file_name> to a proxy request to https://your.artifactory/repo/sideloaded_debug_package.zip!bin/<file_name> is almost trivial. Just take above POC, crawl your Artifactory via API, download to temp files, index once, persist your index, and start serving. Works fine with authentication or forwarded API keys too!

Have your developers set up their _NT_SYMBOL_PATH environment variable once, and have pretty much every symbol aware debugger or profiler work out of the box. It's all cached by default, so the server load is pretty acceptable once local cache are building up.

Well, almost all is cached. Beware that cache misses are not cached. So a symbol not served by anyone is searched over and over again. Site local caches still recommended.

What about Linux?

That's actually a lot more tricky. The biggest constraint here is that dear old GDB only has support for locating debug symbols in local paths, but is completely missing the ability to specify an upstream server and to cache anything from it.

Of course you can also just side-load a symbol package, but you need to merge it into a local symbol index. And you need to deal with collisions on file names, which only works in the first place when the build-id section was filled in during compilation. Otherwise you are forced to mirror the file system structure which you can't do for a centralized service. gnu_debuglink extension work too, but you will need to manually prefix the paths with package-dependent unique hashes.

I had explored the approach of using WebDAV with davfs to mount a symbol server, but you are reliant on the user configuring aggressive caching policies. And you can't even force the file system to cache file metadata beyond a reboot, so there is no way of providing a symbol server suitable for mounting as a public Internet service. You would be forced to run a site-local caching proxy in front of it, which explicitly needs to cache misses and PROPFIND requests as well.

tsondergaard commented 2 years ago

@Ext3h thanks for the extensive update which I largely agree with. A couple of comments:

Tbh.: Releasing software built with CMakes definition of Release into the world is pretty much suicidal, as you are declaring already at compile time that you will never be able to analyze any crashes at all. Consider that almost all commercial software out there comes equipped with either integrated crash dump handling, or is registered with Windows integrated functionalities for a good reason. You actively prevent yourself from applying any text-book defensive programming techniques such as fail-fast.

I agree :100:!

Always keep in mind that CMake support for Windows was an afterthought

Not fair. Visual Studio has been supported by CMake for more than 20 years. Windows is a first class platform in CMake.

Even Release type builds should have compile time debug symbols. This goes against CMakes definition of Release builds but is a perfect match with Microsofts definition of Release builds.

I believe CMake took the Debug, Release, and RelWithDebInfo names from Visual Studio and if you go back far enough, perhaps to Visual Studio 2005 or thereabouts then the Visual studio "Release" build did not include debug-info.

At the same time CMakes RelWithDebInfo is equally a bad choice as you have been disabling about half of the possible compiler optimizations.

That sounds very bad and also not correct to me. I looked and found https://github.com/Kitware/CMake/blob/master/Modules/Platform/Windows-MSVC.cmake#L456 where the only difference I see is /Ob1 vs /Ob2. I was very surprised to see this difference and have no idea why there is that difference. More restrictive inlining could have a significant impact on performance.

That's actually a lot more tricky. The biggest constraint here is that dear old GDB only has support for locating debug symbols in local paths, but is completely missing the ability to specify an upstream server and to cache anything from it.

This is no longer true. debuginfod exists and gdb in e.g. Fedora 36 has it enabled and will use it to pull debug symbols for distro libraries - it is no longer necessary to yum/dnf install debuginfo packages.

rconde01 commented 2 years ago

At the same time CMakes RelWithDebInfo is equally a bad choice as you have been disabling about half of the possible compiler optimizations.

That sounds very bad and also not correct to me. I looked and found https://github.com/Kitware/CMake/blob/master/Modules/Platform/Windows-MSVC.cmake#L456 where the only difference I see is /Ob1 vs /Ob2. I was very surprised to see this difference and have no idea why there is that difference. More restrictive inlining could have a significant impact on performance.

See https://gitlab.kitware.com/cmake/cmake/-/issues/20812.

I do the following in my cmake root:

if(MSVC)
   # ---- Fix RelWithDebInfo flags ----
   # * https://gitlab.kitware.com/cmake/cmake/-/issues/20812
   # * Note O2 implies Gy so it is not added here
   # * https://docs.microsoft.com/en-us/cpp/build/reference/o1-o2-minimize-size-maximize-speed?view=msvc-160
   # * Note Ob3 gives more aggressive inlining and is an optimization, and not really a
   #   fix.
   set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "/DNDEBUG /O2 /Ob3 /Zi")
   set(CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
       "/DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF"
   )
   set(CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO "/DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF")

But as I was reading this thread I realized I should be trying to handle this for packages as well :(

Ext3h commented 2 years ago

This is no longer true. debuginfod exists and gdb in e.g. Fedora 36 has it enabled and will use it to pull debug symbols for distro libraries - it is no longer necessary to yum/dnf install debuginfo packages.

Thank you very much, I completely missed out on that development. Looks like setting build ID tags is the way to go then, and the web facing API is simple enough to implement 👍